Skip to content

Commit f6739ff

Browse files
author
Dev Agent Amelia
committed
chore: add clean step to build script to remove stale dist files
1 parent f2a388c commit f6739ff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"publish:npm": "node scripts/publish.mjs --npm",
3939
"publish:mcp": "node scripts/publish.mjs --mcp",
4040
"publish:dry": "node scripts/publish.mjs --dry",
41-
"build": "tsc",
41+
"clean": "node -e \"const {rmSync}=require('fs'); try{rmSync('dist',{recursive:true})}catch{}\"",
42+
"build": "npm run clean && tsc",
4243
"dev": "tsx watch src/server.ts",
4344
"start": "node dist/server.js",
4445
"auth:setup": "node dist/setup-auth.js",

0 commit comments

Comments
 (0)