Skip to content

Commit

Permalink
feat: Upgraded node and pnpm versions (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik authored May 13, 2024
2 parents 7e416ef + 7311aeb commit c1675ff
Show file tree
Hide file tree
Showing 18 changed files with 4,721 additions and 5,076 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-prod-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Start MongoDB
uses: supercharge/[email protected]
Expand All @@ -46,7 +46,7 @@ jobs:
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Build, tag, and push image to Github Container Registry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-prod-embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
Expand All @@ -39,7 +39,7 @@ jobs:
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-prod-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
Expand All @@ -40,7 +40,7 @@ jobs:
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Publish @impler/shared package on NPM 📦
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-prod-queue-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
Expand All @@ -40,7 +40,7 @@ jobs:
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Build, tag, and push image to Github Container Registry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-prod-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
Expand All @@ -39,7 +39,7 @@ jobs:
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Build, tag, and push image to Github container registry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-prod-widget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
Expand All @@ -40,7 +40,7 @@ jobs:
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true

- name: Envsetup
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-api-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: false

- name: Get pnpm store directory
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
- uses: actions/setup-node@v2
with:
node-version: '18.13.0'
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
Expand All @@ -46,5 +46,5 @@ jobs:
env:
CI: false
with:
version: 7.9.4
version: 8.9.0
run_install: true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.13.0
20.13.1
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ You can open a new issue from [here](https://github.com/implerhq/impler.io/issue

### Requirements

- Node.js version v18.13.0
- pnpm version 7.9.4
- Node.js version v20.13.1
- pnpm version 8.9.0
- MongoDB
- Localstack or AWS S3 credentials (for storing files)
- RabbitMQ for microservices to interact with each other
Expand Down
2 changes: 1 addition & 1 deletion apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN npm i -g \

WORKDIR /usr/src/app

RUN npm install -g pnpm@7.9.4 --loglevel notice
RUN npm install -g pnpm@8.9.0 --loglevel notice
RUN npm i pm2 -g

COPY package.json .
Expand Down
4 changes: 2 additions & 2 deletions apps/demo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:18.13.0-slim
FROM node:20.13.1-slim

WORKDIR /usr/src/app

RUN npm install -g pnpm@7.9.4
RUN npm install -g pnpm@8.9.0

COPY .npmrc .
COPY package.json .
Expand Down
4 changes: 2 additions & 2 deletions apps/queue-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:18.13.0-slim
FROM node:20.13.1-slim

WORKDIR /usr/src/app

RUN npm install -g pnpm@7.9.4 --loglevel notice
RUN npm install -g pnpm@8.9.0 --loglevel notice
RUN npm i pm2 -g

COPY package.json .
Expand Down
4 changes: 2 additions & 2 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:18.13.0-slim
FROM node:20.13.1-slim

WORKDIR /usr/src/app

RUN npm install -g pnpm@7.9.4
RUN npm install -g pnpm@8.9.0

COPY .npmrc .
COPY package.json .
Expand Down
4 changes: 2 additions & 2 deletions apps/widget/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:18.13.0-slim
FROM node:20.13.1-slim

WORKDIR /usr/src/app

RUN npm install -g pnpm@7.9.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 libs/embed/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:16-buster-slim

WORKDIR /usr/src/app

RUN npm install -g pnpm@7.9.4 --loglevel notice --force
RUN npm install -g pnpm@8.9.0 --loglevel notice --force

COPY .npmrc .
COPY package.json .
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "impler.io",
"version": "0.18.1",
"description": "Open source infrastructure to import data easily",
"packageManager": "pnpm@7.9.4",
"packageManager": "pnpm@8.9.0",
"private": true,
"scripts": {
"clean": "pnpm run prebuild && lerna clean --yes",
"lint": "npx nx run-many --target=lint --all",
"kill-ports": "npx kill-port 4701 3000 3500 4200",
"setup:project": "npx pnpm@7.9.4 i && node scripts/setup-env-files.js",
"setup:project": "npx pnpm@8.9.0 i && node scripts/setup-env-files.js",
"start:dev": "npx nx run-many --target=start -p @impler/api @impler/web @impler/widget @impler/embed @impler/queue-manager --parallel=5",
"start:demo": "cross-env npx nx run @impler/demo:start",
"start:dal": "cross-env npx nx run @impler/dal:start",
Expand Down
Loading

0 comments on commit c1675ff

Please sign in to comment.