From a5a2de3a5d2993d978e7632f7e107044480c82cf Mon Sep 17 00:00:00 2001 From: Axel Bocciarelli Date: Mon, 1 Jun 2026 11:43:03 +0200 Subject: [PATCH] Upgrade pnpm to v11 --- .github/actions/install/action.yml | 2 +- package.json | 6 +- pnpm-lock.yaml | 226 +++++++++++++++++++++++++++-- pnpm-workspace.yaml | 15 +- 4 files changed, 222 insertions(+), 27 deletions(-) diff --git a/.github/actions/install/action.yml b/.github/actions/install/action.yml index d5f06a100..ab084bc3b 100644 --- a/.github/actions/install/action.yml +++ b/.github/actions/install/action.yml @@ -22,5 +22,5 @@ runs: restore-keys: ${{ runner.os }}- - name: Install dependencies ⚙️ - run: pnpm install + run: pnpm ci shell: bash diff --git a/package.json b/package.json index 4e03f737f..31d774fb6 100644 --- a/package.json +++ b/package.json @@ -11,9 +11,9 @@ }, "engines": { "node": "24.x", - "pnpm": ">=10.26" + "pnpm": "11.x" }, - "packageManager": "pnpm@10.33.0", + "packageManager": "pnpm@11.5.0", "type": "module", "scripts": { "start": "pnpm --filter demo start", @@ -49,7 +49,7 @@ "cypress": "15.13.1", "cypress-wait-for-stable-dom": "0.1.0", "eslint": "9.39.2", - "playwright": "1.59.1", + "playwright": "1.60.0", "prettier": "3.8.1", "typescript": "5.9.3", "vitest": "4.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5afe80066..b79d978e3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,3 +1,202 @@ +--- +lockfileVersion: '9.0' + +importers: + + .: + configDependencies: {} + packageManagerDependencies: + '@pnpm/exe': + specifier: 11.x + version: 11.5.0 + pnpm: + specifier: 11.x + version: 11.5.0 + +packages: + + '@pnpm/exe@11.5.0': + resolution: {integrity: sha512-4hzOXq1HHrNPjwI8k1rt7Ot/Yrdx1JX3pn/L/M95ii1gid1Q6ZK6dVg4+gbSgUdPsYmYDZ4/Yfc0A7vd5C0ndg==} + hasBin: true + + '@pnpm/linux-arm64@11.5.0': + resolution: {integrity: sha512-NV9HdzzCB0epuI9LqZZeTaqjH3OweNQSQCS76GzEkFxJHS9e5Gvu7tgex91gxVL7bCZ+R4yr/3d3yexBFtr2ug==} + cpu: [arm64] + os: [linux] + + '@pnpm/linux-x64@11.5.0': + resolution: {integrity: sha512-vH83rRx4iPk/bwm9pBVCn+5hXbcQI66I/4zk6Vc09SusJgTqOdbN4U6VhMcGIqSEdr901ksYGCyIbMv7f6Guew==} + cpu: [x64] + os: [linux] + + '@pnpm/linuxstatic-arm64@11.5.0': + resolution: {integrity: sha512-2nOnMW1rSwGv22q2yZz1HlGT3ly/Ij8wUlX0NB4n+Krx7nETRHA3MgWsbkVejxHknDcTulRVudAghuX9rgrXcw==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@pnpm/linuxstatic-x64@11.5.0': + resolution: {integrity: sha512-ONOC1Mg0JusHtjzkRlre9di1QO+GAjy4HP7jMjDx21yGhrSheNdUweTXbekMH1EflRd19kTU6d8M3zewJFPtVg==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@pnpm/macos-arm64@11.5.0': + resolution: {integrity: sha512-od0ALdTxs4A7s5vAH5q2l2phzCJb98+PVOW1rq7BGpWGeYxQ+EwvL+vq0KaO6iLsn/eVVoncCkgZ/k6QNYuTgw==} + cpu: [arm64] + os: [darwin] + + '@pnpm/win-arm64@11.5.0': + resolution: {integrity: sha512-9HqbI80FjVVqFx4+EPxYYNfeP9Sx69W6kYqUDvOJn9G7RJ/2NNNQ898cVHTMpXlW1/PrMEcijmdpa/NjZIrWiQ==} + cpu: [arm64] + os: [win32] + + '@pnpm/win-x64@11.5.0': + resolution: {integrity: sha512-Q89CQqFGAsWmfvHZs5Kbbar45q3GBYtfAdPUCiVMVNJoLi3dsBS2LCvUq8ak3AufkFDaJBpvhaFcDP2M1NXr3A==} + cpu: [x64] + os: [win32] + + '@reflink/reflink-darwin-arm64@0.1.19': + resolution: {integrity: sha512-ruy44Lpepdk1FqDz38vExBY/PVUsjxZA+chd9wozjUH9JjuDT/HEaQYA6wYN9mf041l0yLVar6BCZuWABJvHSA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@reflink/reflink-darwin-x64@0.1.19': + resolution: {integrity: sha512-By85MSWrMZa+c26TcnAy8SDk0sTUkYlNnwknSchkhHpGXOtjNDUOxJE9oByBnGbeuIE1PiQsxDG3Ud+IVV9yuA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@reflink/reflink-linux-arm64-gnu@0.1.19': + resolution: {integrity: sha512-7P+er8+rP9iNeN+bfmccM4hTAaLP6PQJPKWSA4iSk2bNvo6KU6RyPgYeHxXmzNKzPVRcypZQTpFgstHam6maVg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@reflink/reflink-linux-arm64-musl@0.1.19': + resolution: {integrity: sha512-37iO/Dp6m5DDaC2sf3zPtx/hl9FV3Xze4xoYidrxxS9bgP3S8ALroxRK6xBG/1TtfXKTvolvp+IjrUU6ujIGmA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@reflink/reflink-linux-x64-gnu@0.1.19': + resolution: {integrity: sha512-jbI8jvuYCaA3MVUdu8vLoLAFqC+iNMpiSuLbxlAgg7x3K5bsS8nOpTRnkLF7vISJ+rVR8W+7ThXlXlUQ93ulkw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@reflink/reflink-linux-x64-musl@0.1.19': + resolution: {integrity: sha512-e9FBWDe+lv7QKAwtKOt6A2W/fyy/aEEfr0g6j/hWzvQcrzHCsz07BNQYlNOjTfeytrtLU7k449H1PI95jA4OjQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@reflink/reflink-win32-arm64-msvc@0.1.19': + resolution: {integrity: sha512-09PxnVIQcd+UOn4WAW73WU6PXL7DwGS6wPlkMhMg2zlHHG65F3vHepOw06HFCq+N42qkaNAc8AKIabWvtk6cIQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@reflink/reflink-win32-x64-msvc@0.1.19': + resolution: {integrity: sha512-E//yT4ni2SyhwP8JRjVGWr3cbnhWDiPLgnQ66qqaanjjnMiu3O/2tjCPQXlcGc/DEYofpDc9fvhv6tALQsMV9w==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@reflink/reflink@0.1.19': + resolution: {integrity: sha512-DmCG8GzysnCZ15bres3N5AHCmwBwYgp0As6xjhQ47rAUTUXxJiK+lLUxaGsX3hd/30qUpVElh05PbGuxRPgJwA==} + engines: {node: '>= 10'} + + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + + pnpm@11.5.0: + resolution: {integrity: sha512-2/zE+Bz0hZev1Lw5H/3xLBHxqfuDo5W/prCi2cwv2P/rr9scy9UpYyFT95OQTCYVt/Cf4aNFRz/Rw1hFFyqOsQ==} + engines: {node: '>=22.13'} + hasBin: true + +snapshots: + + '@pnpm/exe@11.5.0': + dependencies: + '@reflink/reflink': 0.1.19 + detect-libc: 2.1.2 + optionalDependencies: + '@pnpm/linux-arm64': 11.5.0 + '@pnpm/linux-x64': 11.5.0 + '@pnpm/linuxstatic-arm64': 11.5.0 + '@pnpm/linuxstatic-x64': 11.5.0 + '@pnpm/macos-arm64': 11.5.0 + '@pnpm/win-arm64': 11.5.0 + '@pnpm/win-x64': 11.5.0 + + '@pnpm/linux-arm64@11.5.0': + optional: true + + '@pnpm/linux-x64@11.5.0': + optional: true + + '@pnpm/linuxstatic-arm64@11.5.0': + optional: true + + '@pnpm/linuxstatic-x64@11.5.0': + optional: true + + '@pnpm/macos-arm64@11.5.0': + optional: true + + '@pnpm/win-arm64@11.5.0': + optional: true + + '@pnpm/win-x64@11.5.0': + optional: true + + '@reflink/reflink-darwin-arm64@0.1.19': + optional: true + + '@reflink/reflink-darwin-x64@0.1.19': + optional: true + + '@reflink/reflink-linux-arm64-gnu@0.1.19': + optional: true + + '@reflink/reflink-linux-arm64-musl@0.1.19': + optional: true + + '@reflink/reflink-linux-x64-gnu@0.1.19': + optional: true + + '@reflink/reflink-linux-x64-musl@0.1.19': + optional: true + + '@reflink/reflink-win32-arm64-msvc@0.1.19': + optional: true + + '@reflink/reflink-win32-x64-msvc@0.1.19': + optional: true + + '@reflink/reflink@0.1.19': + optionalDependencies: + '@reflink/reflink-darwin-arm64': 0.1.19 + '@reflink/reflink-darwin-x64': 0.1.19 + '@reflink/reflink-linux-arm64-gnu': 0.1.19 + '@reflink/reflink-linux-arm64-musl': 0.1.19 + '@reflink/reflink-linux-x64-gnu': 0.1.19 + '@reflink/reflink-linux-x64-musl': 0.1.19 + '@reflink/reflink-win32-arm64-msvc': 0.1.19 + '@reflink/reflink-win32-x64-msvc': 0.1.19 + + detect-libc@2.1.2: {} + + pnpm@11.5.0: {} + +--- lockfileVersion: '9.0' settings: @@ -36,8 +235,8 @@ importers: specifier: 9.39.2 version: 9.39.2 playwright: - specifier: 1.59.1 - version: 1.59.1 + specifier: 1.60.0 + version: 1.60.0 prettier: specifier: 3.8.1 version: 3.8.1 @@ -277,7 +476,7 @@ importers: version: 6.0.1(vite@8.0.7(@types/node@24.12.2)(esbuild@0.27.4)) '@vitest/browser-playwright': specifier: 4.1.3 - version: 4.1.3(playwright@1.59.1)(vite@8.0.7(@types/node@24.12.2)(esbuild@0.27.4))(vitest@4.1.3) + version: 4.1.3(playwright@1.60.0)(vite@8.0.7(@types/node@24.12.2)(esbuild@0.27.4))(vitest@4.1.3) axios: specifier: 1.15.2 version: 1.15.2 @@ -3712,13 +3911,13 @@ packages: resolution: {integrity: sha512-o8mkY4E/+LNUf6LzX96ht6k6CEDi65k9G2rjMtBe9Oo+VPKSvl+0GKHuH/AlG+GA5LPG/i5hrekkxUc3s2HU+Q==} hasBin: true - playwright-core@1.59.1: - resolution: {integrity: sha512-HBV/RJg81z5BiiZ9yPzIiClYV/QMsDCKUyogwH9p3MCP6IYjUFu/MActgYAvK0oWyV9NlwM3GLBjADyWgydVyg==} + playwright-core@1.60.0: + resolution: {integrity: sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA==} engines: {node: '>=18'} hasBin: true - playwright@1.59.1: - resolution: {integrity: sha512-C8oWjPR3F81yljW9o5OxcWzfh6avkVwDD2VYdwIGqTkl+OGFISgypqzfu7dOe4QNLL2aqcWBmI3PMtLIK233lw==} + playwright@1.60.0: + resolution: {integrity: sha512-hheHdokM8cdqCb0lcE3s+zT4t4W+vvjpGxsZlDnikarzx8tSzMebh3UiFtgqwFwnTnjYQcsyMF8ei2mCO/tpeA==} engines: {node: '>=18'} hasBin: true @@ -4437,6 +4636,7 @@ packages: uuid@8.3.2: resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} + deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028). hasBin: true verror@1.10.0: @@ -5921,11 +6121,11 @@ snapshots: '@rolldown/pluginutils': 1.0.0-rc.7 vite: 8.0.7(@types/node@24.12.2)(esbuild@0.27.4) - '@vitest/browser-playwright@4.1.3(playwright@1.59.1)(vite@8.0.7(@types/node@24.12.2)(esbuild@0.27.4))(vitest@4.1.3)': + '@vitest/browser-playwright@4.1.3(playwright@1.60.0)(vite@8.0.7(@types/node@24.12.2)(esbuild@0.27.4))(vitest@4.1.3)': dependencies: '@vitest/browser': 4.1.3(vite@8.0.7(@types/node@24.12.2)(esbuild@0.27.4))(vitest@4.1.3) '@vitest/mocker': 4.1.3(vite@8.0.7(@types/node@24.12.2)(esbuild@0.27.4)) - playwright: 1.59.1 + playwright: 1.60.0 tinyrainbow: 3.1.0 vitest: 4.1.3(@types/node@24.12.2)(@vitest/browser-playwright@4.1.3)(@vitest/coverage-v8@4.1.3)(@vitest/ui@4.1.3)(esbuild@0.27.4) transitivePeerDependencies: @@ -8220,11 +8420,11 @@ snapshots: dependencies: pngjs: 6.0.0 - playwright-core@1.59.1: {} + playwright-core@1.60.0: {} - playwright@1.59.1: + playwright@1.60.0: dependencies: - playwright-core: 1.59.1 + playwright-core: 1.60.0 optionalDependencies: fsevents: 2.3.2 @@ -9186,7 +9386,7 @@ snapshots: why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 24.12.2 - '@vitest/browser-playwright': 4.1.3(playwright@1.59.1)(vite@8.0.7(@types/node@24.12.2)(esbuild@0.27.4))(vitest@4.1.3) + '@vitest/browser-playwright': 4.1.3(playwright@1.60.0)(vite@8.0.7(@types/node@24.12.2)(esbuild@0.27.4))(vitest@4.1.3) '@vitest/coverage-v8': 4.1.3(@vitest/browser@4.1.3)(vitest@4.1.3) '@vitest/ui': 4.1.3(vitest@4.1.3) transitivePeerDependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 479c164b0..0bdc065a5 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -7,30 +7,25 @@ packages: engineStrict: true # Use whichever pnpm version is available in the environment -managePackageManagerVersions: false +pmOnFail: ignore # Manage peer dependencies explicitly and predictibly strictPeerDependencies: true autoInstallPeers: false resolvePeersFromWorkspaceRoot: false -# Fail install if any dependency has unapproved build scripts -strictDepBuilds: true +# Approve specific build scripts allowBuilds: cypress: true esbuild: true -# Save exact dependency versions in `package.json` -savePrefix: '' - -# Only install packages that are at least 2 days old -minimumReleaseAge: 2880 +# Relax minimum release age protection for owned packages minimumReleaseAgeExclude: - '@h5web/*' - '@esrf/eslint-config' -# Run install automatically if anything is out of date before running a script -verifyDepsBeforeRun: 'install' +# Save exact dependency versions in `package.json` +savePrefix: '' # Every project must have these scripts in their `package.json` requiredScripts: