Skip to content

Commit

Permalink
refactor: use vite and use property decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-michel committed Jul 3, 2024
1 parent 469404f commit 44f8769
Show file tree
Hide file tree
Showing 28 changed files with 1,964 additions and 1,100 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build-prod
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down
26 changes: 24 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
/node_modules
/dist/js
# 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 .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"useTabs": true
}
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"runOn": "folderOpen"
},
"label": "npm: watch",
"detail": "tsc --watch"
"detail": "tsc --watch --noEmit"
}
]
}
}
25 changes: 0 additions & 25 deletions dist/index.html

This file was deleted.

14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Passphrase Generator</title>
<link rel="stylesheet" href="./src/global.css" />
<script type="module" src="./src/components/app.ts"></script>
</head>
<body>
<app-root></app-root>
</body>
</html>
Loading

0 comments on commit 44f8769

Please sign in to comment.