Skip to content

Commit b135e46

Browse files
committed
refactor: simplify script names for better ergonomics
Rename scripts to shorter, clearer names: - build:custom-node → build:node (shorter) - test:coverage → cover (matches common convention) - Removed test:unit (redundant with test) Now commands are more ergonomic: pnpm run build:node -- --yes # Build custom Node.js pnpm run cover # Run coverage
1 parent c907894 commit b135e46

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,21 +180,19 @@
180180
"build": "pnpm --filter @socketsecurity/cli run build --",
181181
"build:all": "pnpm --filter \"./packages/**\" run build",
182182
"build:cli": "pnpm run build --",
183-
"build:custom-node": "pnpm --filter @socketbin/custom-node run build --",
183+
"build:node": "pnpm --filter @socketbin/custom-node run build --",
184184
"build:sea": "pnpm --filter @socketbin/sea run build --",
185185
"build:socket": "pnpm --filter socket run build --",
186186
"check": "pnpm --filter @socketsecurity/cli run check --",
187187
"check-ci": "pnpm run check -- --ci",
188188
"clean": "pnpm --filter \"./packages/**\" run clean",
189-
"coverage:percent": "pnpm --filter @socketsecurity/cli run coverage:percent --",
189+
"cover": "pnpm --filter @socketsecurity/cli run test:unit:coverage --",
190190
"lint": "pnpm --filter @socketsecurity/cli run lint --",
191191
"lint-ci": "pnpm run lint -- --ci",
192192
"prepare": "dotenvx -q run -f .env.local -- husky",
193193
"pretest": "pnpm run build",
194194
"test": "pnpm --filter @socketsecurity/cli run test:unit --",
195195
"test-ci": "pnpm run test -- --ci",
196-
"test:coverage": "pnpm --filter @socketsecurity/cli run test:unit:coverage --",
197-
"test:unit": "pnpm run test --",
198196
"type": "pnpm --filter @socketsecurity/cli run type --",
199197
"type-ci": "pnpm run type -- --ci"
200198
},

0 commit comments

Comments
 (0)