Skip to content

Conversation

@tombruijn
Copy link
Member

After we publish a new version of the package, the package-lock.json file is always out-of-sync, containing the old version number of the package until npm install is run.

Run npm install before the Git commit step so that the lock file is updated with the latest version.

[skip changeset]
[skip review]

After we publish a new version of the package, the `package-lock.json`
file is always out-of-sync, containing the old version number of the
package until `npm install` is run.

Run `npm install` before the Git commit step so that the lock file is
updated with the latest version.
@tombruijn tombruijn self-assigned this Aug 27, 2025
@tombruijn tombruijn added the chore A small task that takes a day or two at the most. label Aug 27, 2025
@tombruijn tombruijn merged commit 37d3e83 into main Aug 27, 2025
33 checks passed
@tombruijn tombruijn deleted the fix-package-lock-on-publish branch August 27, 2025 07:31
tombruijn added a commit that referenced this pull request Aug 27, 2025
This should no longer be necessary in future releases thanks to #1216.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore A small task that takes a day or two at the most.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants