-
Notifications
You must be signed in to change notification settings - Fork 30
Repo: Update both version fields in package-lock.json
#119
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
base: main
Are you sure you want to change the base?
Conversation
|
|
5f163cb to
d4c4406
Compare
|
Please add |
| module.exports = function( Release ) { | ||
|
|
||
| Release.define( { | ||
| _jsonFiles: [ "package.json", "package-lock.json", "bower.json" ], |
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.
I thought I first need to remove version from UI's bower.json but I do not - the version field was only added on tagged releases, on main it's not there.
`package-lock.json` versions 2 & 3 keep `version` in two fields - a top-level `version` one and a deep `packages[ "" ].version` one. Update both.
|
I did a test release of jQuery UI and I verified the release still works and the version is properly updated in the lockfile. |
package-lock.jsonversions 2 & 3 keepversionin two fields - a top-levelversionone and a deeppackages[ "" ].versionone. Update both.#117 needs to land first to fix CI.