[yarn] Add build:rewrite command for faster builds

This commit is contained in:
Laura Hausmann 2023-12-15 16:56:23 +01:00
parent fd1b29e7ef
commit 80fbba219b
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -7,8 +7,9 @@
},
"private": true,
"scripts": {
"rebuild": "clean && node ./scripts/build-greet.js && yarn workspace iceshrimp-js build && yarn workspaces foreach -Apitv run build && gulp",
"rebuild": "clean && node ./scripts/build-greet.js && yarn workspace iceshrimp-js build && yarn workspaces foreach -Apitv run build && gulp",
"build": "node ./scripts/build-greet.js && yarn workspace iceshrimp-js run build && yarn workspaces foreach -Apitv run build && gulp",
"build:rewrite": "node ./scripts/build-greet.js && yarn workspaces foreach -Apitv --exclude client --exclude iceshrimp run build && gulp",
"build:debug": "node ./scripts/build-greet.js && yarn workspace iceshrimp-js run build:debug && yarn workspaces foreach -Apitv run build:debug && gulp",
"start": "yarn workspace backend run start",
"start:debug": "yarn workspace backend run start:debug",