chore: bump pnpm version

This commit is contained in:
Mrugesh Mohapatra
2024-05-08 16:20:17 +05:30
parent 7c6161c489
commit dabea4a904
30 changed files with 16247 additions and 11877 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
FROM node:20-bookworm AS builder
# global installs need root permissions, so have to happen before we switch to
# the node user
RUN npm i -g pnpm@8
RUN npm i -g pnpm@9
# node images create a non-root user that we can use
USER node
WORKDIR /home/node/build
@@ -40,7 +40,7 @@ COPY --chown=node:node pnpm*.yaml .
COPY --chown=node:node api-server/package.json api-server/package.json
COPY --chown=node:node shared/package.json shared/package.json
RUN npm i -g pnpm@8
RUN npm i -g pnpm@9
# Prevent pnpm installing unnecessary packages (see above)
RUN pnpm config set dedupe-peer-dependents false
RUN pnpm -F=api-server -F=shared install --prod --ignore-scripts
+2 -2
View File
@@ -2,7 +2,7 @@ FROM node:20-bookworm AS builder
RUN apt-get update && apt-get install -y jq
# global installs need root permissions, so have to happen before we switch to
# the node user
RUN npm i -g pnpm@8
RUN npm i -g pnpm@9
# node images create a non-root user that we can use
USER node
WORKDIR /home/node/build
@@ -42,7 +42,7 @@ WORKDIR /home/node/build
COPY --chown=node:node pnpm*.yaml .
COPY --chown=node:node api/ api/
COPY --chown=node:node shared/ shared/
RUN npm i -g pnpm@8
RUN npm i -g pnpm@9
# Weirdly this config does not seem necessary for the new api (the same number
# of deps are installed in both cases), but I'm including it just for
+1 -1
View File
@@ -1,7 +1,7 @@
FROM node:20-bookworm AS builder
# global installs need root permissions, so have to happen before we switch to
# the node user
RUN npm i -g pnpm@8
RUN npm i -g pnpm@9
# node images create a non-root user that we can use
USER node
WORKDIR /home/node/build