Skip to content

Commit a005ceb

Browse files
committed
fix(deps): regenerates lockfile for pinned happy-dom, adds lockfile sync hook
- pnpm-lock.yaml specifier was ^20.8.9, package.json was pinned to 20.8.9 — CI frozen-lockfile install failed on the mismatch - adds lockfile-sync pre-commit hook that runs pnpm install --frozen-lockfile when package.json or pnpm-lock.yaml changes
1 parent f710dee commit a005ceb

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prek.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ hooks = [
1313
[[repos]]
1414
repo = "local"
1515

16+
[[repos.hooks]]
17+
id = "lockfile-sync"
18+
name = "Lockfile in sync with package.json"
19+
language = "system"
20+
entry = "pnpm install --frozen-lockfile"
21+
pass_filenames = false
22+
files = "(package\\.json|pnpm-lock\\.yaml)$"
23+
priority = 0
24+
1625
[[repos.hooks]]
1726
id = "typecheck"
1827
name = "TypeScript typecheck"

0 commit comments

Comments
 (0)