forked from yext/search-ui-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
migration-storybook.log
146 lines (132 loc) ยท 30.7 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
๐ checking possible migrations..
๐ found a 'new-frameworks' migration:
โญ Automigration detected โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ We've detected your project is not fully setup with Storybook's 7 new framework format. โ
โ โ
โ Storybook 7 introduced the concept of frameworks, which abstracts configuration for renderers (e.g. React, Vue), builders (e.g. Webpack, Vite) and defaults to make integrations easier. โ
โ โ
โ Your project should be updated to use Storybook's framework: @storybook/react-webpack5. We can attempt to do this for you automatically. โ
โ โ
โ Here are the steps this migration will do to migrate your project: โ
โ - Add the following dependencies: โ
โ - * @storybook/react-webpack5 โ
โ โ
โ โ
โ To learn more about the new framework format, see: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-framework-api โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
? Do you want to run the 'new-frameworks' migration on your project? โบ (Y/n)โ Do you want to run the 'new-frameworks' migration on your project? โฆ yes
โ
Installing new dependencies: @storybook/react-webpack5
โ
Updating main.js
โ
Updating "framework" field
โ
ran new-frameworks migration
Unable to find .eslintrc config file, skipping
๐ found a 'storybook-binary' migration:
โญ Automigration detected โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ We've detected you are using Storybook 7.4.5 without Storybook's storybook binary. Starting in Storybook 7.0, it has to be installed. โ
โ โ
โ โ
โ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#start-storybook--build-storybook-binaries-removed โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
? Do you want to run the 'storybook-binary' migration on your project? โบ (Y/n)โ Do you want to run the 'storybook-binary' migration on your project? โฆ yes
โ
Adding 'storybook' as dev dependency
โ
ran storybook-binary migration
๐ found a 'sb-scripts' migration:
โญ Automigration detected โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ We've detected you are using Storybook 7.4.5 with scripts from previous versions of Storybook. โ
โ Starting in Storybook 7, the start-storybook and build-storybook binaries have changed to storybook dev and storybook build respectively. โ
โ In order to work with Storybook 7.4.5, your storybook scripts have to be adjusted to use the binary. We can adjust them for you: โ
โ โ
โ storybook โ
โ from: โ
โ start-storybook -p 6006 โ
โ to: โ
โ storybook dev -p 6006 โ
โ โ
โ build-storybook โ
โ from: โ
โ build-storybook โ
โ to: โ
โ storybook build โ
โ โ
โ In case this migration did not cover all of your scripts, or you'd like more info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#start-storybook--build-storybook-binaries-removed โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
? Do you want to run the 'sb-scripts' migration on your project? โบ (Y/n)โ Do you want to run the 'sb-scripts' migration on your project? โฆ yes
โ
Updating scripts in package.json
โ
ran sb-scripts migration
๐ found a 'incompatible-addons' migration:
โญ Manual migration detected โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Attention: We've detected that you're using the following addons in versions which are known to be incompatible with Storybook 7: โ
โ โ
โ - @storybook/[email protected] โ
โ โ
โ Please be aware they might not work in Storybook 7. Reach out to their maintainers for updates and check the following Github issue for more information: โ
โ https://github.com/storybookjs/storybook/issues/20529 โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
? Select continue once you have made the required changes, or quit to exit the migration process โบ quit / continue? Select continue once you have made the required changes, or quit to exit the migration process โบ quit / continue? Select continue once you have made the required changes, or quit to exit the migration process โบ quit / continue? Select continue once you have made the required changes, or quit to exit the migration process โบ quit / continue? Select continue once you have made the required changes, or quit to exit the migration process โบ quit / continueโ Select continue once you have made the required changes, or quit to exit the migration process โฆ quit / continue
โ ๏ธ failed to check fix mdx1to2
Error: ENAMETOOLONG: name too long, scandir '/Users/canderson/IdeaProjects/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression'
๐ found a 'autodocsTrue' migration:
โญ Automigration detected โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ We've changed the configuration of autodocs (previous docsPage), so now the value: โ
โ - docs.autodocs: true -- means automatically create docs for every CSF file โ
โ - docs.autodocs: 'tag' -- means only create autodocs for CSF files with the 'autodocs' tag โ
โ - docs.autodocs: false -- means never create autodocs โ
โ โ
โ Based on your prior configuration, we can set the `docs.autodocs` to keep your old behaviour: โ
โ โ
โ docs: { autodocs: true } โ
โ โ
โ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
? Do you want to run the 'autodocsTrue' migration on your project? โบ (Y/n)โ Do you want to run the 'autodocsTrue' migration on your project? โฆ yes
โ
Setting 'docs.autodocs' to true in main.js
โ
ran autodocsTrue migration
โญ Migration check ran with failures โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Successful migrations: โ
โ โ
โ new-frameworks, storybook-binary, sb-scripts, autodocsTrue โ
โ โ
โ Failed migrations: โ
โ โ
โ mdx1to2: โ
โ ENAMETOOLONG: name too long, scandir '/Users/canderson/IdeaProjects/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-u โ
โ i-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/ โ
โ @yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/test-site โ
โ /node_modules/@yext/search-ui-react/test-site/node_modules/@yext/search-ui-react/node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression' โ
โ โ
โ You can find the full logs in /Users/canderson/IdeaProjects/search-ui-react/migration-storybook.log โ
โ โ
โ Manual migrations: โ
โ โ
โ incompatible-addons โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ If you'd like to run the migrations again, you can do so by running 'npx storybook@next 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/migration-guides/7.0 โ
โ And reach out on Discord if you need help: https://discord.gg/storybook โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Attention: The following dependencies are duplicated which might cause unexpected behavior: โ
โ โ
โ @storybook/node-logger: โ
โ 6.5.10, 7.4.5 โ
โ โ
โ You can find more information for a given dependency by running npm ls --depth=1 <package-name> โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ