Skip to content

Commit

Permalink
refs #279 prepare svelte site
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrinth committed Mar 11, 2024
1 parent 2d9e2dd commit 4cdf5e7
Show file tree
Hide file tree
Showing 19 changed files with 2,070 additions and 3 deletions.
16 changes: 16 additions & 0 deletions history-website/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
env: {
browser: true,
es2020: true
},
extends: [
],
ignorePatterns: [
'dist',
'.eslintrc.cjs',
'node_modules',
],
plugins: [],
rules: {
},
};
24 changes: 24 additions & 0 deletions history-website/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
3 changes: 3 additions & 0 deletions history-website/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-standard"
}
2 changes: 1 addition & 1 deletion history-website/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @idrinth/api-bench/history
# @idrinth/api-bench/history/ui

## Description

Expand Down
16 changes: 16 additions & 0 deletions history-website/cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import {
defineConfig,
} from 'cypress';
import task from '@cypress/code-coverage/task';
import useBabelRC from '@cypress/code-coverage/use-babelrc';

export default defineConfig({
e2e: {
setupNodeEvents(on, config,) {
task(on, config,);
on('file:preprocessor', useBabelRC,);
return config;
},
baseUrl: 'http://localhost:8080',
},
},);
13 changes: 13 additions & 0 deletions history-website/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Svelte + TS</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading

0 comments on commit 4cdf5e7

Please sign in to comment.