-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Core: Remove start-/build-storybook from all frameworks #17899
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit dd2e9af. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
@@ -49,7 +49,7 @@ export const getConfig: WebpackBuilder['getConfig'] = async (options) => { | |||
...options, | |||
babelOptions, | |||
typescriptOptions, | |||
[`${options.framework}Options`]: frameworkOptions, | |||
frameworkOptions: framework?.options, |
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.
Need to:
- update
framework-preset-react
to useframeworkOptions
instead ofreactOptions
- update angular, etc.
- Add a MIGRATION.md note
- Update vite builder Fix vite builder to use
framework.options
for 7.0 #18059
@@ -12,6 +13,7 @@ export const build = async (cliOptions: any) => { | |||
docsMode: !!cliOptions.docs, | |||
configType: 'PRODUCTION', | |||
cache, | |||
packageJson: readUpSync({ cwd: __dirname }).packageJson, |
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.
This should be the framework's package.json => #18058
Issue: N/A
What I did
This PR builds on #17898 to remove
start-storybook
andbuild-storybook
from all framework packages.Users should now use
sb dev
andsb build
instead.How to test