build: use prepack hook so npm pack/publish reliably emit index.d.mts

This commit is contained in:
Aric Camarata 2026-06-13 10:11:20 -04:00
parent ab7c5d814e
commit 56fdd8d14d

View file

@ -34,7 +34,7 @@
"typecheck": "tsc --noEmit",
"pretest": "tsup",
"test": "node --test test.mjs && node --test test-cjs.cjs",
"prepublishOnly": "tsup",
"prepack": "pnpm run build",
"lint": "eslint .",
"format": "prettier --write src/",
"format:check": "prettier --check src/",