commit 3a513c0c18bc01713cbfc548765c2cf63efecb51
parent 1be0b62f9acbce24bfd4041737af67d1058da40b
Author: triesap <tyson@radroots.org>
Date: Fri, 23 May 2025 03:48:08 +0000
workspace: update package.json prebuild script
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bindings/ts/package.json b/bindings/ts/package.json
@@ -11,7 +11,9 @@
"scripts": {
"gen:index": "echo \"// Generated @radroots/radroots-common-bindings\" > index.ts && for f in *.ts; do fn=$(basename \"$f\" .ts); [ \"$fn\" != \"index\" ] && echo \"export * from './$fn';\" >> index.ts; done",
"gen:schema": "ts-to-zod types.ts schema.ts",
- "prebuild": "rimraf dist && npm run gen:schema && npm run gen:index",
+ "gen": "npm run gen:schema && npm run gen:index",
+ "prebuild": "npm run clean",
+ "clean": "rimraf dist && rimraf tsconfig.tsbuildinfo",
"build": "tsc"
},
"devDependencies": {