Skip to content

Commit 96c5ff7

Browse files
committed
chore: align prepare script and add resolutionMode
- Remove unnecessary build from prepare script (nothing imports @socketsecurity/registry dist at build time — references are string-only for publishing/checking) - Add resolutionMode: highest to pnpm-workspace.yaml
1 parent 5f8e51c commit 96c5ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"precommit": "pnpm run check --staged",
4343
"security": "agentshield scan && { command -v zizmor >/dev/null && zizmor .github/ || echo 'zizmor not installed — run pnpm run setup to install'; }",
4444
"setup": "node scripts/setup.mjs",
45-
"prepare": "husky && pnpm run build",
45+
"prepare": "husky",
4646
"prepublishOnly": "echo 'ERROR: Use GitHub Actions workflow for publishing' && exit 1",
4747
"publish": "node scripts/publish.mjs",
4848
"publish:ci": "node scripts/publish.mjs --skip-build --tag ${DIST_TAG:-latest}",

0 commit comments

Comments
 (0)