The Dockerfile pinned pnpm@11.2.2 while package.json declares packageManager: pnpm@12.17.0. Renovate only has a manager for the packageManager field and the lockfile — nothing parses RUN npm install -g pnpm@… — so the line drifted a major behind and still described a version the build never used.
Proof from the deploy build of 20af0c6 (run 760, job Build & Push Image):
#8 [builder 2/7] RUN npm install -g pnpm@11.2.2
#11 [builder 5/7] RUN pnpm install --frozen-lockfile
#11 56.27 Done in 16.8s using pnpm v12.16.1
pnpm 10+ reads packageManager and downloads that version at runtime, so the pin was dead weight on top of the drift.
The version is now read from the same field Renovate maintains:
RUN npm install -g pnpm@$(node -p "require('./package.json').packageManager.split('@').pop()")")
Verified locally with docker build --target builder . — the image reports pnpm 12.17.0 and the Next build passes. The Deploy workflow will confirm on merge.
The Dockerfile pinned `pnpm@11.2.2` while `package.json` declares `packageManager: pnpm@12.17.0`. Renovate only has a manager for the `packageManager` field and the lockfile — nothing parses `RUN npm install -g pnpm@…` — so the line drifted a major behind and still described a version the build never used.
Proof from the deploy build of `20af0c6` (run 760, job `Build & Push Image`):
```
#8 [builder 2/7] RUN npm install -g pnpm@11.2.2
#11 [builder 5/7] RUN pnpm install --frozen-lockfile
#11 56.27 Done in 16.8s using pnpm v12.16.1
```
pnpm 10+ reads `packageManager` and downloads that version at runtime, so the pin was dead weight on top of the drift.
The version is now read from the same field Renovate maintains:
```dockerfile
RUN npm install -g pnpm@$(node -p "require('./package.json').packageManager.split('@').pop()")")
```
Verified locally with `docker build --target builder .` — the image reports `pnpm 12.17.0` and the Next build passes. The Deploy workflow will confirm on merge.
The Dockerfile pinned pnpm@11.2.2 while package.json declares
packageManager pnpm@12.17.0. Renovate only updates the npm manager's
packageManager field and the lockfile, so the RUN line drifted a major
behind and no longer described the build.
pnpm 10+ already reads packageManager and downloads that version at
runtime, so the pin was also dead weight: the deploy log shows
"npm install -g pnpm@11.2.2" followed by "Done in 16.8s using pnpm
v12.16.1".
Read the version from package.json instead, so the one field Renovate
maintains is the only source of truth.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The Dockerfile pinned
pnpm@11.2.2whilepackage.jsondeclarespackageManager: pnpm@12.17.0. Renovate only has a manager for thepackageManagerfield and the lockfile — nothing parsesRUN npm install -g pnpm@…— so the line drifted a major behind and still described a version the build never used.Proof from the deploy build of
20af0c6(run 760, jobBuild & Push Image):pnpm 10+ reads
packageManagerand downloads that version at runtime, so the pin was dead weight on top of the drift.The version is now read from the same field Renovate maintains:
Verified locally with
docker build --target builder .— the image reportspnpm 12.17.0and the Next build passes. The Deploy workflow will confirm on merge.