Skip to content

Commit b4722f0

Browse files
committed
upgrade to pnpm 11
1 parent 9ec7e5c commit b4722f0

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ WORKDIR /app
66

77
# Install production dependencies
88
FROM base AS deps
9-
COPY package.json pnpm-lock.yaml ./
9+
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
1010
RUN pnpm install --frozen-lockfile --prod
1111

1212
# Install all dependencies
1313
FROM base AS deps-dev
14-
COPY package.json pnpm-lock.yaml ./
14+
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
1515
RUN pnpm install --frozen-lockfile
1616

1717
# Prepare source

docs/how-to-set-up-the-development-environment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ Quick, minimal steps to get the site running locally so you can start contributi
55
## Requirements
66

77
- Node.js 22 (LTS) or higher - use a version manager like [fnm](https://fnm.vercel.app/).
8-
- pnpm (recommended, project uses pnpm@10+) - install with `corepack enable pnpm` or `npm install -g pnpm`.
8+
- pnpm (recommended, project uses pnpm@11+) - install with `corepack enable pnpm` or `npm install -g pnpm`.
99
- Git – for cloning and PRs.
1010

1111
Verify:
1212
```bash
1313
node --version # 22+
14-
pnpm --version # 10+
14+
pnpm --version # 11+
1515
git --version
1616
```
1717

package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"sharp": "^0.34.5",
4343
"unist-util-visit": "^5.1.0"
4444
},
45-
"packageManager": "pnpm@10.30.1",
45+
"packageManager": "pnpm@11.1.1",
4646
"devDependencies": {
4747
"@astrojs/check": "^0.9.6",
4848
"@eslint/js": "^9.39.3",
@@ -67,10 +67,5 @@
6767
"typescript-eslint": "^8.56.1",
6868
"unified": "^11.0.5",
6969
"vfile": "^6.0.3"
70-
},
71-
"pnpm": {
72-
"onlyBuiltDependencies": [
73-
"lefthook"
74-
]
7570
}
7671
}

pnpm-workspace.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
allowBuilds:
2+
lefthook: true
3+
esbuild: false
4+
'@parcel/watcher': false
5+
sharp: false

0 commit comments

Comments
 (0)