Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 43d185e

Browse files
committed
fix build on Windows
Use rimraf instead of rm -rf
1 parent 9885ab6 commit 43d185e

File tree

3 files changed

+63
-5
lines changed

3 files changed

+63
-5
lines changed

package-lock.json

Lines changed: 54 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
"scripts": {
204204
"vscode:prepublish": "env NODE_ENV=production yarn build",
205205
"compile": "yarn build --watch",
206-
"build": "rm -rf build && rollup -c rollup.config.js",
206+
"build": "rimraf build && rollup -c rollup.config.js",
207207
"test": "flow check && yarn lint && yarn testonly",
208208
"testonly": "env NODE_ENV=test jest",
209209
"lint": "eslint lib --report-unused-disable-directives"
@@ -221,7 +221,7 @@
221221
"lru-cache": "^4.0.1",
222222
"mkdirp": "^0.5.1",
223223
"prettier": "1.18.2",
224-
"rimraf": "^2.5.4",
224+
"rimraf": "^3.0.2",
225225
"rxjs": "^5.0.0-beta.8",
226226
"semver": "^6.3.0",
227227
"shell-quote": "^1.6.0",

yarn.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4090,6 +4090,13 @@ rimraf@2.6.3, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.3, rimraf
40904090
dependencies:
40914091
glob "^7.1.3"
40924092

4093+
rimraf@^3.0.2:
4094+
version "3.0.2"
4095+
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
4096+
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
4097+
dependencies:
4098+
glob "^7.1.3"
4099+
40934100
rollup-plugin-babel@4.3.3:
40944101
version "4.3.3"
40954102
resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.3.3.tgz#7eb5ac16d9b5831c3fd5d97e8df77ba25c72a2aa"

0 commit comments

Comments
 (0)