Skip to content

Commit ff6a5da

Browse files
committed
(chore) Run verify scripts in parallel using turbo
Replaces `concurrently` with `turbo` for running lint, test, and typescript scripts in parallel. We already have `turbo` as a dev dependency, so this should be a drop-in replacement. Additionally, we're already using `turbo` to run the same scripts in the CI pipeline.
1 parent 98e1758 commit ff6a5da

File tree

2 files changed

+4
-58
lines changed

2 files changed

+4
-58
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"test": "jest --config jest.config.js --verbose",
1818
"test:watch": "jest --config jest.config.js --watch",
1919
"test-e2e": "playwright test",
20-
"verify": "concurrently 'yarn:lint' 'yarn:test' 'yarn:typescript'",
20+
"verify": "turbo run lint test typescript",
2121
"coverage": "yarn test -- --coverage",
2222
"prepare": "husky install",
2323
"extract-translations": "i18next 'src/**/*.component.tsx' 'src/**/*.modal.tsx' 'src/**/*.extension.tsx' 'src/**/*.workspace.tsx' 'src/index.ts' --config ./tools/i18next-parser-config.js"
@@ -76,7 +76,6 @@
7676
"@types/webpack-env": "^1.18.0",
7777
"@typescript-eslint/eslint-plugin": "^7.9.0",
7878
"@typescript-eslint/parser": "^7.9.0",
79-
"concurrently": "^7.6.0",
8079
"css-loader": "^6.7.3",
8180
"dayjs": "^1.11.7",
8281
"eslint": "^8.50.0",

yarn.lock

Lines changed: 3 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -3107,7 +3107,6 @@ __metadata:
31073107
"@typescript-eslint/eslint-plugin": "npm:^7.9.0"
31083108
"@typescript-eslint/parser": "npm:^7.9.0"
31093109
classnames: "npm:^2.3.2"
3110-
concurrently: "npm:^7.6.0"
31113110
css-loader: "npm:^6.7.3"
31123111
dayjs: "npm:^1.11.7"
31133112
dotenv: "npm:^16.3.1"
@@ -8258,26 +8257,6 @@ __metadata:
82588257
languageName: node
82598258
linkType: hard
82608259

8261-
"concurrently@npm:^7.6.0":
8262-
version: 7.6.0
8263-
resolution: "concurrently@npm:7.6.0"
8264-
dependencies:
8265-
chalk: "npm:^4.1.0"
8266-
date-fns: "npm:^2.29.1"
8267-
lodash: "npm:^4.17.21"
8268-
rxjs: "npm:^7.0.0"
8269-
shell-quote: "npm:^1.7.3"
8270-
spawn-command: "npm:^0.0.2-1"
8271-
supports-color: "npm:^8.1.0"
8272-
tree-kill: "npm:^1.2.2"
8273-
yargs: "npm:^17.3.1"
8274-
bin:
8275-
conc: dist/bin/concurrently.js
8276-
concurrently: dist/bin/concurrently.js
8277-
checksum: 10/502f3f1df8093ec690866622dba04fc1c7a0e92dcb27532cc860d4b20c442cc9f6c3292074550bdafb5ad247dc5c147c068ce9dd27e55316f877d88e99546696
8278-
languageName: node
8279-
linkType: hard
8280-
82818260
"config-chain@npm:^1.1.11":
82828261
version: 1.1.13
82838262
resolution: "config-chain@npm:1.1.13"
@@ -9099,13 +9078,6 @@ __metadata:
90999078
languageName: node
91009079
linkType: hard
91019080

9102-
"date-fns@npm:^2.29.1":
9103-
version: 2.29.3
9104-
resolution: "date-fns@npm:2.29.3"
9105-
checksum: 10/05b6ce6093ed2a09aafe89bb7a6d51ff72971341d7db1e531299d117df305c4a9f408bcdd533687622ae820ba9ea8859437b12074d7043b76325c7828e5d41fc
9106-
languageName: node
9107-
linkType: hard
9108-
91099081
"date-fns@npm:^4.1.0":
91109082
version: 4.1.0
91119083
resolution: "date-fns@npm:4.1.0"
@@ -16225,15 +16197,6 @@ __metadata:
1622516197
languageName: node
1622616198
linkType: hard
1622716199

16228-
"rxjs@npm:^7.0.0":
16229-
version: 7.8.0
16230-
resolution: "rxjs@npm:7.8.0"
16231-
dependencies:
16232-
tslib: "npm:^2.1.0"
16233-
checksum: 10/ff9359cc7875edecc8fc487481366b876b488901178cca8f2bdad03e00d2b5a19b01d2b02d3b4ebd47e574264db8460c6c2386076c3189b359b5e8c70a6e51e3
16234-
languageName: node
16235-
linkType: hard
16236-
1623716200
"safe-array-concat@npm:^1.1.2":
1623816201
version: 1.1.2
1623916202
resolution: "safe-array-concat@npm:1.1.2"
@@ -16597,7 +16560,7 @@ __metadata:
1659716560
languageName: node
1659816561
linkType: hard
1659916562

16600-
"shell-quote@npm:^1.7.3, shell-quote@npm:^1.8.1":
16563+
"shell-quote@npm:^1.8.1":
1660116564
version: 1.8.2
1660216565
resolution: "shell-quote@npm:1.8.2"
1660316566
checksum: 10/3ae4804fd80a12ba07650d0262804ae3b479a62a6b6971a6dc5fa12995507aa63d3de3e6a8b7a8d18f4ce6eb118b7d75db7fcb2c0acbf016f210f746b10cfe02
@@ -16846,13 +16809,6 @@ __metadata:
1684616809
languageName: node
1684716810
linkType: hard
1684816811

16849-
"spawn-command@npm:^0.0.2-1":
16850-
version: 0.0.2-1
16851-
resolution: "spawn-command@npm:0.0.2-1"
16852-
checksum: 10/f59fd2f16c8ffe46afda588134697ba4f1e2032b216baf7c134a66a0b3d48df323ee46c367f273eb7f7bb8c68b8296ca6b49aac6530cedb4b6785302d238c411
16853-
languageName: node
16854-
linkType: hard
16855-
1685616812
"spdx-correct@npm:^3.0.0":
1685716813
version: 3.1.1
1685816814
resolution: "spdx-correct@npm:3.1.1"
@@ -17249,7 +17205,7 @@ __metadata:
1724917205
languageName: node
1725017206
linkType: hard
1725117207

17252-
"supports-color@npm:^8.0.0, supports-color@npm:^8.1.0":
17208+
"supports-color@npm:^8.0.0":
1725317209
version: 8.1.1
1725417210
resolution: "supports-color@npm:8.1.1"
1725517211
dependencies:
@@ -17599,15 +17555,6 @@ __metadata:
1759917555
languageName: node
1760017556
linkType: hard
1760117557

17602-
"tree-kill@npm:^1.2.2":
17603-
version: 1.2.2
17604-
resolution: "tree-kill@npm:1.2.2"
17605-
bin:
17606-
tree-kill: cli.js
17607-
checksum: 10/49117f5f410d19c84b0464d29afb9642c863bc5ba40fcb9a245d474c6d5cc64d1b177a6e6713129eb346b40aebb9d4631d967517f9fbe8251c35b21b13cd96c7
17608-
languageName: node
17609-
linkType: hard
17610-
1761117558
"trim-repeated@npm:^2.0.0":
1761217559
version: 2.0.0
1761317560
resolution: "trim-repeated@npm:2.0.0"
@@ -17647,7 +17594,7 @@ __metadata:
1764717594
languageName: node
1764817595
linkType: hard
1764917596

17650-
"tslib@npm:2, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.6.2, tslib@npm:^2.8.0, tslib@npm:^2.8.1":
17597+
"tslib@npm:2, tslib@npm:^2.0.3, tslib@npm:^2.6.2, tslib@npm:^2.8.0, tslib@npm:^2.8.1":
1765117598
version: 2.8.1
1765217599
resolution: "tslib@npm:2.8.1"
1765317600
checksum: 10/3e2e043d5c2316461cb54e5c7fe02c30ef6dccb3384717ca22ae5c6b5bc95232a6241df19c622d9c73b809bea33b187f6dbc73030963e29950c2141bc32a79f7

0 commit comments

Comments
 (0)