Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: pin pnpm v9 as the package manager (#4728)
Andrew Bastin9c5ade8cc5f6
diff --git a/package.json b/package.jsonindex 6c377c813..2278ff49f 100644--- a/package.json+++ b/package.json@@ -5,6 +5,7 @@"author": "Hoppscotch ([email protected])","private": true,"license": "MIT",+ "packageManager": "[email protected]","scripts": {"preinstall": "npx only-allow pnpm","prepare": "husky",diff --git a/prod.Dockerfile b/prod.Dockerfileindex 60c6be556..bce9cdaaa 100644--- a/prod.Dockerfile+++ b/prod.Dockerfile@@ -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 [email protected]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 caddyCOPY --from=caddy_builder /tmp/caddy-build/cmd/caddy/caddy /usr/bin/caddy-RUN npm install -g pnpm+RUN npm install -g [email protected]COPY --from=base_builder /usr/src/app/packages/hoppscotch-backend/backend.Caddyfile /etc/caddy/backend.CaddyfileCOPY --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 [email protected]# Copy necessary files# Backend files