mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-08 01:16:45 +08:00
fix(deploy): retain pnpm patches in Vercel and web Docker builds (MUL-7999) (#9229)
* fix(deploy): retain pnpm patch files in Vercel uploads (MUL-7999) Co-authored-by: multica-agent <[email protected]> * fix(deploy): include pnpm patches in web Docker builds (MUL-7999) Co-authored-by: multica-agent <[email protected]> --------- Co-authored-by: Sol-Boy <[email protected]> Co-authored-by: multica-agent <[email protected]>
This commit is contained in:
co-authored by
multica-agent
Sol-Boy
parent
691e5b48c0
commit
765267e123
+6
-2
@@ -35,10 +35,14 @@ coverage
|
||||
/docs/
|
||||
*.md
|
||||
|
||||
# Only the web workspace is used by Dockerfile.web. Default-exclude future
|
||||
# app workspaces so they do not silently enter the build context.
|
||||
# Dockerfile.web needs the web workspace and root dependency patch inputs.
|
||||
# Default-exclude other app files so they do not enter the build context.
|
||||
/apps/*
|
||||
!/apps/web/
|
||||
!/apps/mobile
|
||||
/apps/mobile/*
|
||||
!/apps/mobile/patches
|
||||
!/apps/mobile/patches/**
|
||||
|
||||
# Repository-only tooling
|
||||
/.github/
|
||||
|
||||
@@ -36,6 +36,11 @@ _features
|
||||
!/apps/web/**
|
||||
!/apps/docs
|
||||
!/apps/docs/**
|
||||
# Root pnpm patchedDependencies needs these files even for frontend-only installs.
|
||||
!/apps/mobile
|
||||
/apps/mobile/*
|
||||
!/apps/mobile/patches
|
||||
!/apps/mobile/patches/**
|
||||
/scripts/
|
||||
|
||||
*.log
|
||||
|
||||
@@ -8,6 +8,8 @@ COPY pnpm-lock.yaml pnpm-workspace.yaml package.json turbo.json .npmrc ./
|
||||
COPY apps/web/package.json apps/web/
|
||||
# postinstall runs fumadocs-mdx which reads apps/web/source.config.ts
|
||||
COPY apps/web/source.config.ts apps/web/source.config.ts
|
||||
# Root pnpm patchedDependencies is read even without the mobile workspace.
|
||||
COPY apps/mobile/patches/ apps/mobile/patches/
|
||||
COPY packages/core/package.json packages/core/
|
||||
COPY packages/ui/package.json packages/ui/
|
||||
COPY packages/views/package.json packages/views/
|
||||
|
||||
Reference in New Issue
Block a user