-
Notifications
You must be signed in to change notification settings - Fork 126
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
build: no strict version for kuzzle-sdk #2537
Conversation
7d7b458
to
1073a04
Compare
Quality Gate passedIssues Measures |
Wouldn't it be a best practice to update the sdk to his latest version but still left fixed to avoid issue ? Like we could launch an action that launch |
The problem it's if we use the version |
If I understand in this case, Does it mean in the case we have kuzzle requesting the 7.11.1 and another repo is requesting 7.11.3 So it also mean that kuzzle will too run in 7.11.3 even tho it as only be tested with the 7.11.1 ? I think I am okay with it, but I just want to be fully aware of all that :) |
🎉 This PR is included in version 2.31.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.31.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What does this PR do ?
Change
kuzzle-sdk
version restriction to allow npm to dedup the package when it's required in other package.Explanation
Currently, Kuzzle require strictly
[email protected]
, if a package like plugin requirekuzzle
and[email protected]
With strict restriction, NPM produce this install
With package restriction like
kuzzle-sdk@^7.11.3
(so accept greater than7.11.3
but less than8
), NPM produce this installHere, kuzzle-sdk is not installed in kuzzle directory because
[email protected]
satisfy the restriction.Also, normally in future if I want to install
[email protected]
in my package, npm will throw an error for incompatibility (need to verify, because npm haven't consistent behavior through the versions)