Skip to content

Commit 5c6163c

Browse files
committed
chore: remove (unused) @nuxtjs/storybook
1 parent b5a8768 commit 5c6163c

8 files changed

Lines changed: 19 additions & 94 deletions

File tree

.storybook/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { StorybookConfig } from '@nuxtjs/storybook'
1+
import type { StorybookConfig } from '@storybook-vue/nuxt'
22

33
const config = {
44
stories: ['../app/**/*.stories.@(js|ts)'],
@@ -8,4 +8,5 @@ const config = {
88
backgrounds: false,
99
},
1010
} satisfies StorybookConfig
11+
1112
export default config

.storybook/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Preview } from '@nuxtjs/storybook'
1+
import type { Preview } from '@storybook-vue/nuxt'
22
import { currentLocales } from '../config/i18n'
33
import { fn } from 'storybook/test'
44
import { ACCENT_COLORS } from '../shared/utils/constants'

app/components/Button/Base.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from '@nuxtjs/storybook'
1+
import type { Meta, StoryObj } from '@storybook-vue/nuxt'
22
import Component from './Base.vue'
33

44
const meta = {

app/components/Input/Base.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from '@nuxtjs/storybook'
1+
import type { Meta, StoryObj } from '@storybook-vue/nuxt'
22
import { expect, fn, userEvent } from 'storybook/test'
33
import Component from './Base.vue'
44

docs/content/2.guide/4.storybook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ components/
5454

5555
```ts
5656
// *.stories.ts
57-
import type { Meta, StoryObj } from '@nuxtjs/storybook'
57+
import type { Meta, StoryObj } from '@storybook-vue/nuxt'
5858
import Component from './Button.vue'
5959

6060
const meta = {

knip.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ const config: KnipConfig = {
5353

5454
/** Used in test/e2e/helpers/ which is excluded from knip project scope */
5555
'h3-next',
56-
57-
/** Used in Storybook config but not explicitly installed, it's a transitive dependency of @nuxtjs/storybook */
58-
'@storybook-vue/nuxt',
5956
],
6057
ignoreUnresolved: ['#components', '#oauth/config'],
6158
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@
120120
"@e18e/eslint-plugin": "0.2.0",
121121
"@intlify/core-base": "11.2.8",
122122
"@npm/types": "2.1.0",
123-
"@nuxtjs/storybook": "^9.0.1",
124123
"@playwright/test": "1.58.2",
124+
"@storybook-vue/nuxt": "9.0.1",
125125
"@storybook/addon-a11y": "^10.2.7",
126126
"@storybook/addon-docs": "^10.2.7",
127127
"@types/node": "24.10.13",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)