Navigation Menu

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

don't update local package version in lock with yarn install when use workspaces #8592

Open
voskresla opened this issue Mar 4, 2021 · 0 comments

Comments

@voskresla
Copy link

REPRO: https://github.com/voskresla/yarn_repro_install_vs_add

Repro steps:

Expected:
Version of local-package was updated in lock file (1.0.0 -> 2.0.0)

Thoughts
If i use yarn install my new version of local-package don't update. But if i install another package (for example npx yarn add @gitbeaker/cli -W version of local-package will be updated.

In real project i use yarn with lerna and for now i found little problem with local packages installed by "package": file:/path/". When i up version in my lockal-package with lerna versions my lock file didn't update. After that in my feature branch i use some new external packages and for now in MR i have diffs in lock file for my locak package, because lock file updatet trought yarn add )

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