Looks like a bug or maybe I'm misunderstanding something
What is the current behavior?
- When running
yarn upgrade in project that have already yarn.lock, will upgrade only the module in the command, and not upgrading the sub-modules,
If the current behavior is a bug, please provide the steps to reproduce.
Lets say I have module lets call it module-0and inits package.json has
"dependencies": {
"@organization/module-a": "^1.0.0"
}
In the package.json for the module-a has
"dependencies": {
"@organization/module-b": "^1.0.0"
}
So the dependencie looks like:
module-0->module-a->module-b
Now lets says that module-a and module-b have new versions
Now I run yarn upgrade @organization/module-a
What is the expected behavior?
I expect module-a and module-b will be upgrade module-a because I asked and module-b because its the sub-module
Please mention your node.js, yarn and operating system version.
OsX El Capitan 10.11.6
node v6.10.0
yarn 0.22.0
Looks like a bug or maybe I'm misunderstanding something
What is the current behavior?
yarn upgradein project that have alreadyyarn.lock, will upgrade only the module in the command, and not upgrading the sub-modules,If the current behavior is a bug, please provide the steps to reproduce.
Lets say I have
modulelets call itmodule-0and initspackage.jsonhasIn the
package.jsonfor themodule-ahasSo the dependencie looks like:
module-0->module-a->module-bNow lets says that
module-aandmodule-bhave new versionsNow I run
yarn upgrade @organization/module-aWhat is the expected behavior?
I expect
module-aandmodule-bwill be upgrademodule-abecause I asked andmodule-bbecause its the sub-modulePlease mention your node.js, yarn and operating system version.
OsX El Capitan 10.11.6node v6.10.0yarn 0.22.0