Skip to content

Commit

Permalink
chore: migrate to concurrently for Windows compatibility (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Jan 1, 2024
1 parent b1bb752 commit 9633772
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 106 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
],
"packageManager": "yarn@4.0.2",
"scripts": {
"build": "run-p 'build:*'",
"build": "concurrently 'yarn:build:*'",
"build:r": "r -f es2015",
"build:ts": "tsc -b",
"clean": "rimraf --glob 'packages/*/{lib,*.tsbuildinfo}'",
"lint": "yarn build && run-p 'lint:*'",
"lint": "yarn build && concurrently 'yarn:lint:*'",
"lint:es": "eslint . --cache -f friendly",
"lint:tsc": "tsc --noEmit",
"prepare": "patch-package && simple-git-hooks",
Expand All @@ -38,11 +38,11 @@
"@types/node": "^20.10.6",
"@types/react": "^18.2.46",
"@types/unist": "^3.0.2",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"jest": "^30.0.0-alpha.2",
"lint-staged": "^15.2.0",
"npm-run-all2": "^6.1.1",
"patch-package": "^8.0.0",
"prettier": "^3.1.1",
"react": "^18.2.0",
Expand Down
169 changes: 66 additions & 103 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2075,7 +2075,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/runtime@npm:^7.20.1, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4":
"@babel/runtime@npm:^7.20.1, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4":
version: 7.23.7
resolution: "@babel/runtime@npm:7.23.7"
dependencies:
Expand Down Expand Up @@ -3565,11 +3565,11 @@ __metadata:
"@types/node": "npm:^20.10.6"
"@types/react": "npm:^18.2.46"
"@types/unist": "npm:^3.0.2"
concurrently: "npm:^8.2.2"
cross-env: "npm:^7.0.3"
eslint: "npm:^8.56.0"
jest: "npm:^30.0.0-alpha.2"
lint-staged: "npm:^15.2.0"
npm-run-all2: "npm:^6.1.1"
patch-package: "npm:^8.0.0"
prettier: "npm:^3.1.1"
react: "npm:^18.2.0"
Expand Down Expand Up @@ -4360,7 +4360,7 @@ __metadata:
languageName: node
linkType: hard

"@types/normalize-package-data@npm:^2.4.0, @types/normalize-package-data@npm:^2.4.1":
"@types/normalize-package-data@npm:^2.4.0":
version: 2.4.4
resolution: "@types/normalize-package-data@npm:2.4.4"
checksum: aef7bb9b015883d6f4119c423dd28c4bdc17b0e8a0ccf112c78b4fe0e91fbc4af7c6204b04bba0e199a57d2f3fbbd5b4a14bf8739bf9d2a39b2a0aad545e0f86
Expand Down Expand Up @@ -6104,6 +6104,26 @@ __metadata:
languageName: node
linkType: hard

"concurrently@npm:^8.2.2":
version: 8.2.2
resolution: "concurrently@npm:8.2.2"
dependencies:
chalk: "npm:^4.1.2"
date-fns: "npm:^2.30.0"
lodash: "npm:^4.17.21"
rxjs: "npm:^7.8.1"
shell-quote: "npm:^1.8.1"
spawn-command: "npm:0.0.2"
supports-color: "npm:^8.1.1"
tree-kill: "npm:^1.2.2"
yargs: "npm:^17.7.2"
bin:
conc: dist/bin/concurrently.js
concurrently: dist/bin/concurrently.js
checksum: 0e9683196fe9c071d944345d21d8f34aa6c0cc50c0dd897e95619f2f1c9eb4871dca851b2569da17888235b7335b4c821ca19deed35bebcd9a131ee5d247f34c
languageName: node
linkType: hard

"console-control-strings@npm:^1.1.0":
version: 1.1.0
resolution: "console-control-strings@npm:1.1.0"
Expand Down Expand Up @@ -6371,6 +6391,15 @@ __metadata:
languageName: node
linkType: hard

"date-fns@npm:^2.30.0":
version: 2.30.0
resolution: "date-fns@npm:2.30.0"
dependencies:
"@babel/runtime": "npm:^7.21.0"
checksum: e4b521fbf22bc8c3db332bbfb7b094fd3e7627de0259a9d17c7551e2d2702608a7307a449206065916538e384f37b181565447ce2637ae09828427aed9cb5581
languageName: node
linkType: hard

"dayjs@npm:^1.10.0":
version: 1.11.10
resolution: "dayjs@npm:1.11.10"
Expand Down Expand Up @@ -8748,15 +8777,6 @@ __metadata:
languageName: node
linkType: hard

"hosted-git-info@npm:^7.0.0":
version: 7.0.1
resolution: "hosted-git-info@npm:7.0.1"
dependencies:
lru-cache: "npm:^10.0.1"
checksum: 361c4254f717f06d581a5a90aa0156a945e662e05ebbb533c1fa9935f10886d8247db48cbbcf9667f02e519e6479bf16dcdcf3124c3030e76c4c3ca2c88ee9d3
languageName: node
linkType: hard

"html-entities@npm:^2.4.0":
version: 2.4.0
resolution: "html-entities@npm:2.4.0"
Expand Down Expand Up @@ -9090,7 +9110,7 @@ __metadata:
languageName: node
linkType: hard

"is-core-module@npm:^2.11.0, is-core-module@npm:^2.12.1, is-core-module@npm:^2.13.0, is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1":
"is-core-module@npm:^2.11.0, is-core-module@npm:^2.12.1, is-core-module@npm:^2.13.0, is-core-module@npm:^2.5.0":
version: 2.13.1
resolution: "is-core-module@npm:2.13.1"
dependencies:
Expand Down Expand Up @@ -12411,18 +12431,6 @@ __metadata:
languageName: node
linkType: hard

"normalize-package-data@npm:^6.0.0":
version: 6.0.0
resolution: "normalize-package-data@npm:6.0.0"
dependencies:
hosted-git-info: "npm:^7.0.0"
is-core-module: "npm:^2.8.1"
semver: "npm:^7.3.5"
validate-npm-package-license: "npm:^3.0.4"
checksum: dbd7c712c1e016a4b682640a53b44e9290c9db7b94355c71234bafee1534bef4c5dc3970c30c7ee2c4990a3c07e963e15e211b61624d58eb857d867ec71d3bb6
languageName: node
linkType: hard

"normalize-path@npm:3, normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0":
version: 3.0.0
resolution: "normalize-path@npm:3.0.0"
Expand All @@ -12448,26 +12456,6 @@ __metadata:
languageName: node
linkType: hard

"npm-run-all2@npm:^6.1.1":
version: 6.1.1
resolution: "npm-run-all2@npm:6.1.1"
dependencies:
ansi-styles: "npm:^6.2.1"
cross-spawn: "npm:^7.0.3"
memorystream: "npm:^0.3.1"
minimatch: "npm:^9.0.0"
pidtree: "npm:^0.6.0"
read-pkg: "npm:^8.0.0"
shell-quote: "npm:^1.7.3"
bin:
npm-run-all: bin/npm-run-all/index.js
npm-run-all2: bin/npm-run-all/index.js
run-p: bin/run-p/index.js
run-s: bin/run-s/index.js
checksum: 7a6f87c3f677f1230c334ddc28bc5ae8927009dfd21cd287077a26aaa04a9db1a732e632bace919f7512747c39195458a79786c2ea7ab3aa193c5adb75a695c3
languageName: node
linkType: hard

"npm-run-all@npm:^4.1.5":
version: 4.1.5
resolution: "npm-run-all@npm:4.1.5"
Expand Down Expand Up @@ -12989,7 +12977,7 @@ __metadata:
languageName: node
linkType: hard

"pidtree@npm:0.6.0, pidtree@npm:^0.6.0":
"pidtree@npm:0.6.0":
version: 0.6.0
resolution: "pidtree@npm:0.6.0"
bin:
Expand Down Expand Up @@ -13423,18 +13411,6 @@ __metadata:
languageName: node
linkType: hard

"read-pkg@npm:^8.0.0":
version: 8.1.0
resolution: "read-pkg@npm:8.1.0"
dependencies:
"@types/normalize-package-data": "npm:^2.4.1"
normalize-package-data: "npm:^6.0.0"
parse-json: "npm:^7.0.0"
type-fest: "npm:^4.2.0"
checksum: e50846bbfbe73f4b8fd8c23c523b2e9f1d78467297a870ff94a9e6db7eb65445a4a392bf2896b7566c1715d36492d92d368f1c4b38996dd3942fd1865eb22936
languageName: node
linkType: hard

"read-yaml-file@npm:^1.1.0":
version: 1.1.0
resolution: "read-yaml-file@npm:1.1.0"
Expand Down Expand Up @@ -14846,6 +14822,15 @@ __metadata:
languageName: node
linkType: hard

"rxjs@npm:^7.8.1":
version: 7.8.1
resolution: "rxjs@npm:7.8.1"
dependencies:
tslib: "npm:^2.1.0"
checksum: 3c49c1ecd66170b175c9cacf5cef67f8914dcbc7cd0162855538d365c83fea631167cacb644b3ce533b2ea0e9a4d0b12175186985f89d75abe73dbd8f7f06f68
languageName: node
linkType: hard

"sade@npm:^1.7.3":
version: 1.8.1
resolution: "sade@npm:1.8.1"
Expand Down Expand Up @@ -15020,7 +15005,7 @@ __metadata:
languageName: node
linkType: hard

"shell-quote@npm:^1.6.1, shell-quote@npm:^1.7.3":
"shell-quote@npm:^1.6.1, shell-quote@npm:^1.8.1":
version: 1.8.1
resolution: "shell-quote@npm:1.8.1"
checksum: 8cec6fd827bad74d0a49347057d40dfea1e01f12a6123bf82c4649f3ef152fc2bc6d6176e6376bffcd205d9d0ccb4f1f9acae889384d20baff92186f01ea455a
Expand Down Expand Up @@ -15214,6 +15199,13 @@ __metadata:
languageName: node
linkType: hard

"spawn-command@npm:0.0.2":
version: 0.0.2
resolution: "spawn-command@npm:0.0.2"
checksum: b22f2d71239e6e628a400831861ba747750bbb40c0a53323754cf7b84330b73d81e40ff1f9055e6d1971818679510208a9302e13d9ff3b32feb67e74d7a1b3ef
languageName: node
linkType: hard

"spawndamnit@npm:^2.0.0":
version: 2.0.0
resolution: "spawndamnit@npm:2.0.0"
Expand Down Expand Up @@ -15578,7 +15570,7 @@ __metadata:
languageName: node
linkType: hard

"supports-color@npm:^8.0.0":
"supports-color@npm:^8.0.0, supports-color@npm:^8.1.1":
version: 8.1.1
resolution: "supports-color@npm:8.1.1"
dependencies:
Expand Down Expand Up @@ -15810,6 +15802,15 @@ __metadata:
languageName: node
linkType: hard

"tree-kill@npm:^1.2.2":
version: 1.2.2
resolution: "tree-kill@npm:1.2.2"
bin:
tree-kill: cli.js
checksum: 7b1b7c7f17608a8f8d20a162e7957ac1ef6cd1636db1aba92f4e072dc31818c2ff0efac1e3d91064ede67ed5dc57c565420531a8134090a12ac10cf792ab14d2
languageName: node
linkType: hard

"trim-newlines@npm:^3.0.0":
version: 3.0.1
resolution: "trim-newlines@npm:3.0.1"
Expand Down Expand Up @@ -15866,45 +15867,7 @@ __metadata:
languageName: node
linkType: hard

"ts-node@npm:^10.9.1":
version: 10.9.1
resolution: "ts-node@npm:10.9.1"
dependencies:
"@cspotcode/source-map-support": "npm:^0.8.0"
"@tsconfig/node10": "npm:^1.0.7"
"@tsconfig/node12": "npm:^1.0.7"
"@tsconfig/node14": "npm:^1.0.0"
"@tsconfig/node16": "npm:^1.0.2"
acorn: "npm:^8.4.1"
acorn-walk: "npm:^8.1.1"
arg: "npm:^4.1.0"
create-require: "npm:^1.1.0"
diff: "npm:^4.0.1"
make-error: "npm:^1.1.1"
v8-compile-cache-lib: "npm:^3.0.1"
yn: "npm:3.1.1"
peerDependencies:
"@swc/core": ">=1.2.50"
"@swc/wasm": ">=1.2.50"
"@types/node": "*"
typescript: ">=2.7"
peerDependenciesMeta:
"@swc/core":
optional: true
"@swc/wasm":
optional: true
bin:
ts-node: dist/bin.js
ts-node-cwd: dist/bin-cwd.js
ts-node-esm: dist/bin-esm.js
ts-node-script: dist/bin-script.js
ts-node-transpile-only: dist/bin-transpile.js
ts-script: dist/bin-script-deprecated.js
checksum: 95187932fb83f3901e22546bd2feeac7d2feb4f412f42ac3a595f049a23e8dcf70516dffb51866391228ea2dbcfaea039e250fb2bb334d48a86ab2b6aea0ae2d
languageName: node
linkType: hard

"ts-node@npm:^10.9.2":
"ts-node@npm:^10.9.1, ts-node@npm:^10.9.2":
version: 10.9.2
resolution: "ts-node@npm:10.9.2"
dependencies:
Expand Down Expand Up @@ -15942,7 +15905,7 @@ __metadata:
languageName: node
linkType: hard

"tslib@npm:1 || 2, tslib@npm:^2.5.0, tslib@npm:^2.6.0, tslib@npm:^2.6.2":
"tslib@npm:1 || 2, tslib@npm:^2.1.0, tslib@npm:^2.5.0, tslib@npm:^2.6.0, tslib@npm:^2.6.2":
version: 2.6.2
resolution: "tslib@npm:2.6.2"
checksum: e03a8a4271152c8b26604ed45535954c0a45296e32445b4b87f8a5abdb2421f40b59b4ca437c4346af0f28179780d604094eb64546bee2019d903d01c6c19bdb
Expand Down Expand Up @@ -16092,7 +16055,7 @@ __metadata:
languageName: node
linkType: hard

"type-fest@npm:^4.2.0, type-fest@npm:^4.8.2":
"type-fest@npm:^4.8.2":
version: 4.9.0
resolution: "type-fest@npm:4.9.0"
checksum: 7e6423f7337928a7323ce8a68cfbbaf30ecb70b9c635207899e58297d219c71be4a8c50b52afb9fe09c9f44b2c4276d0a44bb95acabab7bc942455f980aad267
Expand Down Expand Up @@ -16536,7 +16499,7 @@ __metadata:
languageName: node
linkType: hard

"validate-npm-package-license@npm:^3.0.1, validate-npm-package-license@npm:^3.0.4":
"validate-npm-package-license@npm:^3.0.1":
version: 3.0.4
resolution: "validate-npm-package-license@npm:3.0.4"
dependencies:
Expand Down Expand Up @@ -17056,7 +17019,7 @@ __metadata:
languageName: node
linkType: hard

"yargs@npm:^17.0.0, yargs@npm:^17.3.1, yargs@npm:^17.7.1":
"yargs@npm:^17.0.0, yargs@npm:^17.3.1, yargs@npm:^17.7.1, yargs@npm:^17.7.2":
version: 17.7.2
resolution: "yargs@npm:17.7.2"
dependencies:
Expand Down

0 comments on commit 9633772

Please sign in to comment.