mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
chore: gitignore pnpm-lock.yaml, keep pnpm-workspace.yaml tracked
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,6 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'apps/api/**'
|
- 'apps/api/**'
|
||||||
- 'docker-compose.yml'
|
- 'docker-compose.yml'
|
||||||
- 'pnpm-lock.yaml'
|
|
||||||
- 'pnpm-workspace.yaml'
|
- 'pnpm-workspace.yaml'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'apps/api/**'
|
- 'apps/api/**'
|
||||||
- 'docker-compose.yml'
|
- 'docker-compose.yml'
|
||||||
- 'pnpm-lock.yaml'
|
|
||||||
- 'pnpm-workspace.yaml'
|
- 'pnpm-workspace.yaml'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
# ── Dependencies ──────────────────────────────────────────────────────────────
|
# ── Dependencies ──────────────────────────────────────────────────────────────
|
||||||
node_modules/
|
node_modules/
|
||||||
|
pnpm-lock.yaml
|
||||||
|
|
||||||
# ── Environment / Secrets ─────────────────────────────────────────────────────
|
# ── Environment / Secrets ─────────────────────────────────────────────────────
|
||||||
.env
|
.env
|
||||||
|
|||||||
+5
-3
@@ -16,11 +16,13 @@ WORKDIR /app
|
|||||||
|
|
||||||
# Workspace manifests first (cache-friendly), then a filtered install —
|
# Workspace manifests first (cache-friendly), then a filtered install —
|
||||||
# pnpm needs every workspace package's manifest present to resolve the
|
# pnpm needs every workspace package's manifest present to resolve the
|
||||||
# graph even though only apps/api's deps get installed here.
|
# graph even though only apps/api's deps get installed here. pnpm-lock.yaml
|
||||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
# is gitignored (not committed), so this resolves fresh on every build
|
||||||
|
# rather than installing from a frozen lockfile.
|
||||||
|
COPY package.json pnpm-workspace.yaml ./
|
||||||
COPY apps/api/package.json ./apps/api/package.json
|
COPY apps/api/package.json ./apps/api/package.json
|
||||||
COPY apps/web/package.json ./apps/web/package.json
|
COPY apps/web/package.json ./apps/web/package.json
|
||||||
RUN pnpm install --frozen-lockfile --filter api...
|
RUN pnpm install --filter api...
|
||||||
|
|
||||||
COPY apps/api ./apps/api
|
COPY apps/api ./apps/api
|
||||||
|
|
||||||
|
|||||||
Generated
-12112
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user