Skip to content

Commit 5131302

Browse files
docs(ui): move non-config files out of .storybook directory (#2597)
1 parent 076dde1 commit 5131302

File tree

10 files changed

+5
-6
lines changed

10 files changed

+5
-6
lines changed

.storybook/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { resolve } from 'node:path'
55
const config = {
66
stories: [
77
// List welcome first in sidebar
8-
'../.storybook/docs/welcome.mdx',
9-
'../.storybook/docs/*.mdx',
8+
'../app/storybook/welcome.mdx',
109
'../app/**/*.@(mdx|stories.@(js|ts))',
1110
],
1211
addons: [

app/pages/about.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import About from './about.vue'
22
import type { Meta, StoryObj } from '@storybook-vue/nuxt'
33
import { pageDecorator } from '../../.storybook/decorators'
4-
import { contributorsHandler } from '../../.storybook/handlers'
4+
import { contributorsHandler } from '../storybook/mocks/handlers'
55

66
const meta = {
77
component: About,

app/pages/pds.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Pds from './pds.vue'
22
import type { Meta, StoryObj } from '@storybook-vue/nuxt'
33
import { pageDecorator } from '../../.storybook/decorators'
4-
import { pdsUsersHandler } from '../../.storybook/handlers'
4+
import { pdsUsersHandler } from '../storybook/mocks/handlers'
55

66
const meta = {
77
component: Pds,

app/pages/recharging.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Recharging from './recharging.vue'
22
import type { Meta, StoryObj } from '@storybook-vue/nuxt'
33
import { pageDecorator } from '../../.storybook/decorators'
4-
import { repoStatsHandler } from '../../.storybook/handlers'
4+
import { repoStatsHandler } from '../storybook/mocks/handlers'
55

66
const meta = {
77
component: Recharging,

app/pages/settings.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Settings from './settings.vue'
22
import type { Meta, StoryObj } from '@storybook-vue/nuxt'
33
import { userEvent, expect } from 'storybook/test'
44
import { pageDecorator } from '../../.storybook/decorators'
5-
import { i18nStatusHandler } from '../../.storybook/handlers'
5+
import { i18nStatusHandler } from '../storybook/mocks/handlers'
66

77
const meta = {
88
component: Settings,
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)