Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

chore: Allow Webpack v3.x as a peerDependency #85

Merged
merged 2 commits into from
Aug 8, 2017
Merged

chore: Allow Webpack v3.x as a peerDependency #85

merged 2 commits into from
Aug 8, 2017

Conversation

fb55
Copy link
Contributor

@fb55 fb55 commented Jul 25, 2017

No description provided.

@jsf-clabot
Copy link

jsf-clabot commented Jul 25, 2017

CLA assistant check
All committers have signed the CLA.

@danez
Copy link

danez commented Aug 3, 2017

@TrySound @d3viant0ne Can we merge this and release a new patch version? I know it is part of #81, but it seems that #81 probably needs some more time and this change is really simple :)

@michael-ciniawsky michael-ciniawsky changed the title Add webpack@3 as an allowed peerDependency chore(package): add webpack v3.0.0 (peerDependencies) Aug 3, 2017
package.json Outdated
@@ -28,7 +28,7 @@
}
},
"peerDependencies": {
"webpack": ">=0.9 <2 || ^2.1.0-beta || ^2.2.0"
"webpack": ">=0.9 <2 || ^2.1.0-beta || >=2.2.0 <4"
Copy link
Member

Choose a reason for hiding this comment

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

^1.0.0 || ^2.0.0 || ^3.0.0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That would include 2.0.x again and disallow 0.9, which I'd consider a breaking change (semver major).

Copy link
Member

Choose a reason for hiding this comment

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

There was never a 2.0.x the first release without -beta was v2.2.0 to my knowledge. Yep for the >= 0.9 if really needed just >= 0.9 || ^1.0.0 || ^2.0.0 || ^3.0.0 then imho

Copy link
Member

@michael-ciniawsky michael-ciniawsky Aug 3, 2017

Choose a reason for hiding this comment

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

or >= 0.9 < 4 or even just < 4 ?

Copy link
Member

@joshwiens joshwiens Aug 8, 2017

Choose a reason for hiding this comment

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

@danez - Yes, we can land a quick patch.

@mikegreiling
Copy link

@TrySound @d3viant0ne Can we merge this and release a new patch version? I know it is part of #81, but it seems that #81 probably needs some more time and this change is really simple :)

yes, please! adding this in a patch release means we won't have to bug libs that depend on worker-loader to update their dependency version. (for us it's https://github.com/mozilla/pdfjs-dist)

@joshwiens joshwiens self-assigned this Aug 8, 2017
Copy link
Member

@joshwiens joshwiens left a comment

Choose a reason for hiding this comment

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

@fb55 - Set the peerDependencies to "webpack": ">=0.9 || ^2.0.0 || ^3.0.0"

For reference ...

  • We can't drop the >=0.9 without a semver:Major regardless of the fact it's no longer supported, this will be taken care of with refactor: apply webpack-defaults #81.
  • Beta / rc versions are no longer supported once the associated major version is published on the latest dist-tag and shouldn't be in the peerDependency range.

@joshwiens joshwiens changed the title chore(package): add webpack v3.0.0 (peerDependencies) chore: Allow Webpack v3.x as a peerDependency Aug 8, 2017
@joshwiens joshwiens merged commit aa2cccc into webpack-contrib:master Aug 8, 2017
@renchap
Copy link
Contributor

renchap commented Aug 15, 2017

@d3viant0ne any plans to publish this version on NPM?

@renchap
Copy link
Contributor

renchap commented Aug 23, 2017

@d3viant0ne Friendly bump as you took care of webpack-contrib/coffee-loader#39

You merged Webpack 3 support but did not release on NPM, preventing users to upgrade to Webpack 3 (corresponding issue: #75)

Thanks! 🍰

@ianks
Copy link

ianks commented Aug 29, 2017

yes @d3viant0ne please create a release :)

@fb55 fb55 deleted the patch-1 branch August 30, 2017 04:38
@davidagee
Copy link

any update on releasing this? We're currently blocked on shrinkwrapping a release due to npm ...interesting... behavior wrt peerDependencies and shrinkwrap, and can't update npm until after this release. Bit of a catch-22.

@HillLiu HillLiu mentioned this pull request Sep 24, 2017
TheLD6978 pushed a commit to TheLD6978/worker-loader that referenced this pull request Apr 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants