Skip to content

Conversation

@bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Oct 19, 2017

After some discussion, the team has decided not to automatically increment the react version specified by project peerDependencies when we release minor updates. This PR removes that logic from the release script.

(Going forward, we'll have to rely on Flow to notify us of upcoming changes and manually update the dependency before running the release script.)

Resolves #11278

Copy link
Collaborator

@gaearon gaearon left a comment

Choose a reason for hiding this comment

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

Can we make it explicitly set ^major.0.0? In case somebody updates by mistake. Or for 17 etc.

@bvaughn
Copy link
Contributor Author

bvaughn commented Oct 20, 2017

Sure. Easy enough.

@bvaughn
Copy link
Contributor Author

bvaughn commented Oct 20, 2017

Okay. I updated it to only adjust the peer dependency if the major versions don't match (allowing us to still manually bump the minor/bugfix if we choose to).

Also updated the path for ReactVersion.js since it got moved recently.

@bvaughn bvaughn merged commit fa5adb3 into facebook:master Oct 20, 2017
@bvaughn bvaughn deleted the release-script-peer-deps-tweak branch October 20, 2017 15:53
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.

3 participants