Skip to content

Commit

Permalink
Add rimraf for windows compat
Browse files Browse the repository at this point in the history
  • Loading branch information
gausie committed Oct 13, 2023
1 parent 44e6851 commit 3c12cda
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
Binary file not shown.
3 changes: 2 additions & 1 deletion packages/garbo-relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build && rm dist/**/index.html",
"build": "tsc && vite build && rimraf --glob \"dist/**/index.html\"",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 && prettier --check .",
"format": "prettier --write .",
"preview": "vite preview",
Expand All @@ -32,6 +32,7 @@
"eslint-plugin-react-refresh": "^0.4.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"typescript": "^5.0.2",
"vite": "^4.4.5"
}
Expand Down
14 changes: 13 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4277,6 +4277,7 @@ __metadata:
prettier: ^3.0.3
react: ^18.2.0
react-dom: ^18.2.0
rimraf: ^5.0.5
typescript: ^5.0.2
vite: ^4.4.5
languageName: unknown
Expand Down Expand Up @@ -4393,7 +4394,7 @@ __metadata:
languageName: node
linkType: hard

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

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

"rollup@npm:^3.27.1":
version: 3.29.4
resolution: "rollup@npm:3.29.4"
Expand Down

0 comments on commit 3c12cda

Please sign in to comment.