Skip to content

Commit

Permalink
Replace shx with rimraf
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrick95 committed Aug 27, 2022
1 parent 047ee46 commit e5542b9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 94 deletions.
4 changes: 2 additions & 2 deletions browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build": "yarn clean && parcel build src/index.html",
"build-gh-pages": "yarn clean && parcel build src/index.html --public-url \"https://kenrick95.github.io/c4/dist/\"",
"prettier": "prettier --write \"./**/*.?(ts|html|scss|css)\"",
"clean": "shx rm -rf dist/",
"clean": "rimraf dist/",
"test": "echo 'OK'"
},
"dependencies": {
Expand All @@ -43,7 +43,7 @@
"@types/node": "^16.9.6",
"parcel-bundler": "^1.12.4",
"prettier": "^2.4.1",
"shx": "^0.3.3",
"rimraf": "^3.0.2",
"typescript": "^4.4.3"
}
}
4 changes: 2 additions & 2 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"scripts": {
"build": "yarn clean && parcel build ./src/lib.ts",
"clean": "shx rm -rf dist/",
"clean": "rimraf dist/",
"prettier": "prettier --write \"./**/*.?(ts|html|scss|css)\"",
"test": "jest"
},
Expand All @@ -39,7 +39,7 @@
"jest": "^27.2.1",
"parcel-bundler": "^1.12.4",
"prettier": "^2.4.1",
"shx": "^0.3.3",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
}
Expand Down
4 changes: 2 additions & 2 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"start-dev": "ts-node src/index.ts",
"start-dev-watch": "nodemon --watch src --ignore 'src/**/*.spec.ts' --exec yarn start",
"build": "yarn clean && tsc --outDir dist/",
"clean": "shx rm -rf dist/",
"clean": "rimraf dist/",
"prettier": "prettier --write \"./**/*.?(ts|html|scss|css)\"",
"test": "echo 'OK'"
},
Expand All @@ -41,7 +41,7 @@
"@types/ws": "^7.4.7",
"nodemon": "^2.0.13",
"prettier": "^2.4.1",
"shx": "^0.3.3",
"rimraf": "^3.0.2",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
},
Expand Down
93 changes: 5 additions & 88 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,7 @@ __metadata:
es6-promise: ^4.2.8
parcel-bundler: ^1.12.4
prettier: ^2.4.1
shx: ^0.3.3
rimraf: ^3.0.2
typescript: ^4.4.3
url-search-params-polyfill: ^8.1.1
languageName: unknown
Expand All @@ -1605,7 +1605,7 @@ __metadata:
prettier: ^2.4.1
redux: ^4.1.1
redux-thunk: ^2.3.0
shx: ^0.3.3
rimraf: ^3.0.2
ts-node: ^10.2.1
typescript: ^4.4.3
uuid: ^8.3.2
Expand All @@ -1621,7 +1621,7 @@ __metadata:
jest: ^27.2.1
parcel-bundler: ^1.12.4
prettier: ^2.4.1
shx: ^0.3.3
rimraf: ^3.0.2
ts-jest: ^27.0.5
typescript: ^4.4.3
languageName: unknown
Expand Down Expand Up @@ -5558,13 +5558,6 @@ __metadata:
languageName: node
linkType: hard

"interpret@npm:^1.0.0":
version: 1.4.0
resolution: "interpret@npm:1.4.0"
checksum: 2e5f51268b5941e4a17e4ef0575bc91ed0ab5f8515e3cf77486f7c14d13f3010df9c0959f37063dcc96e78d12dc6b0bb1b9e111cdfe69771f4656d2993d36155
languageName: node
linkType: hard

"ip@npm:^2.0.0":
version: 2.0.0
resolution: "ip@npm:2.0.0"
Expand Down Expand Up @@ -5714,15 +5707,6 @@ __metadata:
languageName: node
linkType: hard

"is-core-module@npm:^2.8.0":
version: 2.8.1
resolution: "is-core-module@npm:2.8.1"
dependencies:
has: ^1.0.3
checksum: 418b7bc10768a73c41c7ef497e293719604007f88934a6ffc5f7c78702791b8528102fb4c9e56d006d69361549b3d9519440214a74aefc7e0b79e5e4411d377f
languageName: node
linkType: hard

"is-data-descriptor@npm:^0.1.4":
version: 0.1.4
resolution: "is-data-descriptor@npm:0.1.4"
Expand Down Expand Up @@ -7211,7 +7195,7 @@ __metadata:
languageName: node
linkType: hard

"minimist@npm:^1.1.3, minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.5":
"minimist@npm:^1.1.3, minimist@npm:^1.2.0, minimist@npm:^1.2.5":
version: 1.2.6
resolution: "minimist@npm:1.2.6"
checksum: d15428cd1e11eb14e1233bcfb88ae07ed7a147de251441d61158619dfb32c4d7e9061d09cab4825fdee18ecd6fce323228c8c47b5ba7cd20af378ca4048fb3fb
Expand Down Expand Up @@ -8037,7 +8021,7 @@ __metadata:
languageName: node
linkType: hard

"path-parse@npm:^1.0.6, path-parse@npm:^1.0.7":
"path-parse@npm:^1.0.6":
version: 1.0.7
resolution: "path-parse@npm:1.0.7"
checksum: 49abf3d81115642938a8700ec580da6e830dde670be21893c62f4e10bd7dd4c3742ddc603fe24f898cba7eb0c6bc1777f8d9ac14185d34540c6d4d80cd9cae8a
Expand Down Expand Up @@ -8888,15 +8872,6 @@ __metadata:
languageName: node
linkType: hard

"rechoir@npm:^0.6.2":
version: 0.6.2
resolution: "rechoir@npm:0.6.2"
dependencies:
resolve: ^1.1.6
checksum: fe76bf9c21875ac16e235defedd7cbd34f333c02a92546142b7911a0f7c7059d2e16f441fe6fb9ae203f459c05a31b2bcf26202896d89e390eda7514d5d2702b
languageName: node
linkType: hard

"redux-thunk@npm:^2.3.0":
version: 2.3.0
resolution: "redux-thunk@npm:2.3.0"
Expand Down Expand Up @@ -9139,19 +9114,6 @@ __metadata:
languageName: node
linkType: hard

"resolve@npm:^1.1.6":
version: 1.21.0
resolution: "resolve@npm:1.21.0"
dependencies:
is-core-module: ^2.8.0
path-parse: ^1.0.7
supports-preserve-symlinks-flag: ^1.0.0
bin:
resolve: bin/resolve
checksum: d7d9092a5c04a048bea16c7e5a2eb605ac3e8363a0cc5644de1fde17d5028e8d5f4343aab1d99bd327b98e91a66ea83e242718150c64dfedcb96e5e7aad6c4f5
languageName: node
linkType: hard

"resolve@patch:resolve@^1.1.5#~builtin<compat/resolve>, resolve@patch:resolve@^1.10.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.14.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.20.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.4.0#~builtin<compat/resolve>":
version: 1.20.0
resolution: "resolve@patch:resolve@npm%3A1.20.0#~builtin<compat/resolve>::version=1.20.0&hash=07638b"
Expand All @@ -9162,19 +9124,6 @@ __metadata:
languageName: node
linkType: hard

"resolve@patch:resolve@^1.1.6#~builtin<compat/resolve>":
version: 1.21.0
resolution: "resolve@patch:resolve@npm%3A1.21.0#~builtin<compat/resolve>::version=1.21.0&hash=07638b"
dependencies:
is-core-module: ^2.8.0
path-parse: ^1.0.7
supports-preserve-symlinks-flag: ^1.0.0
bin:
resolve: bin/resolve
checksum: a0a4d1f7409e73190f31f901f8a619960bb3bd4ae38ba3a54c7ea7e1c87758d28a73256bb8d6a35996a903d1bf14f53883f0dcac6c571c063cb8162d813ad26e
languageName: node
linkType: hard

"responselike@npm:^1.0.2":
version: 1.0.2
resolution: "responselike@npm:1.0.2"
Expand Down Expand Up @@ -9500,31 +9449,6 @@ __metadata:
languageName: node
linkType: hard

"shelljs@npm:^0.8.4":
version: 0.8.5
resolution: "shelljs@npm:0.8.5"
dependencies:
glob: ^7.0.0
interpret: ^1.0.0
rechoir: ^0.6.2
bin:
shjs: bin/shjs
checksum: 7babc46f732a98f4c054ec1f048b55b9149b98aa2da32f6cf9844c434b43c6251efebd6eec120937bd0999e13811ebd45efe17410edb3ca938f82f9381302748
languageName: node
linkType: hard

"shx@npm:^0.3.3":
version: 0.3.3
resolution: "shx@npm:0.3.3"
dependencies:
minimist: ^1.2.3
shelljs: ^0.8.4
bin:
shx: lib/cli.js
checksum: 2e408a79c680cef4d719a56563217031ef20d5c2c18fdfe28933e22d833adabd995ad6fa6be087a141832cb17010facfc0288e90a6743c0276b478759fd393e0
languageName: node
linkType: hard

"side-channel@npm:^1.0.4":
version: 1.0.4
resolution: "side-channel@npm:1.0.4"
Expand Down Expand Up @@ -10076,13 +10000,6 @@ __metadata:
languageName: node
linkType: hard

"supports-preserve-symlinks-flag@npm:^1.0.0":
version: 1.0.0
resolution: "supports-preserve-symlinks-flag@npm:1.0.0"
checksum: 53b1e247e68e05db7b3808b99b892bd36fb096e6fba213a06da7fab22045e97597db425c724f2bbd6c99a3c295e1e73f3e4de78592289f38431049e1277ca0ae
languageName: node
linkType: hard

"svgo@npm:^1.0.0, svgo@npm:^1.3.2":
version: 1.3.2
resolution: "svgo@npm:1.3.2"
Expand Down

0 comments on commit e5542b9

Please sign in to comment.