From 2328dc3444b8bcae9a134bc859858521d4c31f19 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Wed, 16 Apr 2025 14:52:29 +0000 Subject: build: Take over the build command in the installation script --- apps/web/package.json | 2 +- karakeep-linux.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/package.json b/apps/web/package.json index 5279dad8..1b26b183 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -7,7 +7,7 @@ "scripts": { "dev": "next dev", "clean": "git clean -xdf .next .turbo node_modules", - "build": "next build", + "build": "next build --experimental-build-mode compile", "start": "next start", "lint": "next lint", "test": "vitest", diff --git a/karakeep-linux.sh b/karakeep-linux.sh index 4e7123df..bb7cff8d 100644 --- a/karakeep-linux.sh +++ b/karakeep-linux.sh @@ -79,7 +79,7 @@ install() { export PUPPETEER_SKIP_DOWNLOAD="true" export CI="true" pnpm i --frozen-lockfile - pnpm exec next build --experimental-build-mode compile + pnpm build cd "$INSTALL_DIR"/apps/workers pnpm i --frozen-lockfile cd "$INSTALL_DIR"/apps/cli @@ -281,7 +281,7 @@ update() { export PUPPETEER_SKIP_DOWNLOAD="true" export CI="true" cd "$INSTALL_DIR"/apps/web && pnpm i --frozen-lockfile - pnpm exec next build --experimental-build-mode compile + pnpm build cd "$INSTALL_DIR"/apps/workers && pnpm i --frozen-lockfile cd "$INSTALL_DIR"/apps/cli && pnpm i --frozen-lockfile pnpm build -- cgit v1.2.3-70-g09d2