Merge pull request #101 from trails-cool/fix-pnpm-build-scripts
Fix pnpm build scripts: use onlyBuiltDependencies
This commit is contained in:
commit
cdfd23abc2
3 changed files with 2 additions and 3 deletions
|
|
@ -12,7 +12,6 @@ COPY packages/gpx/package.json packages/gpx/
|
|||
COPY packages/i18n/package.json packages/i18n/
|
||||
COPY packages/db/package.json packages/db/
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN pnpm approve-builds @sentry/cli esbuild && pnpm install --frozen-lockfile
|
||||
|
||||
FROM base AS build
|
||||
COPY --from=deps /app/ ./
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ COPY packages/gpx/package.json packages/gpx/
|
|||
COPY packages/i18n/package.json packages/i18n/
|
||||
COPY packages/db/package.json packages/db/
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN pnpm approve-builds @sentry/cli esbuild && pnpm install --frozen-lockfile
|
||||
|
||||
FROM base AS build
|
||||
COPY --from=deps /app/ ./
|
||||
|
|
|
|||
|
|
@ -25,7 +25,8 @@
|
|||
"pnpm": {
|
||||
"overrides": {
|
||||
"picomatch@>=4.0.0 <4.0.4": "4.0.4"
|
||||
}
|
||||
},
|
||||
"onlyBuiltDependencies": ["@sentry/cli", "esbuild"]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue