Skip to content

Commit

Permalink
fix(infra): when upgrading to pnpm 7.28.0 we didn't update the images
Browse files Browse the repository at this point in the history
  • Loading branch information
p-fernandez committed Mar 9, 2023
1 parent 00538e1 commit a7fe6f0
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM nikolaik/python-nodejs:python3.10-nodejs16-alpine as dev_base

RUN npm i pm2 -g
RUN npm --no-update-notifier --no-fund --global install pnpm@7.27.0
RUN npm --no-update-notifier --no-fund --global install pnpm@7.28.0
RUN pnpm --version

WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion apps/inbound-mail/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM nikolaik/python-nodejs:python3.10-nodejs16-alpine as dev_base

RUN npm i pm2 -g
RUN npm --no-update-notifier --no-fund --global install pnpm@7.27.0
RUN npm --no-update-notifier --no-fund --global install pnpm@7.28.0
RUN pnpm --version

WORKDIR /usr/src/app
Expand Down
4 changes: 2 additions & 2 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM nikolaik/python-nodejs:python3.10-nodejs16-alpine as builder
WORKDIR /usr/src/app

RUN apk add --no-cache bash
RUN npm install -g pnpm@7.27.0 --loglevel notice
RUN npm install -g pnpm@7.28.0 --loglevel notice

COPY .npmrc .
COPY package.json .
Expand Down Expand Up @@ -41,7 +41,7 @@ FROM node:16-alpine
WORKDIR /app

RUN apk add --no-cache bash
RUN npm install -g pnpm@7.27.0 http-server --loglevel notice
RUN npm install -g pnpm@7.28.0 http-server --loglevel notice

COPY --from=builder /usr/src/app/apps/web/env.sh /app/env.sh
COPY --from=builder /usr/src/app/apps/web/.env /app/.env
Expand Down
2 changes: 1 addition & 1 deletion apps/webhook/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM nikolaik/python-nodejs:python3.10-nodejs16-alpine as dev_base

RUN npm i pm2 -g
RUN npm --no-update-notifier --no-fund --global install pnpm@7.27.0
RUN npm --no-update-notifier --no-fund --global install pnpm@7.28.0
RUN pnpm --version

WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion apps/widget/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM nikolaik/python-nodejs:python3.10-nodejs16-alpine
WORKDIR /usr/src/app

RUN apk add --no-cache bash
RUN npm install -g pnpm@7.27.0 --loglevel notice
RUN npm install -g pnpm@7.28.0 --loglevel notice

COPY .npmrc .
COPY package.json .
Expand Down
2 changes: 1 addition & 1 deletion apps/ws/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:16-alpine3.16

WORKDIR /usr/src/app

RUN npm install -g pnpm@7.27.0 --loglevel notice
RUN npm install -g pnpm@7.28.0 --loglevel notice
RUN npm i pm2 -g

COPY .npmrc .
Expand Down
2 changes: 1 addition & 1 deletion libs/embed/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM nikolaik/python-nodejs:python3.10-nodejs16-alpine

WORKDIR /usr/src/app

RUN npm install -g pnpm@7.27.0 --loglevel notice --force
RUN npm install -g pnpm@7.28.0 --loglevel notice --force

COPY .npmrc .
COPY package.json .
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"publish": "lerna publish from-package",
"setup:project": "npx --yes pnpm@7.27.0 i && node scripts/setup-env-files.js && pnpm build",
"setup:project": "npx --yes pnpm@7.28.0 i && node scripts/setup-env-files.js && pnpm build",
"install:docs": "pnpm install --filter @novu/docs",
"clean": "lerna clean --yes && npm run prebuild",
"commit": "cz",
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev-environment-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ install_nvm () {

# PNPM is the package manager used in Novu's monorepo
install_pnpm () {
PNPM_VERSION="7.27.0"
PNPM_VERSION="7.28.0"
TEST_PNPM_CMD=$(execute_command_without_error_print "pnpm --version")
if [[ -z "$TEST_PNPM_CMD" ]] || [[ "$TEST_PNPM_CMD" == "zsh: command not found: pnpm" ]]; then
installing_dependency "PNPM $PNPM_VERSION"
Expand Down

0 comments on commit a7fe6f0

Please sign in to comment.