From 98ca4dce6624b15dd2693c27d9a2c0a1dbbf55df Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Sun, 28 Jan 2024 22:45:05 +0000 Subject: [PATCH] Have `npm run build-dist` _always_ recreate `dist` (#247) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 33c1db4..8d8e7ae 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "shellcheck": "shellcheck .github/workflows/*.sh", "test": "node test/setup-beam.test.js", "yamllint": "yamllint .github/workflows/**.yml && yamllint .*.yml && yamllint *.yml", - "build-dist": "npm install && npm run build && npm run format && npm run markdownlint && npm run shellcheck && npm run yamllint && npm run jslint" + "build-dist": "rm -rf ./dist && npm install && npm run build && npm run format && npm run markdownlint && npm run shellcheck && npm run yamllint && npm run jslint" }, "dependencies": { "@actions/core": "1.10.0",