From f308f4a90637e075ff23f8eee90fceadb98290c2 Mon Sep 17 00:00:00 2001 From: Johann Grobe <123082619+johanngrobe@users.noreply.github.com> Date: Mon, 30 Nov 2026 21:59:59 +0100 Subject: [PATCH] Fix/bookorbit build (#19227) * BookOrbit: build the shared types package before the client Since 3.11.0 the client imports prop types from @bookorbit/types, which Vue's SFC compiler resolves from the package's built declarations. Co-Authored-By: Claude Opus 5.5 * BookOrbit: drop comment Co-Authored-By: Claude Opus 5.5 --------- Co-authored-by: Claude Opus 5.5 --- ct/bookorbit.sh | 1 + install/bookorbit-install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ct/bookorbit.sh b/ct/bookorbit.sh index 9a12774f9..b3ee23e05 100644 --- a/ct/bookorbit.sh +++ b/ct/bookorbit.sh @@ -48,6 +48,7 @@ function update_script() { $STD corepack prepare "pnpm@${PNPM_VERSION}" --activate $STD pnpm install --frozen-lockfile + $STD pnpm --filter @bookorbit/types run build # vite's bundler (rolldown) crashes at random on some builds, rolldown#10860. for attempt in 1 2 3; do $STD pnpm --filter client run build-only && break diff --git a/install/bookorbit-install.sh b/install/bookorbit-install.sh index 074d23fdf..2f7d1d332 100644 --- a/install/bookorbit-install.sh +++ b/install/bookorbit-install.sh @@ -33,6 +33,7 @@ PNPM_VERSION=$(jq -r '.packageManager | ltrimstr("pnpm@")' /opt/bookorbit/packag $STD corepack prepare "pnpm@${PNPM_VERSION}" --activate $STD pnpm install --frozen-lockfile +$STD pnpm --filter @bookorbit/types run build # vite's bundler (rolldown) crashes at random on some builds, rolldown#10860. for attempt in 1 2 3; do $STD pnpm --filter client run build-only && break