-
Notifications
You must be signed in to change notification settings - Fork 4.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
upgrade storybook and babel deps #9371
Conversation
@@ -4,7 +4,7 @@ import notes from './alert-banner.md'; | |||
import { withKnobs, object } from '@storybook/addon-knobs'; | |||
import { MESSAGE_TYPES } from '../addon/helpers/message-types.js'; | |||
|
|||
storiesOf('Alerts/AlertBanner/', module) |
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.
Trailing /
in story names are no longer supported, so I had to remove them.
"@ember/optional-features": "^0.7.0", | ||
"@hashicorp/structure-icons": "^1.3.0", | ||
"@storybook/ember-cli-storybook": "meirish/ember-cli-storybook#6bd58326d8c21e986d390b541ae5e49089d61b93", | ||
"@storybook/ember-cli-storybook": "^0.2.1", |
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.
note that we no longer need to use the forked version of ember-cli-storybook
since the updated version includes the bugfix we were waiting for!
@@ -40,9 +40,10 @@ | |||
}, | |||
"devDependencies": { | |||
"@babel/plugin-proposal-object-rest-spread": "^7.5.5", | |||
"@babel/plugin-transform-block-scoping": "^7.10.4", |
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 was the missing dependency that caused make static-dist
to fail. we can likely remove this after upgrading to Octane.
"@storybook/addons": "^5.1.10", | ||
"@storybook/ember": "^5.1.10", | ||
"babel-loader": "^8.0.6", | ||
"@babel/core": "^7.10.4", |
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.
i updated the rest of our babel dependencies since we were starting to fall behind anyway.
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.
Woohooooo!
This PR updates our Storybook and Babel dependencies. Solves #9315.
Testing
Checkout this PR and run
make static-dist
. The build should not fail.As an added benefit we'll get all the features of Storybook 5.3, which includes docs & MDX support