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

Don't use exact versions in peerDependencies #3073

Merged
merged 3 commits into from
Feb 27, 2018
Merged

Conversation

Hypnosphi
Copy link
Member

Issue: dependencies.io broke our peerDependencies with commits like this, setting them to exact version. This makes those peerDeps quite useless
3bfbc7a#diff-4c0bffca46303f18a36ec22ddc6e5755R85

Related issue for dependencies.io: https://github.com/dependencies-io/actor-js-lerna/issues/39

@Hypnosphi Hypnosphi added dependencies react-native vue patch:yes Bugfix & documentation PR that need to be picked to main branch labels Feb 24, 2018
@codecov
Copy link

codecov bot commented Feb 25, 2018

Codecov Report

Merging #3073 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3073   +/-   ##
=======================================
  Coverage   36.08%   36.08%           
=======================================
  Files         438      438           
  Lines        9447     9447           
  Branches      891      875   -16     
=======================================
  Hits         3409     3409           
- Misses       5456     5498   +42     
+ Partials      582      540   -42
Impacted Files Coverage Δ
app/react-native/src/bin/storybook.js 0% <0%> (ø) ⬆️
addons/info/src/components/makeTableComponent.js 67.46% <0%> (ø) ⬆️
addons/info/src/components/types/OneOfType.js 60% <0%> (ø) ⬆️
...tories_panel/stories_tree/tree_decorators_utils.js 45.23% <0%> (ø) ⬆️
lib/ui/src/modules/ui/components/search_box.js 36.36% <0%> (ø) ⬆️
lib/ui/src/libs/key_events.js 33.96% <0%> (ø) ⬆️
...tions/src/lib/types/function/createFunctionEval.js 77.77% <0%> (ø) ⬆️
addons/actions/src/lib/util/getPropertiesList.js 60% <0%> (ø) ⬆️
addons/jest/src/components/PanelTitle.js 0% <0%> (ø) ⬆️
lib/ui/src/libs/withLifecycleDecorator.js 17.14% <0%> (ø) ⬆️
... and 58 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eeb1885...29d7bd4. Read the comment docs.

@@ -72,6 +72,6 @@
"babel-core": "^6.26.0 || ^7.0.0-0",
"babel-runtime": ">=6.0.0",
"react": "*",
"react-native": "0.52.2"
"react-native": ">=0.51.0"
Copy link
Member

Choose a reason for hiding this comment

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

rn is actually pretty tricky to upgrade. it needs matched versions of all the tooling as well for everything to bundle, compile, and work. I still think this is the right move though.

@Hypnosphi Hypnosphi merged commit 03cce7a into master Feb 27, 2018
@Hypnosphi Hypnosphi deleted the peer-deps-wildcard branch February 27, 2018 17:16
@Hypnosphi Hypnosphi added patch:done Patch/release PRs already cherry-picked to main/release branch and removed patch:done Patch/release PRs already cherry-picked to main/release branch labels Mar 6, 2018
Hypnosphi added a commit that referenced this pull request Mar 6, 2018
Don't use exact versions in peerDependencies
# Conflicts:
#	app/react-native/package.json
#	app/vue/package.json
@Hypnosphi Hypnosphi added the patch:done Patch/release PRs already cherry-picked to main/release branch label Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch react-native vue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants