-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmigration-storybook.log
57 lines (50 loc) · 6.8 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
🔎 checking possible migrations..
🔎 found a 'webpack5-compiler-setup' migration:
╭ Migration notification ─────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Storybook now detects whether it should use Babel or SWC as a compiler by applying the same logic as Next.js │
│ itself: │
│ │
│ - If you have a .babelrc (or babel.config.js) file in your project, Storybook will use Babel as the compiler. │
│ - If you have a .babelrc (or babel.config.js) file in your project and you have set │
│ experimental.forceSwcTransforms = true in your next.config.js file, │
│ Storybook will use SWC as the compiler. │
│ - If you don't have a .babelrc (or babel.config.js) file in your project, Storybook will use SWC as the │
│ compiler. │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
⚠️ 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 (/private/var/folders/q6/_1kzddxj7b9ggvf5j7_sxwv80000gn/T/xfs-e9acc5f3/dlx-22745/node_modules/storybook/dist/generate.cjs:586:542)
at runFixes (/private/var/folders/q6/_1kzddxj7b9ggvf5j7_sxwv80000gn/T/xfs-e9acc5f3/dlx-22745/node_modules/storybook/dist/generate.cjs:663:2922)
at async automigrate (/private/var/folders/q6/_1kzddxj7b9ggvf5j7_sxwv80000gn/T/xfs-e9acc5f3/dlx-22745/node_modules/storybook/dist/generate.cjs:663:1620)
at async doAutomigrate (/private/var/folders/q6/_1kzddxj7b9ggvf5j7_sxwv80000gn/T/xfs-e9acc5f3/dlx-22745/node_modules/storybook/dist/generate.cjs:663:636)
at async Command.<anonymous> (/private/var/folders/q6/_1kzddxj7b9ggvf5j7_sxwv80000gn/T/xfs-e9acc5f3/dlx-22745/node_modules/storybook/dist/generate.cjs:739:2867)
╭ Migration check ran with failures ──────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Failed migrations: │
│ │
│ 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/blob/next/MIGRATION.md#mainjs-docsautodocs-is-deprecated │
│ │
│ You can find the full logs in /Users/matthys/Documents/Github/github-dev/weshipit.today/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/8.0/migration-guide │
│ And reach out on Discord if you need help: https://discord.gg/storybook │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯