From 14245aae3101b43e1a9df44bcb71c38afcea34e9 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Fri, 14 Aug 2026 14:49:06 -0400 Subject: [PATCH] Update lockfiles during version bumps Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com> --- python/cppjswasm/pyproject.toml.jinja | 4 ++++ python/js/pyproject.toml.jinja | 4 ++++ python/jupyter/pyproject.toml.jinja | 4 ++++ python/rust/pyproject.toml.jinja | 4 ++++ python/rustjswasm/pyproject.toml.jinja | 5 +++++ 5 files changed, 21 insertions(+) diff --git a/python/cppjswasm/pyproject.toml.jinja b/python/cppjswasm/pyproject.toml.jinja index 2e0ca24..f8bbbd9 100644 --- a/python/cppjswasm/pyproject.toml.jinja +++ b/python/cppjswasm/pyproject.toml.jinja @@ -74,6 +74,10 @@ current_version = "0.1.0" commit = true tag = true commit_args = "-s" +pre_commit_hooks = [ + "pnpm --dir js install --lockfile-only --no-frozen-lockfile --ignore-scripts", + "git add js/pnpm-lock.yaml", +] [[tool.bumpversion.files]] filename = "{{ module }}/__init__.py" diff --git a/python/js/pyproject.toml.jinja b/python/js/pyproject.toml.jinja index f73985d..e228543 100644 --- a/python/js/pyproject.toml.jinja +++ b/python/js/pyproject.toml.jinja @@ -68,6 +68,10 @@ current_version = "0.1.0" commit = true tag = true commit_args = "-s" +pre_commit_hooks = [ + "pnpm --dir js install --lockfile-only --no-frozen-lockfile --ignore-scripts", + "git add js/pnpm-lock.yaml", +] [[tool.bumpversion.files]] filename = "{{ module }}/__init__.py" diff --git a/python/jupyter/pyproject.toml.jinja b/python/jupyter/pyproject.toml.jinja index b85c583..7bd9162 100644 --- a/python/jupyter/pyproject.toml.jinja +++ b/python/jupyter/pyproject.toml.jinja @@ -75,6 +75,10 @@ current_version = "0.1.0" commit = true tag = true commit_args = "-s" +pre_commit_hooks = [ + "pnpm --dir js install --lockfile-only --no-frozen-lockfile --ignore-scripts", + "git add js/pnpm-lock.yaml", +] [[tool.bumpversion.files]] filename = "{{ module }}/__init__.py" diff --git a/python/rust/pyproject.toml.jinja b/python/rust/pyproject.toml.jinja index 941d521..dcdec3f 100644 --- a/python/rust/pyproject.toml.jinja +++ b/python/rust/pyproject.toml.jinja @@ -70,6 +70,10 @@ current_version = "0.1.0" commit = true tag = true commit_args = "-s" +pre_commit_hooks = [ + "cargo update --workspace", + "git add Cargo.lock", +] [[tool.bumpversion.files]] filename = "{{ module }}/__init__.py" diff --git a/python/rustjswasm/pyproject.toml.jinja b/python/rustjswasm/pyproject.toml.jinja index c96e53a..c8bd654 100644 --- a/python/rustjswasm/pyproject.toml.jinja +++ b/python/rustjswasm/pyproject.toml.jinja @@ -72,6 +72,11 @@ current_version = "0.1.0" commit = true tag = true commit_args = "-s" +pre_commit_hooks = [ + "cargo update --workspace", + "pnpm --dir js install --lockfile-only --no-frozen-lockfile --ignore-scripts", + "git add Cargo.lock js/pnpm-lock.yaml", +] [[tool.bumpversion.files]] filename = "{{ module }}/__init__.py"