From fff62ab4fc121d314d2b83f80215badb6e24800a Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Thu, 5 Dec 2024 15:36:19 -0700 Subject: [PATCH] Add back rimraf to remove the dist/ directory We want to continue to support Windows developers. --- package.json | 3 ++- yarn.lock | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ebf1f5cb..fdcbfbc8 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "lint": "yarn lint:eslint && yarn lint:misc --check", "lint:changelog": "auto-changelog validate --prettier", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "build:clean": "rm -rf dist && yarn build", + "build:clean": "rimraf dist && yarn build", "build": "tsc --project .", "prepack": "./scripts/prepack.sh" }, @@ -59,6 +59,7 @@ "eslint-plugin-promise": "^6.1.1", "jest": "^29.7.0", "prettier": "^2.2.1", + "rimraf": "^3.0.2", "ts-jest": "^29.1.1", "typescript": "^5.1.0" }, diff --git a/yarn.lock b/yarn.lock index 95126228..7e618e64 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1515,6 +1515,7 @@ __metadata: human-standard-token-abi: "npm:^2.0.0" jest: "npm:^29.7.0" prettier: "npm:^2.2.1" + rimraf: "npm:^3.0.2" ts-jest: "npm:^29.1.1" typescript: "npm:^5.1.0" languageName: unknown