Skip to content
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

Merged
merged 3 commits into from
Jul 1, 2020
Merged

upgrade storybook and babel deps #9371

merged 3 commits into from
Jul 1, 2020

Conversation

andaley
Copy link
Contributor

@andaley andaley commented Jul 1, 2020

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

@@ -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)
Copy link
Contributor Author

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",
Copy link
Contributor Author

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",
Copy link
Contributor Author

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",
Copy link
Contributor Author

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.

Copy link
Contributor

@chelshaw chelshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woohooooo!

@andaley andaley added the ui label Jul 1, 2020
@andaley andaley modified the milestones: 1.5, 1.4.3 Jul 1, 2020
@andaley andaley closed this Jul 1, 2020
@andaley andaley reopened this Jul 1, 2020
@andaley andaley merged commit f9f43d1 into master Jul 1, 2020
@andaley andaley deleted the fix-make-static-dist branch July 1, 2020 23:28
andaley pushed a commit that referenced this pull request Jul 1, 2020
andaley pushed a commit that referenced this pull request Jul 2, 2020
andaley pushed a commit that referenced this pull request Jul 2, 2020
* upgrade storybook and babel deps (#9371)

* fix linting errors
andaley pushed a commit that referenced this pull request Jul 2, 2020
@andaley andaley modified the milestones: 1.4.3, 1.4.4 Jul 2, 2020
andaley pushed a commit that referenced this pull request Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants