Skip to content

Commit 98f10f2

Browse files
committed
fix: clean up knip issues
1 parent 9e9acdb commit 98f10f2

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.storybook/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { create } from 'storybook/theming/create'
22

3-
export const npmxDark = create({
3+
const npmxDark = create({
44
base: 'dark',
55

66
brandTitle: 'npmx Storybook',

knip.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ const config: KnipConfig = {
4848
/** Some components import types from here, but installing it directly could lead to a version mismatch */
4949
'vue-router',
5050

51-
/** Required by @nuxtjs/i18n at runtime but not directly imported in production code */
52-
'@intlify/shared',
53-
5451
/** Oxlint plugins don't get picked up yet */
5552
'@e18e/eslint-plugin',
5653
'eslint-plugin-regexp',
@@ -65,14 +62,7 @@ const config: KnipConfig = {
6562
},
6663
'docs': {
6764
entry: ['app/**/*.{ts,vue,css}'],
68-
ignoreDependencies: [
69-
'docus',
70-
'better-sqlite3',
71-
'@nuxtjs/mdc',
72-
'nuxt!',
73-
'@nuxt/ui',
74-
'tailwindcss',
75-
],
65+
ignoreDependencies: ['docus', 'better-sqlite3', '@nuxtjs/mdc', 'nuxt!'],
7666
},
7767
},
7868
}

0 commit comments

Comments
 (0)