Skip to content

release-prep: don't cut a release for a lockfile-only change - #29

Merged
ashishmishra26 merged 1 commit into
mainfrom
lockfile-not-shipped
Aug 18, 2026
Merged

release-prep: don't cut a release for a lockfile-only change#29
ashishmishra26 merged 1 commit into
mainfrom
lockfile-not-shipped

Conversation

@ashishmishra26

Copy link
Copy Markdown
Contributor

Same fix as infino-ai/infino-mcp#21, found while reviewing an engine-bump PR there that touched only package-lock.json — correct dependabot behavior, since ^0.5.1 already permits 0.5.2 (a caret on a 0.x version means >=0.5.1 <0.6.0), so the manifest range needs no edit.

The classifier had package-lock.json in the minor bucket, so an in-range dependency bump would cut a release no consumer can observe: npm never publishes a lockfile, the tarball here is dist/ plus README/LICENSE/package.json, and an installer resolves the ranges in package.json for itself.

package-lock.json moves to the skip bucket. package.json stays in minor: a range change is precisely what reaches consumers, and dependabot does edit the manifest when a version lands outside the current range.

(Contrast infino-cli, where Cargo.lock correctly stays in minor: cargo-dist compiles the shipped binaries from that lockfile, so there a lock change really does change the artifact.)

package-lock.json sat in the minor bucket, but npm never publishes it
and an installer resolves package.json's ranges itself. An in-range
dependency bump changed only what CI builds from, and the train would
still have cut a release whose tarball is byte-identical to the last
one apart from the version string. The lockfile moves to the skip
bucket; package.json stays in minor, since a range change is exactly
what does reach consumers.
@ashishmishra26
ashishmishra26 merged commit 1c6a1d5 into main Aug 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant