feat: Bump pnpm to 11

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
Mark Tolmacs committed 2026-11-17 18:23:34 +01:00
1 parent ce4e9d8fa1
commit 09f9ffa00b
12 files changed
+23 -22

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20.x
node-version: 22.x
cache: pnpm
- name: Set up publish access
run: |
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20.x
node-version: 22.x
cache: pnpm
- name: Install and lint
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20.x
node-version: 22.x
- name: Create report file
run: |
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20.x
node-version: 22.x
cache: pnpm
- name: Install and build
run: |
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20.x
node-version: 22.x
cache: pnpm
- name: Install in packages/excalidraw
run: pnpm install --frozen-lockfile
+2 -2
View File
@@ -27,7 +27,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20.x
node-version: 22.x
cache: pnpm
- name: Install
run: pnpm install --frozen-lockfile
@@ -63,7 +63,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20.x
node-version: 22.x
cache: pnpm
- name: Install
run: |
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
- name: "Install Node"
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: "20.x"
node-version: "22.x"
cache: pnpm
- name: "Install Deps"
run: pnpm install --frozen-lockfile
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20.x
node-version: 22.x
cache: pnpm
- name: Install and test
run: |
-1
View File
@@ -1 +0,0 @@
save-exact=true
+2 -1
View File
@@ -23,7 +23,8 @@
]
},
"engines": {
"node": ">=18.0.0"
"node": ">=22.13.0",
"pnpm": ">=11.0.0"
},
"dependencies": {
"@excalidraw/common": "workspace:*",
+4 -5
View File
@@ -1,7 +1,7 @@
{
"private": true,
"name": "excalidraw-monorepo",
"packageManager": "pnpm@10.34.9",
"packageManager": "pnpm@11.28.12",
"devDependencies": {
"@babel/preset-env": "7.26.9",
"@excalidraw/common": "workspace:*",
@@ -54,7 +54,8 @@
"which": "4.0.0"
},
"engines": {
"node": ">=18.0.0"
"node": ">=22.13.0",
"pnpm": ">=11.0.0"
},
"homepage": ".",
"prettier": "@excalidraw/prettier-config",
@@ -98,8 +99,6 @@
"release:test": "node scripts/release.js --tag=test",
"release:next": "node scripts/release.js --tag=next",
"release:latest": "node scripts/release.js --tag=latest",
"rm:build": "rimraf --glob excalidraw-app/build excalidraw-app/dist excalidraw-app/dev-dist packages/*/dist packages/*/build examples/*/build examples/*/dist",
"rm:node_modules": "rimraf --glob node_modules excalidraw-app/node_modules packages/*/node_modules",
"clean-install": "pnpm rm:node_modules && pnpm install"
"rm:build": "rimraf --glob excalidraw-app/build excalidraw-app/dist excalidraw-app/dev-dist packages/*/dist packages/*/build examples/*/build examples/*/dist"
}
}
+8 -6
View File
@@ -6,9 +6,11 @@ packages:
overrides:
strip-ansi: 6.0.1
# dependencies allowed to run install scripts (pnpm 10 blocks them by default)
onlyBuiltDependencies:
- "@parcel/watcher"
- core-js
- esbuild
- protobufjs
saveExact: true
# dependencies allowed to run install scripts (pnpm blocks them by default)
allowBuilds:
"@parcel/watcher": true
core-js: true
esbuild: true
protobufjs: true