chore: use --exact versions with lerna - #1116
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR switches internal DevCycle dependencies to exact versions, bumps related OpenFeature packages to newer versions, and updates Lerna commands to use the --exact flag.
- Pinned
@devcycle/*dependencies in SDKpackage.jsonfiles to exact versions instead of caret ranges - Updated several OpenFeature peerDependencies (
@openfeature/web-sdk,@openfeature/core,@openfeature/server-sdk) to their latest minor versions - Added
--exacttoyarn lerna versioncommands in release scripts
Reviewed Changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/react/package.json | Pinned DevCycle dependencies to exact versions |
| sdk/react-native/package.json | Pinned DevCycle dependencies to exact versions |
| sdk/react-native-expo/package.json | Pinned DevCycle dependencies to exact versions |
| sdk/openfeature-web-provider/package.json | Pinned DevCycle dependency; bumped @openfeature/web-sdk peerDependency |
| sdk/openfeature-react-provider/package.json | Pinned DevCycle dependencies; bumped @openfeature/web-sdk peerDependency |
| sdk/openfeature-nestjs-provider/package.json | Pinned Node.js server SDK dependency |
| sdk/openfeature-angular-provider/package.json | Pinned DevCycle dependencies; bumped @openfeature/web-sdk peerDependency |
| sdk/nodejs/package.json | Pinned DevCycle and OpenFeature dependencies to exact/tildes |
| sdk/nextjs/package.json | Pinned DevCycle dependencies to exact versions |
| sdk/nestjs/package.json | Pinned DevCycle dependencies to exact versions |
| sdk/js/package.json | Pinned DevCycle types dependency to exact version |
| sdk/js-cloud-server/package.json | Pinned DevCycle types dependency to exact version |
| scripts/lerna-version.sh | Added --exact flag to Lerna versioning command |
| scripts/lerna-version-ci.sh | Added --exact flag to Lerna versioning command in CI script |
Comments suppressed due to low confidence (3)
scripts/lerna-version.sh:62
- [nitpick] Consider adding a brief comment explaining why the
--exactflag is now required, so future maintainers understand the strict versioning policy.
yarn lerna version --exact --force-publish=$PACKAGES --message "chore(release): publish" "$@" --no-push
sdk/openfeature-web-provider/package.json:26
- [nitpick] Review whether peerDependencies should follow the same exact-version policy for consistency, or document the reason for keeping a caret range here.
"@openfeature/web-sdk": "^1.5.0"
sdk/react/package.json:30
- After pinning dependency versions, ensure that the lockfile is regenerated (e.g., run
npm installoryarn install) so it stays in sync with these changes.
"@devcycle/js-client-sdk": "1.45.1",
suthar26
approved these changes
Jul 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.