Skip to content

Commit

Permalink
Merge pull request #4528 from novuhq/pnpm-upgrade
Browse files Browse the repository at this point in the history
PNPM upgrade
  • Loading branch information
scopsy authored Oct 15, 2023
2 parents fe13f31 + 3c55e0e commit 5501333
Show file tree
Hide file tree
Showing 25 changed files with 13,675 additions and 11,345 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN . /etc/os-release \
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"

# [Optional] Uncomment if you want to install more global node modules
RUN su node -c "npm install -g pnpm@7.33.4"
RUN su node -c "npm install -g pnpm@8.9.0"



2 changes: 1 addition & 1 deletion .gitpod.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gitpod/workspace-mongodb

RUN sudo apt-get update && sudo apt-get install -y redis-server && sudo rm -rf /var/lib/apt/lists/*
RUN npm install -g pnpm@7.33.4
RUN npm install -g pnpm@8.9.0
4 changes: 0 additions & 4 deletions _templates/provider/new/package.ejs.t
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=13.0.0 <17.0.0",
"pnpm": "^7.26.0"
},
"dependencies": {
"@novu/stateless": "<%= version %>"
},
Expand Down
2 changes: 1 addition & 1 deletion apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV BULL_MQ_PRO_NPM_TOKEN=$BULL_MQ_PRO_TOKEN
ENV NX_DAEMON=false

RUN npm i pm2 -g
RUN npm --no-update-notifier --no-fund --global install pnpm@7.33.4
RUN npm --no-update-notifier --no-fund --global install pnpm@8.9.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
Expand Up @@ -5,7 +5,7 @@ ENV BULL_MQ_PRO_NPM_TOKEN=$BULL_MQ_PRO_TOKEN
ENV NX_DAEMON=false

RUN npm i pm2 -g
RUN npm --no-update-notifier --no-fund --global install pnpm@7.33.4
RUN npm --no-update-notifier --no-fund --global install pnpm@8.9.0
RUN pnpm --version


Expand Down
4 changes: 2 additions & 2 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV NX_DAEMON=false
WORKDIR /usr/src/app

RUN apk add --no-cache bash
RUN npm install -g pnpm@7.33.4 --loglevel notice
RUN npm install -g pnpm@8.9.0 --loglevel notice

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

RUN apk add --no-cache bash
RUN npm install -g pnpm@7.33.4 http-server --loglevel notice
RUN npm install -g pnpm@8.9.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
Expand Up @@ -2,7 +2,7 @@ FROM nikolaik/python-nodejs:python3.10-nodejs16-alpine as dev_base
ENV NX_DAEMON=false

RUN npm i pm2 -g
RUN npm --no-update-notifier --no-fund --global install pnpm@7.33.4
RUN npm --no-update-notifier --no-fund --global install pnpm@8.9.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 @@ -4,7 +4,7 @@ ENV NX_DAEMON=false
WORKDIR /usr/src/app

RUN apk add --no-cache bash
RUN npm install -g pnpm@7.33.4 --loglevel notice
RUN npm install -g pnpm@8.9.0 --loglevel notice

COPY .npmrc .
COPY package.json .
Expand Down
2 changes: 1 addition & 1 deletion apps/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG BULL_MQ_PRO_TOKEN
ENV BULL_MQ_PRO_NPM_TOKEN=$BULL_MQ_PRO_TOKEN

RUN npm i pm2 -g
RUN npm --no-update-notifier --no-fund --global install pnpm@7.33.4
RUN npm --no-update-notifier --no-fund --global install pnpm@8.9.0
RUN pnpm --version

WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion apps/ws/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV NX_DAEMON=false

WORKDIR /usr/src/app

RUN npm install -g pnpm@7.33.4 --loglevel notice
RUN npm install -g pnpm@8.9.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.33.4 --loglevel notice --force
RUN npm install -g pnpm@8.9.0 --loglevel notice --force

COPY .npmrc .
COPY package.json .
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "novuhq",
"private": true,
"packageManager": "pnpm@7.33.4",
"packageManager": "pnpm@8.9.0",
"scripts": {
"bootstrap": "npm run setup:dev",
"start": "npm run jarvis",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"publish": "lerna publish from-package",
"setup:project": "npx --yes pnpm@7.33.4 i && node scripts/setup-env-files.js && pnpm build",
"setup:project": "npx --yes pnpm@8.9.0 i && node scripts/setup-env-files.js && pnpm build",
"clean": "lerna clean --yes && npm run prebuild",
"commit": "cz",
"nx": "nx",
Expand Down Expand Up @@ -127,7 +127,7 @@
"meow": "^10.1.3",
"mississippi": "^4.0.0",
"ora": "~5.4.1",
"pnpm": "7.33.4",
"pnpm": "8.9.0",
"prettier": "~2.8.0",
"process": "^0.11.10",
"rimraf": "^3.0.2",
Expand Down Expand Up @@ -182,7 +182,7 @@
},
"engines": {
"node": ">=13.0.0 <17.0.0",
"pnpm": "^7.33.4"
"pnpm": "^8.9.0"
},
"dependencies": {
"nx": "^15.9.2",
Expand Down
Loading

2 comments on commit 5501333

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.