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 possibility to upgrade submodules #2558

Closed
presidenten opened this issue Jan 26, 2017 · 1 comment
Closed

Add possibility to upgrade submodules #2558

presidenten opened this issue Jan 26, 2017 · 1 comment

Comments

@presidenten
Copy link

A missing feature form npm is the possibility to update a npm modules submodules even if the npm module it self have not got a new version.

Consider the following scenario:
Project depends on a: ~1.0.0 that depends on b: ~1.0.0.
Thenb releases version 1.0.1 that contains a bugfix. To get it before a updates with npm, you can use npm install a --force.

This will refetch all the latest submodules that a uses. We need a similar command in yarn that would update all submodules and update the yarn.lock as well, even if the module it self has not changed.

(Please note that it is different from npm install --force, because it only acts on one module, instead of all modules.)

Using:
Yarn 0.19.1
Node 6.9.1
Osx sierra 10.12.2

@presidenten presidenten changed the title Add possibility to update npm modules submodules Add possibility to upgrade submodules May 31, 2017
@bestander
Copy link
Member

Discussion is here yarnpkg/rfcs#54

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

No branches or pull requests

2 participants