Skip to content

Update lockfiles during version bumps - #168

Merged
timkpaine merged 1 commit into
mainfrom
tkp/locks
Aug 14, 2026
Merged

Update lockfiles during version bumps#168
timkpaine merged 1 commit into
mainfrom
tkp/locks

Conversation

@timkpaine

Copy link
Copy Markdown
Member

Regenerates language lockfiles during bump-my-version's pre-commit phase.

  • Uses cargo update --workspace for Rust workspaces so only workspace package identities move to the new version; unrelated crates sharing that version are untouched.
  • Uses pnpm lockfile-only installs for JS hybrids, with scripts disabled and frozen mode overridden for CI bumps.
  • Stages only Cargo.lock and js/pnpm-lock.yaml so generated changes join the version bump commit.

Verified by generating and patch-bumping the js, jupyter, cppjswasm, rust, and rustjswasm templates. Cargo workspace entries updated to 0.1.1, unrelated Jupyter dependencies at 0.1.0 remained unchanged, and every generated working tree was clean after the bump.

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@timkpaine
timkpaine marked this pull request as ready for review August 14, 2026 18:53
@timkpaine
timkpaine merged commit ebda788 into main Aug 14, 2026
18 checks passed
@timkpaine
timkpaine deleted the tkp/locks branch August 14, 2026 19:08
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