Skip to content

Commit

Permalink
Replace rimraf with plain 'rm -rf'
Browse files Browse the repository at this point in the history
rimraf became bloated af. Anyone developing on Windows without WSL
is used to suffering anyway.
  • Loading branch information
jirutka committed May 21, 2023
1 parent 58f8820 commit 1be4184
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ The following is a list of `devDependencies` with their description.

* {npmjs-pkg}/npm-run-all[npm-run-all] -- A CLI tool to run multiple npm-scripts in parallel or sequential. Used in npm scripts.

* {npmjs-pkg}/rimraf[rimraf] -- A deep deletion module for node (like `rm -rf`). Used in npm scripts.


== License

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"scripts": {
"build": "rollup -c --environment NODE_ENV:production",
"clean": "rimraf dist/* lib/* node_modules/.cache/*",
"clean": "rm -rf dist lib node_modules/.cache",
"lint": "run-p lint:*",
"lint:eslint": "eslint --cache --cache-location node_modules/.cache/eslint --ext .ts,.js,.mjs .",
"lint:types": "tsc -b",
Expand Down Expand Up @@ -52,7 +52,6 @@
"nginx-testing": "^0.4.0",
"njs-types": "^0.7.12",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.1",
"rollup": "^3.22.0",
"rollup-plugin-add-git-msg": "^1.1.0",
"typescript": "~5.0.4"
Expand Down

0 comments on commit 1be4184

Please sign in to comment.