Skip to content

Commit e8dd76b

Browse files
committed
Sync shared scripts from canonical source
1 parent 7a5176c commit e8dd76b

12 files changed

Lines changed: 2115 additions & 88 deletions

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if [ -z "${DISABLE_PRECOMMIT_LINT}" ]; then
2-
pnpm run precommit
2+
pnpm lint --staged
33
else
44
echo "Skipping lint due to DISABLE_PRECOMMIT_LINT env var"
55
fi

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -721,16 +721,16 @@
721721
"build:watch": "node scripts/build-js.mjs --watch",
722722
"check": "node scripts/check.mjs",
723723
"claude": "node scripts/claude.mjs",
724-
"clean": "del-cli dist '**/*.tsbuildinfo'",
724+
"clean": "node scripts/clean.mjs",
725725
"cover": "node scripts/cover.mjs",
726726
"dev": "pnpm run build:watch",
727-
"fix": "node scripts/fix.mjs",
727+
"fix": "node scripts/lint.mjs --fix",
728728
"fix:exports": "node scripts/generate-package-exports.mjs && node scripts/fix-commonjs-exports.mjs",
729-
"lint": "biome check .",
729+
"lint": "node scripts/lint.mjs",
730730
"lint-ci": "pnpm run lint",
731731
"prepare": "husky",
732732
"prepublishOnly": "pnpm run build",
733-
"test": "vitest",
733+
"test": "node scripts/test.mjs",
734734
"test-ci": "vitest run",
735735
"type-ci": "pnpm run check"
736736
},

0 commit comments

Comments
 (0)