-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathmigration-storybook.log
122 lines (111 loc) · 6.81 KB
/
migration-storybook.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
🔎 checking possible migrations..
⚠️ failed to check fix mdx-to-csf
Error: ❌ Unable to determine Storybook stories globs in {
"framework": {
"name": "@storybook/nextjs",
"options": {}
},
"docs": {
"autodocs": true
},
"typescript": {
"reactDocgen": "react-docgen-typescript"
},
"addons": [
"@storybook/addon-webpack5-compiler-babel",
"@chromatic-com/storybook"
]
}, skipping mdx-to-csf fix.
In Storybook 7, we have deprecated defining stories in MDX files, and consequently have changed the suffix to simply .mdx.
Now, since Storybook 8.0, we have removed support for .stories.mdx files.
We were unable to automatically migrate your 'stories' config to include any .mdx file instead of just .stories.mdx.
We suggest you make this change manually.
To learn more about this change, see: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mdx-docs-files
at Object.check (/Users/dalenguyen/.npm/_npx/5ced888ad0b53eb2/node_modules/@storybook/cli/dist/bin/index.cjs:303:1403)
at runFixes (/Users/dalenguyen/.npm/_npx/5ced888ad0b53eb2/node_modules/@storybook/cli/dist/bin/index.cjs:595:3115)
at async automigrate (/Users/dalenguyen/.npm/_npx/5ced888ad0b53eb2/node_modules/@storybook/cli/dist/bin/index.cjs:595:1807)
at async doAutomigrate (/Users/dalenguyen/.npm/_npx/5ced888ad0b53eb2/node_modules/@storybook/cli/dist/bin/index.cjs:595:453)
at async Command.<anonymous> (/Users/dalenguyen/.npm/_npx/5ced888ad0b53eb2/node_modules/@storybook/cli/dist/bin/index.cjs:665:2892)
⚠️ failed to check fix autodocs-tags
Error: ❌ Failed to remove the deprecated docs.autodocs setting from .storybook/main.js.
There is no preview config file in which to add the autodocs tag.
Please perform the migration by hand: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-docsautodocs-is-deprecated
at Object.check (/Users/dalenguyen/.npm/_npx/5ced888ad0b53eb2/node_modules/@storybook/cli/dist/bin/index.cjs:193:534)
at runFixes (/Users/dalenguyen/.npm/_npx/5ced888ad0b53eb2/node_modules/@storybook/cli/dist/bin/index.cjs:595:3115)
at async automigrate (/Users/dalenguyen/.npm/_npx/5ced888ad0b53eb2/node_modules/@storybook/cli/dist/bin/index.cjs:595:1807)
at async doAutomigrate (/Users/dalenguyen/.npm/_npx/5ced888ad0b53eb2/node_modules/@storybook/cli/dist/bin/index.cjs:595:453)
at async Command.<anonymous> (/Users/dalenguyen/.npm/_npx/5ced888ad0b53eb2/node_modules/@storybook/cli/dist/bin/index.cjs:665:2892)
╭ Migration check ran with failures ───────────────╮
│ │
│ Failed migrations: │
│ │
│ mdx-to-csf: │
│ ❌ Unable to determine Storybook stories │
│ globs in { │
│ "framework": { │
│ "name": "@storybook/nextjs", │
│ "options": {} │
│ }, │
│ "docs": { │
│ "autodocs": true │
│ }, │
│ "typescript": { │
│ "reactDocgen": "react-docgen-typescript" │
│ }, │
│ "addons": [ │
│ "@storybook/addon-webpack5-compiler-babel", │
│ "@chromatic-com/storybook" │
│ ] │
│ }, skipping mdx-to-csf fix. │
│ │
│ In Storybook 7, we have deprecated defining │
│ stories in MDX files, and consequently have │
│ changed the suffix to simply .mdx. │
│ │
│ Now, since Storybook 8.0, we have removed │
│ support for .stories.mdx files. │
│ │
│ We were unable to automatically migrate your │
│ 'stories' config to include any .mdx file │
│ instead of just .stories.mdx. │
│ We suggest you make this change manually. │
│ To learn more about this change, see: │
│ https://github.com/storybookjs/storybook/blo │
│ b/next/MIGRATION.md#mdx-docs-files │
│ autodocs-tags: │
│ ❌ Failed to remove the deprecated │
│ docs.autodocs setting from │
│ .storybook/main.js. │
│ │
│ There is no preview config file in which to │
│ add the autodocs tag. │
│ │
│ Please perform the migration by hand: │
│ https://github.com/storybookjs/storybook/blo │
│ b/next/MIGRATION.md#mainjs-docsautodocs-is-d │
│ eprecated │
│ │
│ You can find the full logs in │
│ /Users/dalenguyen/projects/github/dalenguyen │
│ .github.io/migration-storybook.log │
│ │
│ ──────────────────────────────────────────── │
│ ───── │
│ │
│ If you'd like to run the migrations again, │
│ you can do so by running 'npx storybook │
│ automigrate' │
│ │
│ The automigrations try to migrate common │
│ patterns in your project, but might not │
│ contain everything needed to migrate to the │
│ latest version of Storybook. │
│ │
│ Please check the changelog and migration │
│ guide for manual migrations and more │
│ information: https://storybook.js.org/docs/m │
│ igration-guide │
│ And reach out on Discord if you need help: │
│ https://discord.gg/storybook │
│ │
╰──────────────────────────────────────────────────╯