From 80fbba219b2dbc53a038688bb07808e12cc81dfd Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Fri, 15 Dec 2023 16:56:23 +0100 Subject: [PATCH] [yarn] Add build:rewrite command for faster builds --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7cc9f21d2..c2c382033 100644 --- a/package.json +++ b/package.json @@ -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",