Content-Length: 399427 | pFad | https://github.com/webpack/webpack-cli/pull/309

B2 Clean up dependencies by billyjanitsch · Pull Request #309 · webpack/webpack-cli · GitHub
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

Clean up dependencies #309

Merged
merged 1 commit into from
Mar 8, 2018
Merged

Clean up dependencies #309

merged 1 commit into from
Mar 8, 2018

Conversation

billyjanitsch
Copy link
Member

What kind of change does this PR introduce?

A general clean-up of dependencies.

Did you add tests for your changes? If relevant, did you update the documentation?

No, but I'm happy to if you'd like.

Summary

  • Remove unnecessary dependency on global (seems to have been introduced unintentionally in fix CI coverage capturing and reporting #231, probably from running npm i global pkg instead of npm i --global pkg)
  • Move codecov, which is never used at runtime, from dependencies to devDependencies (fixes Many devDependencies listed as dependencies #306)
  • Unpin dependencies on log-symbols and yargs (fixes Unpin dependencies where possible #307 -- note that this does not upgrade yargs to the latest version, which I know you don't want)
  • Remove seemingly unnecessary dependencies on recast and uglifyjs-webpack-plugin (not sure about this one, but I can't find any mentions of these in the source)

Let me know if you'd like me to back out or further discuss any of the changes individually.

Does this PR introduce a breaking change?

No. These are intended not to have any behavioral effect on the CLI.

Other information

@jsf-clabot
Copy link

jsf-clabot commented Mar 4, 2018

CLA assistant check
All committers have signed the CLA.

@webpack-bot
Copy link

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

package.json Outdated
"v8-compile-cache": "^1.1.2",
"webpack-addons": "^1.1.5",
"yargs": "9.0.1",
"yargs": "^9.0.1",
Copy link
Member

Choose a reason for hiding this comment

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

@shellscape which version was corrupted?

Choose a reason for hiding this comment

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

I believe it was 8.x, but I can't recall for sure.

Copy link
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

prettier has to be moved under devDependencies

"mkdirp": "^0.5.1",
"p-each-series": "^1.0.0",
"p-lazy": "^1.0.0",
"prettier": "^1.5.3",
"recast": "^0.14.4",
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't use recast inside the code? :O

Copy link
Member Author

Choose a reason for hiding this comment

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

No, a recast object is passed around but it looks like it's created by jscodeshift (which has its own dependency on a different version of recast)

Copy link
Contributor

Choose a reason for hiding this comment

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

Great! Thanks

@billyjanitsch
Copy link
Member Author

@ematipico prettier is used in lib code, I think to format webpack configs that it outputs?

Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

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

Let's update yargs and you're set 🎉

@webpack-bot
Copy link

@billyjanitsch Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@ematipico Please review the new changes.

@billyjanitsch
Copy link
Member Author

Done! I also refreshed the package-lock.json, but I can revert that if you'd prefer.

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.

Unpin dependencies where possible Many devDependencies listed as dependencies
6 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/webpack/webpack-cli/pull/309

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy