Skip to content

Commit 53e06c0

Browse files
committed
chore(knip): remove unneeded entry and ignoreDependencies from knip config
1 parent 0d952fa commit 53e06c0

3 files changed

Lines changed: 106 additions & 112 deletions

File tree

knip.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ const config: KnipConfig = {
44
workspaces: {
55
'.': {
66
entry: [
7-
'app/router.options.ts!',
8-
'app/app.vue!',
9-
'app/error.vue!',
107
'app/pages/**/*.vue!',
118
'app/components/**/*.vue!',
129
'app/components/**/*.d.vue.ts!',
@@ -48,9 +45,6 @@ const config: KnipConfig = {
4845
/** Some components import types from here, but installing it directly could lead to a version mismatch */
4946
'vue-router',
5047

51-
/** Required by @nuxtjs/i18n at runtime but not directly imported in production code */
52-
'@intlify/shared',
53-
5448
/** Oxlint plugins don't get picked up yet */
5549
'@e18e/eslint-plugin',
5650
'eslint-plugin-regexp',
@@ -65,14 +59,7 @@ const config: KnipConfig = {
6559
},
6660
'docs': {
6761
entry: ['app/**/*.{ts,vue,css}'],
68-
ignoreDependencies: [
69-
'docus',
70-
'better-sqlite3',
71-
'@nuxtjs/mdc',
72-
'nuxt!',
73-
'@nuxt/ui',
74-
'tailwindcss',
75-
],
62+
ignoreDependencies: ['docus', 'better-sqlite3', '@nuxtjs/mdc', 'nuxt!'],
7663
},
7764
},
7865
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"fast-check": "4.5.3",
146146
"h3": "1.15.5",
147147
"h3-next": "npm:h3@2.0.1-rc.14",
148-
"knip": "5.85.0",
148+
"knip": "5.86.0",
149149
"lint-staged": "16.3.1",
150150
"markdown-it-anchor": "9.2.0",
151151
"oxfmt": "0.36.0",

0 commit comments

Comments
 (0)