fix: ensure dist directory is cleared before packaging

This commit is contained in:
Nick Alteen
2025-12-05 11:33:11 -05:00
parent 683df1d73b
commit 180cc2281d

View File

@@ -30,7 +30,7 @@
"format:check": "npx prettier --check .",
"lint": "npx eslint .",
"local-action": "npx @github/local-action . src/main.ts .env",
"package": "npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"package": "rm -rf ./dist && npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"package:watch": "npm run package -- --watch",
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest",
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"