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

[breaking] [deps] Update react-with-styles and other deps #1761

Merged
merged 5 commits into from
Sep 10, 2019

Conversation

noratarano
Copy link
Contributor

@noratarano noratarano commented Aug 20, 2019

Summary

  • Update react-with-styles to latest version as well as a few other required deps.

Breaking changes:

  • [breaking][deps] Update all dependencies (drops node < 6)
  • [breaking] Set peer dep react-with-direction ^1.3.0 -> ^1.3.1
  • [breaking][deps] Move @babel/runtime to peer deps

Testing

Ran both storybooks (regular and css) and ran tests

Reviewers

@lencioni @ljharb @ahuth @indiesquidge @majapw @goatslacker

@noratarano noratarano added the semver-major: breaking change A non-backwards-compatible change; anything that breaks code - including adding a peerDep. label Aug 20, 2019
package.json Outdated Show resolved Hide resolved
const { whyDidYouUpdate } = require('why-did-you-update');
whyDidYouUpdate(React);
const whyDidYouRender = require('@welldone-software/why-did-you-render');
whyDidYouRender(React);
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 fixes a bug where there were two version of React present.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's no longer necessary, but it will save people lots of debugging time if they want to use hooks in this repo.

@coveralls
Copy link

coveralls commented Aug 20, 2019

Coverage Status

Coverage remained the same at 84.958% when pulling db4e194 on nora--update-react-with-styles into 2bf76ad on master.

@noratarano noratarano force-pushed the nora--update-react-with-styles branch from 08a3a1e to dbaa3b7 Compare August 21, 2019 00:59
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

fwiw the only potential breaking part of this is the rws update

@noratarano noratarano added semver-patch: fixes/refactors/etc Anything that's not major or minor. and removed semver-major: breaking change A non-backwards-compatible change; anything that breaks code - including adding a peerDep. labels Aug 23, 2019
@noratarano noratarano force-pushed the nora--update-react-with-styles branch from dbaa3b7 to 00dc88e Compare August 23, 2019 01:03
@noratarano
Copy link
Contributor Author

@ljharb Is it a requirement to add tests if I didn't make any changes 🤔

@noratarano noratarano force-pushed the nora--update-react-with-styles branch 3 times, most recently from 1419bc3 to fe79a98 Compare August 23, 2019 01:22
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@noratarano noratarano force-pushed the nora--update-react-with-styles branch 2 times, most recently from 38bd2b2 to 8c748cd Compare August 31, 2019 11:44
@ljharb ljharb changed the title [breaking][deps] Update all dependencies [breaking] [deps] Update all dependencies Aug 31, 2019
@ljharb
Copy link
Member

ljharb commented Aug 31, 2019

What’s the breaking change in v4 alpha 1 of r-w-s?

@noratarano noratarano force-pushed the nora--update-react-with-styles branch from 8c748cd to 1dab51a Compare September 4, 2019 22:17
package.json Show resolved Hide resolved
@noratarano noratarano force-pushed the nora--update-react-with-styles branch from 1dab51a to f671ffb Compare September 4, 2019 23:12
@noratarano noratarano added semver-major: breaking change A non-backwards-compatible change; anything that breaks code - including adding a peerDep. and removed semver-patch: fixes/refactors/etc Anything that's not major or minor. labels Sep 4, 2019
@noratarano noratarano changed the title [breaking] [deps] Update all dependencies [breaking] [deps] Update react-with-styles and other deps Sep 4, 2019
@noratarano
Copy link
Contributor Author

noratarano commented Sep 4, 2019

@ljharb The breaking change in RWS@4 is drop support for node 6, and added @babel/runtime as a peer dep.
https://github.com/airbnb/react-with-styles/blob/f7826233c6f3e994d33e200e63fd6d3f5d642e41/CHANGELOG.md#v400

@noratarano noratarano force-pushed the nora--update-react-with-styles branch from c0b3c42 to b6438b0 Compare September 9, 2019 23:43
Nora Tarano added 4 commits September 9, 2019 16:44
- Drop support for node < 6
- Update: @storybook, webpack, react-with-styles, react-with-direction,
  react-with-styles-interface-aphrodite,
  react-with-styles-interface-css,
  react-with-styles-interface-css-compiler
This is required to use react-with-styles@4.0.0
@noratarano noratarano force-pushed the nora--update-react-with-styles branch 2 times, most recently from 86875b3 to d4ea820 Compare September 9, 2019 23:58
@noratarano noratarano force-pushed the nora--update-react-with-styles branch from d4ea820 to db4e194 Compare September 9, 2019 23:59
@noratarano noratarano merged commit b1a933d into master Sep 10, 2019
@noratarano noratarano deleted the nora--update-react-with-styles branch September 10, 2019 00:39
@noratarano noratarano mentioned this pull request Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-major: breaking change A non-backwards-compatible change; anything that breaks code - including adding a peerDep.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants