Skip to content

Commit 62e8844

Browse files
committed
fix(workspace): define pnpm catalog so hook 'catalog:' refs resolve
The .claude/hooks/check-new-deps/package.json declares dependencies as 'catalog:' (synced from the canonical hook template), but pnpm-workspace.yaml had no catalog block — every pnpm install since efadd20 (2026-04-27 11:50 UTC) failed with ERR_PNPM_CATALOG_ENTRY_NOT_FOUND_FOR_SPEC, breaking CI on all 9 subsequent runs. Add a minimal catalog block covering the three Socket fleet packages the hook references: @socketregistry/packageurl-js, @socketsecurity/lib, @socketsecurity/sdk. Mirrors the same pattern used in socket-registry's pnpm-workspace.yaml so the hook template stays drift-free across the fleet.
1 parent b0f3c6a commit 62e8844

2 files changed

Lines changed: 29 additions & 15 deletions

File tree

pnpm-lock.yaml

Lines changed: 20 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ packages:
1313
- tools/*
1414
- vendor/*
1515

16+
# Catalog entries shared across hook workspaces. The hooks live in
17+
# `.claude/hooks/*` and depend on the same Socket fleet packages the
18+
# repo itself ships. Pinning them here keeps the entire hook tree in
19+
# lockstep with the parent without each hook duplicating literal pins.
20+
catalog:
21+
'@socketregistry/packageurl-js': 1.4.2
22+
'@socketsecurity/lib': 5.25.1
23+
'@socketsecurity/sdk': 4.0.1
24+
1625
allowBuilds:
1726
esbuild: true
1827

0 commit comments

Comments
 (0)