-
Notifications
You must be signed in to change notification settings - Fork 48
fix: ping-protect-versioning #546
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@forgerock/ping-protect': patch | ||
| --- | ||
|
|
||
| fix the protect-package versioning. no functional changes to protect package, but allow more loose versioning on javascript-sdk |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "@forgerock/javascript-sdk", | ||
| "version": "4.8.1", | ||
| "version": "4.8.2", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this be 4.8.3 or will the changeset auto bump this? The current release in Github is already 4.8.2
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it would get bumped, i just manually made this up to date because i had to do a manual publish for the last release |
||
| "description": "ForgeRock JavaScript SDK", | ||
| "author": "ForgeRock", | ||
| "license": "MIT", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,6 @@ | |
| }, | ||
| "types": "./dist/index.ts.d.ts", | ||
| "dependencies": { | ||
| "@forgerock/javascript-sdk": "workspace:*" | ||
| "@forgerock/javascript-sdk": "workspace:^" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should there be a version number after this? What does the caret mean when it's alone like this?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pnpm workspace syntax allows for ^, ~, or *
so if the forgerock/javascript-sdk is at version 4.8.2 when we publish this it translates to 4.8.2 respectively. so in this case changing the
|
||
| } | ||
| } | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will cause protect to always be versioned along with the js sdk, changing the protect version from 4.6.0 --> 4.8.1 in this release. Is that correct/intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It won't version it with the SDK, but the SDK would get bumped because it's a dependent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They would have to be grouped in the same sub-array to be fixed together (pretty sure but we can see in the release pr)