From 90ede837e121141f1ae447315542b6e6e058dfb5 Mon Sep 17 00:00:00 2001 From: Christian Fritz Date: Wed, 24 Jan 2024 20:12:16 -0800 Subject: [PATCH] Move rimraf to dependencies (#954) `rimraf` is used in the `install` script (via rebuild -> clean) and as such is always required, not just in dev. `devDependencies` are not installed transitively, so when using rclnodejs in a package that is used in another project, rimraf is not installed, leading to an error during installation. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ec9a7156..5746b0b3 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,6 @@ "lint-staged": "^14.0.1", "mocha": "^10.2.0", "prettier": "^3.0.3", - "rimraf": "^5.0.1", "sinon": "^15.2.0", "tree-kill": "^1.2.2", "typescript": "^4.9.3" @@ -78,6 +77,7 @@ "mkdirp": "^3.0.1", "mz": "^2.7.0", "nan": "^2.17.0", + "rimraf": "^5.0.1", "uuid": "^9.0.0", "walk": "^2.3.15" },