-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
feat: apply constraints to versions used when fixing mismatches #53
Labels
Comments
vjpr
changed the title
Q: How to pin the packages based on major version number
Q: How to pin the packages based on existing major version number of dependency
May 10, 2021
It's been a long time getting around to this, but how does this sound @vjpr?
{
"versionGroups": [
{
"dependencies": ["webpack", "lodash", "react"],
"packages": ["@old-stuff/server","@old-stuff/ui"],
"constraints": ["webpack@<5"]
},
{
"dependencies": ["webpack", "lodash", "react"],
"packages": ["@new-stuff/server","@new-stuff/ui"],
"constraints": ["webpack@>5"]
}
]
} |
JamieMason
changed the title
Q: How to pin the packages based on existing major version number of dependency
feat: apply constraints to versions used when fixing mismatches
Aug 6, 2021
Shall I close this one @vjpr? |
This should now be possible in 6.1.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a bunch of packages using webpack@4 and webpack@5. I basically want all packages to pin to the same version of either 4 or 5 depending on what they currently depend on.
Some packages depend on
webpack@5.0.0-beta.18
for example. This is because it was the only package available at the time, but now I want them all to use the latest.I guess its similar to
versionGroups
, but instead of listingpackages
, I want to list the semver range for the group.Something like:
The text was updated successfully, but these errors were encountered: