Skip to content

feat(version): throw error when webpack 2 is installed#157

Merged
kentcdodds merged 1 commit intomasterfrom
pr/warning
Mar 24, 2017
Merged

feat(version): throw error when webpack 2 is installed#157
kentcdodds merged 1 commit intomasterfrom
pr/warning

Conversation

@kentcdodds
Copy link
Collaborator

I think I'll just merge this if the build passes.

Closes #152

BREAKING CHANGE: webpack v2 is not supported and now there will be a
message when you're using webpack v2 with webpack-validator.

Closes #152

BREAKING CHANGE: webpack v2 is not supported and now there will be a
message when you're using webpack v2 with webpack-validator.
@codecov-io
Copy link

Codecov Report

Merging #157 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #157   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          19     19           
  Lines         153    164   +11     
=====================================
+ Hits          153    164   +11
Impacted Files Coverage Δ
src/index.js 100% <100%> (ø) ⬆️

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 6c7cc40...f90b2be. Read the comment docs.

"webpack": "*",
"webpack-md5-hash": "*",
"webpack-notifier": "*",
"webpack": "^1",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Our build was breaking due to all of these * version ranges.

@kentcdodds
Copy link
Collaborator Author

I should probably say that my attitude toward this library is very much: "Let's stop maintaining this." I don't want people using this thing anymore. If it doesn't work for someone's use-case then they can fork. Let's all just move on.

@kentcdodds
Copy link
Collaborator Author

I'll go ahead and wait for someone to merge this.

@bebraw
Copy link
Contributor

bebraw commented Mar 24, 2017

Yeah. I think the sanest option is to release a final version that's webpack 1 only and state clearly the package has been discontinued since webpack 2 implements the same functionality. I doubt there's a lot of interest in maintaining this package anymore. It would be more worthwhile to improve webpack core validation instead.

@kentcdodds
Copy link
Collaborator Author

Agreed. I'll merge this and a major version will be published which wont work with webpack 2 at all, so people will know. Thanks everyone for working on this! It was a good run :D

@kentcdodds kentcdodds merged commit f0721d1 into master Mar 24, 2017
@kentcdodds kentcdodds deleted the pr/warning branch March 24, 2017 15:28
@jonathanglasmeyer
Copy link
Collaborator

👍🏻 totally agreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants