Skip to content

Commit

Permalink
chore(build): use rimraf to clean dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jonluca committed Mar 5, 2024
1 parent cf50487 commit 6db025a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"scripts": {
"prepublishOnly": "yarn build",
"lint": "eslint lib",
"build": "rm -fr dist/* && tsc",
"build": "rimraf dist && tsc",
"typecheck": "tsc --noEmit",
"prettier": "prettier --write \"**/*.+(js|jsx|ts|tsx|har||json|css|md)\"",
"test": "vitest --coverage",
Expand Down Expand Up @@ -87,6 +87,7 @@
"lint-staged": "^15.2.2",
"node-fetch": "^3.3.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"typescript": "^5.3.3",
"vitest": "^1.3.1"
},
Expand Down
14 changes: 13 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ __metadata:
lodash.clonedeep: "npm:^4.5.0"
node-fetch: "npm:^3.3.2"
prettier: "npm:^3.2.5"
rimraf: "npm:^5.0.5"
typescript: "npm:^5.3.3"
vitest: "npm:^1.3.1"
languageName: unknown
Expand Down Expand Up @@ -2330,7 +2331,7 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^10.2.2, glob@npm:^10.3.10":
"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7":
version: 10.3.10
resolution: "glob@npm:10.3.10"
dependencies:
Expand Down Expand Up @@ -3888,6 +3889,17 @@ __metadata:
languageName: node
linkType: hard

"rimraf@npm:^5.0.5":
version: 5.0.5
resolution: "rimraf@npm:5.0.5"
dependencies:
glob: "npm:^10.3.7"
bin:
rimraf: dist/esm/bin.mjs
checksum: 10c0/d50dbe724f33835decd88395b25ed35995077c60a50ae78ded06e0185418914e555817aad1b4243edbff2254548c2f6ad6f70cc850040bebb4da9e8cc016f586
languageName: node
linkType: hard

"rollup@npm:^4.2.0":
version: 4.12.0
resolution: "rollup@npm:4.12.0"
Expand Down

0 comments on commit 6db025a

Please sign in to comment.