Skip to content

Commit 14245aa

Browse files
committed
Update lockfiles during version bumps
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
1 parent 7cb1c26 commit 14245aa

5 files changed

Lines changed: 21 additions & 0 deletions

File tree

‎python/cppjswasm/pyproject.toml.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ current_version = "0.1.0"
7474
commit = true
7575
tag = true
7676
commit_args = "-s"
77+
pre_commit_hooks = [
78+
"pnpm --dir js install --lockfile-only --no-frozen-lockfile --ignore-scripts",
79+
"git add js/pnpm-lock.yaml",
80+
]
7781

7882
[[tool.bumpversion.files]]
7983
filename = "{{ module }}/__init__.py"

‎python/js/pyproject.toml.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ current_version = "0.1.0"
6868
commit = true
6969
tag = true
7070
commit_args = "-s"
71+
pre_commit_hooks = [
72+
"pnpm --dir js install --lockfile-only --no-frozen-lockfile --ignore-scripts",
73+
"git add js/pnpm-lock.yaml",
74+
]
7175

7276
[[tool.bumpversion.files]]
7377
filename = "{{ module }}/__init__.py"

‎python/jupyter/pyproject.toml.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ current_version = "0.1.0"
7575
commit = true
7676
tag = true
7777
commit_args = "-s"
78+
pre_commit_hooks = [
79+
"pnpm --dir js install --lockfile-only --no-frozen-lockfile --ignore-scripts",
80+
"git add js/pnpm-lock.yaml",
81+
]
7882
7983
[[tool.bumpversion.files]]
8084
filename = "{{ module }}/__init__.py"

‎python/rust/pyproject.toml.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ current_version = "0.1.0"
7070
commit = true
7171
tag = true
7272
commit_args = "-s"
73+
pre_commit_hooks = [
74+
"cargo update --workspace",
75+
"git add Cargo.lock",
76+
]
7377

7478
[[tool.bumpversion.files]]
7579
filename = "{{ module }}/__init__.py"

‎python/rustjswasm/pyproject.toml.jinja‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ current_version = "0.1.0"
7272
commit = true
7373
tag = true
7474
commit_args = "-s"
75+
pre_commit_hooks = [
76+
"cargo update --workspace",
77+
"pnpm --dir js install --lockfile-only --no-frozen-lockfile --ignore-scripts",
78+
"git add Cargo.lock js/pnpm-lock.yaml",
79+
]
7580

7681
[[tool.bumpversion.files]]
7782
filename = "{{ module }}/__init__.py"

0 commit comments

Comments
 (0)