fix: tighten package.json dependancies for @devcycle / @openfeature to patch versions - #1114
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
There was a problem hiding this comment.
Pull Request Overview
This PR tightens internal @devcycle and @openfeature dependency ranges from caret (^) to tilde (~) across multiple SDK package.json files, ensuring only patch updates are automatically allowed for internal packages.
- Changed dependency ranges for internal
@devcycle/*and@openfeature/*packages from^to~ - Left peerDependencies and third-party dependencies unchanged
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/react/package.json | Updated ^ to ~ for @devcycle/js-client-sdk and @devcycle/types |
| sdk/react-native/package.json | Updated ^ to ~ for all three @devcycle dependencies |
| sdk/react-native-expo/package.json | Updated ^ to ~ for @devcycle SDK packages |
| sdk/openfeature-web-provider/package.json | Updated ^ to ~ for @devcycle/js-client-sdk |
| sdk/openfeature-react-provider/package.json | Updated ^ to ~ for two internal dependencies |
| sdk/openfeature-nestjs-provider/package.json | Updated ^ to ~ for @devcycle/nodejs-server-sdk |
| sdk/openfeature-angular-provider/package.json | Updated ^ to ~ for two internal dependencies |
| sdk/nodejs/package.json | Updated ^ to ~ for five internal dependencies |
| sdk/nextjs/package.json | Updated ^ to ~ for four internal dependencies |
| sdk/nestjs/package.json | Updated ^ to ~ for two internal dependencies |
| sdk/js/package.json | Updated ^ to ~ for @devcycle/types |
| sdk/js-cloud-server/package.json | Updated ^ to ~ for @devcycle/types |
|
does our automated release process touch these? wondering if theres some automated bumping of our shared deps via lerna/nx |
yea I looked at the release scripts, they should auto-increment these versions, but I didn't see anywhere they set |
ok. quick chat gpt query says it doesn't touch the range specifier, only the number which makes sense |
3d0e32c to
5c68504
Compare
fix: tighten package.json dependencies for @devcycle / @openfeature to patch versions
This change updates all SDK packages to use tilde (
~) version ranges instead of caret (^) for internal@devcycleand@openfeaturedependencies, restricting updates to patch versions only.Changes
sdk/directory^to~for all@devcycle/*packages^to~for@openfeature/*packages^ranges forpeerDependenciesand third-party packagesImpact
"@devcycle/types": "^1.30.0"(allows minor + patch updates)"@devcycle/types": "~1.30.0"(allows patch updates only)This ensures more predictable dependency resolution and reduces the risk of breaking changes from minor version updates in internal packages.