-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(react): add migration to install @nrwl/webpack if needed by Story… #14480
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Great one @jaysoo - any idea if we should also patch the generators to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Added a small comment, but maybe it's overengineering in this case.
let shouldInstall = false; | ||
|
||
for (const [, config] of projects) { | ||
let sbConfigPath = joinPathFragments(config.root, '.storybook/main.ts'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally, instead of joinPathFragments(config.root, '.storybook/main.ts')
it should look for the storybook target (by searching for the @nrwl/storybook:storybook
executor) and get the configDir
, but I guess it's overengineering in this case. So I think it looks good.
6c0ffb0
to
b1e6420
Compare
5a5c0e6
to
9b17a04
Compare
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
…book
Current Behavior
Expected Behavior
Related Issue(s)
Fixes #14455