Build protocol package before packing

This commit is contained in:
Timothy J. Aveni
2026-06-19 10:30:39 -07:00
parent 70fd248d35
commit e15fdc9f92
4 changed files with 54 additions and 3 deletions
+15 -3
View File
@@ -4,11 +4,23 @@
"private": true,
"packageManager": "yarn@4.14.1",
"type": "module",
"main": "./src/index.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": "./src/index.ts"
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"typecheck": "node --check src/index.ts"
"build": "tsc -p tsconfig.build.json",
"prepack": "yarn build",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"typescript": "^5.9.3"
}
}