yarn upgrade-interactive

Created on 18 Mar 2017  ·  2Comments  ·  Source: yarnpkg/yarn

Do you want to request a feature or report a bug?

git submodule foreach --recursive  yarn upgrade-interactive

What is the current behavior?
it forces me to upgrade

If the current behavior is a bug, please provide the steps to reproduce.

Doesnt allow me to bail out.

patrikx3@workstation:~/Projects/patrikx3/corifeus$ git submodule foreach --recursive  yarn upgrade-interactive
Entering 'corifeus-builder'
yarn upgrade-interactive v0.21.3
success All of your dependencies are up to date.
Done in 2.10s.
Entering 'corifeus-builder-angular2'
yarn upgrade-interactive v0.21.3
? Choose which packages to update. 
 dependencies
❯◯ zone.js  0.7.2  ❯  0.8.4  https://github.com/angular/zone.js#readme

>> You must choose at least one package.

What is the expected behavior?
i got 1 and i cannot say i dont need upgrade that package.

Please mention your node.js, yarn and operating system version.
latest current nodejs

cat-bug triaged

Most helpful comment

The same issue prevents running this in a lerna environment with lerna exec. If any of the packages only have one upgradable package and you dont wish to upgrade it, you have to bail out and re-run lerna exec with manual exclusions.

All 2 comments

The same issue prevents running this in a lerna environment with lerna exec. If any of the packages only have one upgradable package and you dont wish to upgrade it, you have to bail out and re-run lerna exec with manual exclusions.

I have the same needs. I integrated the command in a build pipeline and I want to ignore some updates during development. Any news?

Was this page helpful?
0 / 5 - 0 ratings