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

upgrade-interactive for transitive dependencies #2543

Open
glenjamin opened this issue Jan 24, 2017 · 2 comments
Open

upgrade-interactive for transitive dependencies #2543

glenjamin opened this issue Jan 24, 2017 · 2 comments

Comments

@glenjamin
Copy link

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

What is the current behavior?
yarn upgrade-interactive only lists top-level dependencies

What is the expected behavior?
Would be nice to also list transitive dependencies, possibly behind an option?

This would allow bumping the version of a transitive dependency in the lockfile to a newer version which still satisfies the various version ranges, but without adding it into package.json.

Please mention your node.js, yarn and operating system version.
v0.19.1

@glenjamin
Copy link
Author

After poking around a bit more, I think this a slightly wider "issue". Its unclear to me how new versions of transitive dependencies should be incorporated into the dependency tree at all - regardless of whether this command can be expanded to support this behaviour.

Is there a way to do do this other than manually editing yarn.lock?

@ghost
Copy link

ghost commented Mar 24, 2017

Lack of support for interactively choosing transitive dependency versions came up in renovatebot/renovate#139.

It looks like they're tackling the problem through the RFC process at the moment - 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

1 participant