From 183d2b398c718f7951c5eccd05956bd87996d3ec Mon Sep 17 00:00:00 2001 From: "devnexus-automation[bot]" <286661136+devnexus-automation[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 11:04:27 +0200 Subject: [PATCH] Clean TypeScript plugin dist before build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0095538..3cd2a11 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "node": ">=24" }, "scripts": { - "build": "tsc -p tsconfig.json && node -e \"require('node:fs').chmodSync('dist/cli.js', 0o755)\"", + "build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.json && node -e \"require('node:fs').chmodSync('dist/cli.js', 0o755)\"", "test": "vitest run", "check": "npm run build && npm test" },