chore: pin pnpm v9 as the package manager (#4728)
This commit is contained in:
parent
e967b3361d
commit
9c5ade8cc5
2 changed files with 4 additions and 3 deletions
|
|
@ -5,6 +5,7 @@
|
|||
"author": "Hoppscotch (support@hoppscotch.io)",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"packageManager": "pnpm@9.15.4",
|
||||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"prepare": "husky",
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ ENV HOPP_ALLOW_RUNTIME_ENV=true
|
|||
# Required by @hoppscotch/js-sandbox to build `isolated-vm`
|
||||
RUN apk add python3 make g++ zlib-dev brotli-dev c-ares-dev nghttp2-dev openssl-dev icu-dev
|
||||
|
||||
RUN npm install -g pnpm
|
||||
RUN npm install -g pnpm@9.15.4
|
||||
COPY pnpm-lock.yaml .
|
||||
RUN pnpm fetch
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ RUN sh -c "curl -qL https://www.npmjs.com/install.sh | env npm_install=10.9.2 sh
|
|||
# Install caddy
|
||||
COPY --from=caddy_builder /tmp/caddy-build/cmd/caddy/caddy /usr/bin/caddy
|
||||
|
||||
RUN npm install -g pnpm
|
||||
RUN npm install -g pnpm@9.15.4
|
||||
|
||||
COPY --from=base_builder /usr/src/app/packages/hoppscotch-backend/backend.Caddyfile /etc/caddy/backend.Caddyfile
|
||||
COPY --from=backend_builder /dist/backend /dist/backend
|
||||
|
|
@ -181,7 +181,7 @@ LABEL org.opencontainers.image.source="https://github.com/hoppscotch/hoppscotch"
|
|||
|
||||
RUN apk add tini
|
||||
|
||||
RUN npm install -g pnpm
|
||||
RUN npm install -g pnpm@9.15.4
|
||||
|
||||
# Copy necessary files
|
||||
# Backend files
|
||||
|
|
|
|||
Loading…
Reference in a new issue