Skip to content

Commit 5e58907

Browse files
Update PNPM to 10.6.3 (#1771)
1 parent 9f4f37e commit 5e58907

File tree

10 files changed

+24
-2
lines changed

10 files changed

+24
-2
lines changed

.cspell.json

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"bruno",
3434
"codegen",
3535
"contentful",
36+
"corepack",
3637
"datocms",
3738
"devcontainer",
3839
"klaviyo",

.devcontainer/avatax/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM mcr.microsoft.com/devcontainers/typescript-node:22
22

33
ENV PNPM_HOME="/home/node/.pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
5+
RUN npm install --global corepack@latest
56
RUN corepack enable
67

78
WORKDIR /app

.devcontainer/cms/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM mcr.microsoft.com/devcontainers/typescript-node:22
22

33
ENV PNPM_HOME="/home/node/.pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
5+
RUN npm install --global corepack@latest
56
RUN corepack enable
67

78
WORKDIR /app

.devcontainer/klaviyo/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM mcr.microsoft.com/devcontainers/typescript-node:22
22

33
ENV PNPM_HOME="/home/node/.pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
5+
RUN npm install --global corepack@latest
56
RUN corepack enable
67

78
WORKDIR /app

.devcontainer/products-feed/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM mcr.microsoft.com/devcontainers/typescript-node:22
22

33
ENV PNPM_HOME="/home/node/.pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
5+
RUN npm install --global corepack@latest
56
RUN corepack enable
67

78
WORKDIR /app

.devcontainer/search/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM mcr.microsoft.com/devcontainers/typescript-node:22
22

33
ENV PNPM_HOME="/home/node/.pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
5+
RUN npm install --global corepack@latest
56
RUN corepack enable
67

78
WORKDIR /app

.devcontainer/segment/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM mcr.microsoft.com/devcontainers/typescript-node:22
22

33
ENV PNPM_HOME="/home/node/.pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
5+
RUN npm install --global corepack@latest
56
RUN corepack enable
67

78
WORKDIR /app

.devcontainer/smtp/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM mcr.microsoft.com/devcontainers/typescript-node:22
22

33
ENV PNPM_HOME="/home/node/.pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
5+
RUN npm install --global corepack@latest
56
RUN corepack enable
67

78
WORKDIR /app

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,20 @@ Some of the Saleor apps are available in separate repositories:
7171

7272
You can find the documentation for saleor/apps on [docs.saleor.io](https://docs.saleor.io/docs/3.x/developer/app-store/development).
7373

74+
### PNPM and corepack
75+
76+
Due to an issue with [outdated signatures in Corepack](https://github.com/nodejs/corepack/issues/612), Corepack should be updated to its latest version first:
77+
78+
```shell
79+
npm install --global corepack@latest
80+
```
81+
82+
After that run to install pnpm with proper version:
83+
84+
```shell
85+
corepack enable pnpm
86+
```
87+
7488
## ADR
7589

7690
This repository uses [architecture decision records](https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions) to document architectural decisions. You can find them in the `docs/adr` directory.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
"turbo": "2.4.4",
6161
"typescript": "5.5.4"
6262
},
63-
"packageManager": "pnpm@9.12.3",
63+
"packageManager": "pnpm@10.6.3",
6464
"engines": {
6565
"node": ">=22.0.0 <23.0.0",
6666
"npm": ">=10.0.0 <11.0.0",
67-
"pnpm": ">=9.0.0 <10.0.0"
67+
"pnpm": ">=10.0.0 <11.0.0"
6868
}
6969
}

0 commit comments

Comments
 (0)