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 2, 2024
1 parent 25bd7fb commit 30f1b90
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 83 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": "^2.8.8",
"react": "^18.2.0",
Expand Down
148 changes: 68 additions & 80 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.21.4, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5":
"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5":
version: 7.23.5
resolution: "@babel/code-frame@npm:7.23.5"
dependencies:
Expand Down Expand Up @@ -1976,7 +1976,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/runtime@npm:^7.20.1, @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.5.5, @babel/runtime@npm:^7.8.4":
version: 7.23.7
resolution: "@babel/runtime@npm:7.23.7"
dependencies:
Expand Down Expand Up @@ -3466,11 +3466,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:^2.8.8"
react: "npm:^18.2.0"
Expand Down Expand Up @@ -4254,7 +4254,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 @@ -5904,6 +5904,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 @@ -6164,6 +6184,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 @@ -8483,15 +8512,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 @@ -8825,7 +8845,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 @@ -10202,7 +10222,7 @@ __metadata:
languageName: node
linkType: hard

"lines-and-columns@npm:^2.0.2, lines-and-columns@npm:^2.0.3":
"lines-and-columns@npm:^2.0.2":
version: 2.0.4
resolution: "lines-and-columns@npm:2.0.4"
checksum: 4db28bf065cd7ad897c0700f22d3d0d7c5ed6777e138861c601c496d545340df3fc19e18bd04ff8d95a246a245eb55685b82ca2f8c2ca53a008e9c5316250379
Expand Down Expand Up @@ -11854,18 +11874,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 @@ -11891,26 +11899,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 @@ -12304,19 +12292,6 @@ __metadata:
languageName: node
linkType: hard

"parse-json@npm:^7.0.0":
version: 7.1.1
resolution: "parse-json@npm:7.1.1"
dependencies:
"@babel/code-frame": "npm:^7.21.4"
error-ex: "npm:^1.3.2"
json-parse-even-better-errors: "npm:^3.0.0"
lines-and-columns: "npm:^2.0.3"
type-fest: "npm:^3.8.0"
checksum: a85ebc7430af7763fa52eb456d7efd35c35be5b06f04d8d80c37d0d33312ac6cdff12647acb9c95448dcc8b907dfafa81fb126e094aa132b0abc2a71b9df51d5
languageName: node
linkType: hard

"parse-passwd@npm:^1.0.0":
version: 1.0.0
resolution: "parse-passwd@npm:1.0.0"
Expand Down Expand Up @@ -12458,7 +12433,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 @@ -12882,18 +12857,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 @@ -14318,6 +14281,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 @@ -14501,7 +14473,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 @@ -14695,6 +14667,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 @@ -15048,7 +15027,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 @@ -15280,6 +15259,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 @@ -15365,7 +15353,7 @@ __metadata:
languageName: node
linkType: hard

"tslib@npm:1 || 2, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.5.3, tslib@npm:^2.6.0, tslib@npm:^2.6.1, tslib@npm:^2.6.2":
"tslib@npm:1 || 2, tslib@npm:^2.1.0, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.5.3, tslib@npm:^2.6.0, tslib@npm:^2.6.1, tslib@npm:^2.6.2":
version: 2.6.2
resolution: "tslib@npm:2.6.2"
checksum: e03a8a4271152c8b26604ed45535954c0a45296e32445b4b87f8a5abdb2421f40b59b4ca437c4346af0f28179780d604094eb64546bee2019d903d01c6c19bdb
Expand Down Expand Up @@ -15508,14 +15496,14 @@ __metadata:
languageName: node
linkType: hard

"type-fest@npm:^3.0.0, type-fest@npm:^3.8.0":
"type-fest@npm:^3.0.0":
version: 3.13.1
resolution: "type-fest@npm:3.13.1"
checksum: 547d22186f73a8c04590b70dcf63baff390078c75ea8acd366bbd510fd0646e348bd1970e47ecf795b7cff0b41d26e9c475c1fedd6ef5c45c82075fbf916b629
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 @@ -15972,7 +15960,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 @@ -16482,7 +16470,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 30f1b90

Please sign in to comment.