From 9f80d7fe435b259b50934431fa29872781fdb5f2 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 27 Mar 2024 16:59:45 +0000 Subject: [PATCH 1/2] Adding a mechanism to split build of account portal and monorepo. --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 79a7b06eff..32693a0b6f 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,8 @@ "get-past-client-version": "node scripts/getPastClientVersion.js", "setup": "git config submodule.recurse true && git submodule update && node ./hosting/scripts/setup.js && yarn && yarn build && yarn dev", "build": "NODE_OPTIONS=--max-old-space-size=1500 lerna run build --stream", + "build:oss": "NODE_OPTIONS=--max-old-space-size=1500 lerna run build --stream --ignore @budibase/account-portal --ignore @budibase/account-portal-server --ignore @budibase/account-portal-ui", + "build:account-portal": "NODE_OPTIONS=--max-old-space-size=1500 lerna run build --stream --scope @budibase/account-portal --scope @budibase/account-portal-server --scope @budibase/account-portal-ui", "build:dev": "lerna run --stream prebuild && yarn nx run-many --target=build --output-style=dynamic --watch --preserveWatchOutput", "check:types": "lerna run check:types", "build:sdk": "lerna run --stream build:sdk", From 84f87c4a48e17be36fc1ee866c57a93e4a09f80a Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 27 Mar 2024 17:00:56 +0000 Subject: [PATCH 2/2] Updating CI. --- .github/workflows/budibase_ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index a9cb89d4e6..030ad6578e 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -65,7 +65,9 @@ jobs: # Run build all the projects - name: Build - run: yarn build + run: | + yarn build:oss + yarn build:account-portal # Check the types of the projects built via esbuild - name: Check types run: |