Skip to content

Commit ccbb364

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 ccbb364

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

knip.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/knip@5/schema.json",
33
"includeEntryExports": true,
44
"ignoreExportsUsedInFile": true,
5-
"ignoreBinaries": ["simple-git-hooks", "lint-staged", "lex"],
5+
"ignoreBinaries": ["simple-git-hooks", "lint-staged"],
66
"ignore": ["shared/types/lexicons/**"],
77
"workspaces": {
88
".": {
@@ -28,7 +28,6 @@
2828
"server/**/*.ts!",
2929
"shared/**/*.ts!",
3030
"test/**/*.ts",
31-
"tests/**/*.ts",
3231
"lunaria/**/*.ts",
3332
"modules/**/*.ts!",
3433
"i18n/**/*.ts!"

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)