Skip to content

Commit

Permalink
chore: upgrade pnpm (#1350)
Browse files Browse the repository at this point in the history
* chore: upgrade pnpm

* chore: upgrade pnpm

* test: add experimental flag for jest to support esm dynamic import
  • Loading branch information
dragosp1011 committed May 13, 2024
1 parent ad7a563 commit 8570c47
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
"typescript": "^5.4.5"
},
"engines": {
"pnpm": "^9.1.0",
"pnpm": "^9.1.1",
"npm": "pnpm",
"yarn": "pnpm",
"node": "^20.12.1"
},
"private": true,
"packageManager": "pnpm@9.1.0"
"packageManager": "pnpm@9.1.1"
}
2 changes: 1 addition & 1 deletion packages/boutique/backend/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WORKDIR /home/testnet

# Install PNPM
RUN corepack enable
RUN corepack prepare pnpm@9.1.0 --activate
RUN corepack prepare pnpm@9.1.1 --activate

# Copy lockfile, NVM and NPM configuration to the working directory
COPY pnpm-lock.yaml .nvmrc .npmrc ./
Expand Down
2 changes: 1 addition & 1 deletion packages/boutique/backend/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:20-alpine AS base
WORKDIR /testnet

RUN corepack enable
RUN corepack prepare pnpm@9.1.0 --activate
RUN corepack prepare pnpm@9.1.1 --activate
RUN apk add --no-cache \
libc6-compat \
python3 \
Expand Down
2 changes: 1 addition & 1 deletion packages/boutique/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"start": "node dist/index.js",
"build:deps": "pnpm --filter @shared/backend build",
"build": "pnpm build:deps && tsc --build tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "jest --passWithNoTests --maxWorkers=2"
"test": "NODE_OPTIONS='--experimental-vm-modules' jest --passWithNoTests --maxWorkers=2"
},
"dependencies": {
"@google-cloud/logging-winston": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/boutique/frontend/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:20-alpine AS base
WORKDIR /testnet

RUN corepack enable
RUN corepack prepare pnpm@9.1.0 --activate
RUN corepack prepare pnpm@9.1.1 --activate

RUN apk add --no-cache \
libc6-compat \
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/backend/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WORKDIR /home/testnet

# Install PNPM
RUN corepack enable
RUN corepack prepare pnpm@9.1.0 --activate
RUN corepack prepare pnpm@9.1.1 --activate

# Copy lockfile, NVM and NPM configuration to the working directory
COPY pnpm-lock.yaml .nvmrc .npmrc ./
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/backend/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:20-alpine AS base
WORKDIR /testnet

RUN corepack enable
RUN corepack prepare pnpm@9.1.0 --activate
RUN corepack prepare pnpm@9.1.1 --activate
RUN apk add --no-cache \
libc6-compat \
python3 \
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/frontend/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update && \

# Install PNPM
RUN corepack enable
RUN corepack prepare pnpm@9.1.0 --activate
RUN corepack prepare pnpm@9.1.1 --activate

# Copy lockfile, NVM and NPM configuration to the working directory
COPY pnpm-lock.yaml .nvmrc .npmrc ./
Expand Down

0 comments on commit 8570c47

Please sign in to comment.