From 5b0a727bce5f0f255ba306f71d274c4a4493145b Mon Sep 17 00:00:00 2001 From: ianshaloom Date: Sun, 8 Mar 2026 04:38:54 +0300 Subject: [PATCH] fix(ci): replace turbo-pruned lockfile with full root lockfile to fix @heroui/react missing in Docker turbo prune cannot fully parse the npm 11 lockfile format, causing it to generate an incomplete out/package-lock.json that drops non-hoisted workspace entries (apps/storefront/node_modules/@heroui/react and related packages). Replacing it with the full root lockfile ensures npm ci in the Docker deps stage installs all packages including non-hoisted ones. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/deploy-staging.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/deploy-staging.yml b/.gitea/workflows/deploy-staging.yml index 82669ee..c45d15a 100644 --- a/.gitea/workflows/deploy-staging.yml +++ b/.gitea/workflows/deploy-staging.yml @@ -88,6 +88,11 @@ jobs: # "Module not found: convex/_generated/api" at build time. # Copy it manually so the Dockerfile has the generated types it needs. cp -r convex out/full/convex + # turbo prune cannot fully parse the npm 11 lockfile format, so it generates + # an incomplete out/package-lock.json that omits non-hoisted workspace entries + # (e.g. apps/storefront/node_modules/@heroui/react). Replace it with the full + # root lockfile so that npm ci in Docker installs every package correctly. + cp package-lock.json out/package-lock.json - name: Authenticate with registry # docker login sends HTTPS even for HTTP-only (insecure) registries, so it