Skip to content

Commit c0dc5be

Browse files
committed
chore: remove un(directly)used dependency and cleanup Knip config
vite-plugin-pwa is indeed used but it's a @vite-pwa/nuxt dependency, no need to declare it directly at top level. I then followed Knip configuration hints to clean it up. ``` Configuration hints (5) nuxt docs …ip.json Remove from ignoreDependencies …mple-git-hooks …ip.json Remove from ignoreBinaries lint-staged …ip.json Remove from ignoreBinaries lex …ip.json Remove from ignoreBinaries tests/**/*.ts …ip.json Refine project pattern (no mat… ```
1 parent 0d06026 commit c0dc5be

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

knip.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"$schema": "https://unpkg.com/knip@5/schema.json",
33
"includeEntryExports": true,
44
"ignoreExportsUsedInFile": true,
5-
"ignoreBinaries": ["simple-git-hooks", "lint-staged", "lex"],
65
"ignore": ["shared/types/lexicons/**"],
76
"workspaces": {
87
".": {
@@ -28,7 +27,6 @@
2827
"server/**/*.ts!",
2928
"shared/**/*.ts!",
3029
"test/**/*.ts",
31-
"tests/**/*.ts",
3230
"lunaria/**/*.ts",
3331
"modules/**/*.ts!",
3432
"i18n/**/*.ts!"
@@ -54,7 +52,7 @@
5452
},
5553
"docs": {
5654
"entry": ["app/app.config.ts"],
57-
"ignoreDependencies": ["docus", "better-sqlite3", "nuxt"]
55+
"ignoreDependencies": ["docus", "better-sqlite3"]
5856
}
5957
}
6058
}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"typescript": "5.9.3",
107107
"unocss": "66.6.0",
108108
"unplugin-vue-router": "0.19.2",
109-
"vite-plugin-pwa": "1.2.0",
110109
"vite-plus": "0.0.0-833c515fa25cef20905a7f9affb156dfa6f151ab",
111110
"vitest": "npm:@voidzero-dev/vite-plus-test@0.0.0-833c515fa25cef20905a7f9affb156dfa6f151ab",
112111
"vitest-environment-nuxt": "1.0.1",

pnpm-lock.yaml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)