Skip to content

Commit c4994ac

Browse files
committed
fix(plugin): make validate:commands self-contained and reproducible (#1341)
Replace undeclared `npx tsx` with `ts-node` (already in devDependencies) and align the script's Usage comment with the package.json runner.
1 parent 5934ca6 commit c4994ac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/claude-code-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"typecheck": "tsc --noEmit",
4646
"circular": "madge --circular --extensions ts src/",
4747
"format:check": "prettier --check \"src/**/*.ts\" \"scripts/**/*.ts\"",
48-
"validate:commands": "npx tsx scripts/validate-commands.ts",
48+
"validate:commands": "ts-node scripts/validate-commands.ts",
4949
"test": "vitest run",
5050
"test:hooks": "python3 -m pytest tests/ -v --tb=short",
5151
"test:all": "vitest run && python3 -m pytest tests/ -v --tb=short",

packages/claude-code-plugin/scripts/validate-commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* 4. Namespace validation (codingbuddy:* convention)
1313
*
1414
* Usage:
15-
* npx tsx scripts/validate-commands.ts
15+
* ts-node scripts/validate-commands.ts
1616
*/
1717

1818
import * as path from 'path';

0 commit comments

Comments
 (0)