Skip to content

Commit b558e38

Browse files
committed
dev: upgrade to pnpm 11
- Upgrade to latest pnpm 11 version - Fall back to default min release age (1d) and enforce strict checks - Forbid all lifecycle scripts of dependencies that currently have them: None of them are needed for JSON Forms to build - Update corepack link in README
1 parent 3cfcc7a commit b558e38

4 files changed

Lines changed: 13 additions & 7 deletions

File tree

‎.devcontainer/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ ENV CHROME_BIN=/usr/bin/chromium
1515
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
1616

1717
# Install and configure pnpm
18-
RUN su node -c "npm install -g pnpm@10"
18+
RUN su node -c "npm install -g pnpm@11"
1919
RUN su node -c "pnpm config set store-dir /home/node/.pnpm-store"

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Independently of the assigned milestone, contributions are always accepted and a
4444
### First time setup
4545

4646
- Install [node.js](https://nodejs.org/) (only Node v24+ < 25 is currently supported)
47-
- Install pnpm: <https://pnpm.io/installation> (use pnpm 10.33.0+) or use [corepack](https://nodejs.org/docs/latest-v18.x/api/corepack.html) to enable the recommended version
47+
- Install pnpm: <https://pnpm.io/installation> (use pnpm 11+) or use [corepack](https://github.com/nodejs/corepack) to enable the recommended version
4848
- Clone this repository
4949
- Install dependencies: `pnpm i --frozen-lockfile`
5050

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "jsonforms-monorepo",
33
"engines": {
44
"node": "^24",
5-
"pnpm": "^10.33.0"
5+
"pnpm": "^11"
66
},
7-
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
7+
"packageManager": "pnpm@11.24.0+sha512.bd27e345e976dcb0be0b7a1228217b049a817e21b1f355c90dbe7dc46671895a8bc1e6d06c24554505ea93ea0b45f489a27ec1bfbc8de6a9659fca0f16fa0000",
88
"scripts": {
99
"lerna": "lerna",
1010
"preparePublish": "git clean -dfx && pnpm i --frozen-lockfile && pnpm run clean && pnpm run build && pnpm run doc && pnpm run test",

‎pnpm-workspace.yaml‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
packages:
22
- 'packages/*'
3-
# The minimum age of dependency versions to be installed in minutes. 4320 minutes is 72h.
4-
# This is to avoid supply chain attacks where a new version of a dependency is published with malicious code.
5-
minimumReleaseAge: 4320
3+
allowBuilds:
4+
'@parcel/watcher': false
5+
core-js: false
6+
esbuild: false
7+
lmdb: false
8+
msgpackr-extract: false
9+
nodent-runtime: false
10+
nx: false
611
minimumReleaseAgeIgnoreMissingTime: false
12+
minimumReleaseAgeStrict: true

0 commit comments

Comments
 (0)