Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.22.0
24.13.1
10 changes: 7 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[js]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": false
},
"[ts]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": false
},
"css.validate": false,
"[css]": {
"editor.formatOnSave": false
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit"
"source.fixAll.eslint": "explicit"
},
"files.watcherExclude": {
"**/.git/objects/**": true,
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body>
<body
class="text-white bg-linear-45 data-[interval=work]:from-amber-800 data-[interval=work]:to-amber-700 data-[interval=short-break]:from-teal-800 data-[interval=short-break]:to-teal-700 data-[interval=long-break]:from-green-700 data-[interval=long-break]:to-green-600 from-gray-700 to-gray-600">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
Expand Down
11 changes: 11 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pre-commit:
parallel: true
commands:
lint:
glob: '*.{js,ts,vue}'
run: pnpm eslint {staged_files}

format:
glob: '*.{css,html,json,md,yaml,yml}'
run: pnpm prettier --write {staged_files}
stage_fixed: true
34 changes: 18 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,41 @@
"dev:test": "vite dev --port 8888 --mode=test",
"test": "playwright test"
},
"packageManager": "pnpm@9.15.9",
"packageManager": "pnpm@10.29.3",
"engines": {
"node": ">=20.11.1",
"pnpm": "^9.0.0"
"node": ">=24.13.1",
"pnpm": "^10.29.3"
},
"dependencies": {
"@vueuse/core": "13.9.0",
"@vueuse/core": "14.2.1",
"pinia": "3.0.4",
"uid": "2.0.2",
"vue": "3.5.27",
"vue": "3.5.28",
"vue-types": "6.0.0"
},
"devDependencies": {
"@eslint/js": "9.39.2",
"@eslint/js": "10.0.1",
"@iconify-json/zondicons": "1.2.2",
"@playwright/test": "^1.52.0",
"@tailwindcss/vite": "4.1.18",
"@tailwindcss/vite": "4.2.0",
"@types/node": "22.19.7",
"@vitejs/plugin-vue": "6.0.3",
"@vue/compiler-sfc": "3.5.27",
"eslint": "9.39.2",
"@vitejs/plugin-vue": "6.0.4",
"@vue/compiler-sfc": "3.5.28",
"eslint": "10.0.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-vue": "10.7.0",
"eslint-plugin-vue": "10.8.0",
"prettier": "3.8.1",
"prettier-plugin-tailwindcss": "0.7.2",
"tailwindcss": "4.1.18",
"tailwindcss": "4.2.0",
"typescript": "5.9.3",
"typescript-eslint": "8.54.0",
"vite": "npm:rolldown-vite@latest",
"typescript-eslint": "8.56.0",
"unplugin-icons": "23.0.1",
"vite": "npm:rolldown-vite@7.3.1",
"vite-plugin-pwa": "1.2.0",
"vite-svg-loader": "5.1.0",
"vue-eslint-parser": "10.2.0",
"vue-tsc": "2.2.12"
"vue-eslint-parser": "10.4.0",
"vue-tsc": "3.2.4"
},
"prettier": {
"plugins": [
Expand Down
1 change: 1 addition & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default defineConfig({
reporter: 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
headless: true,
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: 'http://localhost:8888',

Expand Down
Loading