Build yarn workspaces in parallel

This commit is contained in:
Laura Hausmann 2023-08-20 21:44:55 +02:00
parent 7aaf6b2059
commit a112f77ae0
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -9,7 +9,7 @@
"private": true,
"scripts": {
"rebuild": "clean && node ./scripts/build-greet.js && yarn workspace iceshrimp-js build && yarn workspaces foreach -pi run build && gulp",
"build": "node ./scripts/build-greet.js && yarn workspace iceshrimp-js run build && yarn workspaces foreach run build && gulp",
"build": "node ./scripts/build-greet.js && yarn workspace iceshrimp-js run build && yarn workspaces foreach -pt run build && gulp",
"start": "yarn workspace backend run start",
"start:test": "yarn workspace backend run start:test",
"init": "yarn migrate",