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

Add clean-all command to reinstall node_modules #4748

Merged
merged 1 commit into from Oct 19, 2016

Conversation

kaicataldo
Copy link
Member

@kaicataldo kaicataldo commented Oct 17, 2016

Q A
Bug fix? no
Breaking change? no
New feature? no
Deprecations? no
Spec compliancy? no
Tests added/pass? no
Fixed tickets comma-separated list of tickets fixed by the PR, if any
License MIT
Doc PR reference to the documentation PR, if any

It seems to me like there should be a make command that allows you to update outdated dependencies of packages (even if the current version satisfies the package.json for that package). I've run into the issue a few times. A good example of this is when a minor or patch version of Babylon is released, but the currently installed version satisfies the package.json for babel-core, and so the latest version isn't installed. This leads to tests failing locally while not failing in the CI tests (where everything is installed fresh).

Thoughts on this approach? I wasn't sure if it would be preferable to leave make bootstrap as is and instead have a make update-deps (which cleans the current node_modules and runs npm install again or something more explicit. Let me know if you think this should be done a different way!

@codecov-io
Copy link

codecov-io commented Oct 17, 2016

Current coverage is 88.81% (diff: 100%)

No coverage report found for master at 4b3aaae.

Powered by Codecov. Last update 4b3aaae...3ca88df

@danez
Copy link
Member

danez commented Oct 18, 2016

Should this maybe also remove the root node-modules folder?

@kaicataldo kaicataldo changed the title Add make command to delete node_modules Add clean-all command to reinstall node_modules Oct 18, 2016
@hzoo hzoo added the PR: Internal 🏠 A type of pull request used for our changelog categories label Oct 18, 2016
@hzoo hzoo merged commit 7443f9e into babel:master Oct 19, 2016
@kaicataldo kaicataldo deleted the clean-all branch October 19, 2016 13:11
mstade added a commit to zambezi/babel that referenced this pull request Oct 28, 2016
* master: (38 commits)
  chore(package): update browserify to version 13.1.1 (babel#4762)
  Increase test coverage (babel#4742)
  Make getBinding ignore labels; add Scope#getLabel, Scope#registerLabel (babel#4758)
  Add variance node type and generate property variance annotations (babel#4697)
  Add make command to delete node_modules (babel#4748)
  fixes [skip ci]
  Support ObjectExpression in static path evaluation (babel#4746)
  Fix replacing for-of if inside label (babel#4736)
  Replace `path-exists` with `fs.existsSync` (babel#4731)
  Avoid unnecessary +0 in transform-es2015-parameters (babel#4738)
  [import()] Initial support for dynamic-import (babel#4699)
  Fix line endings on checkout
  Automatically generate missing expected.js fixtures (babel#4735)
  Fix few typos in issue/pr templates (babel#4739) [skip ci]
  contributing updates [skip ci]
  increase git depth [skip ci]
  Change usage of "suite"/"test" in unit-tests to "describe"/"it" (babel#4734)
  Run ESLint on test files, and fix lint errors in test files (babel#4732)
  Add .gitattributes forcing LF line endings (babel#4730)
  Update tests for changed error messages in Babylon (babel#4727)
  ...
panagosg7 pushed a commit to panagosg7/babel that referenced this pull request Jan 17, 2017
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Internal 🏠 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants