Skip to content

chore: bump Node to 24.20.0, enforce engines via pnpm, drop stale .npmrc - #1088

Merged
Wituareard merged 2 commits into
mainfrom
agents/update-break-checks
Sep 6, 2026
Merged

chore: bump Node to 24.20.0, enforce engines via pnpm, drop stale .npmrc#1088
Wituareard merged 2 commits into
mainfrom
agents/update-break-checks

Conversation

@Wituareard

Copy link
Copy Markdown
Collaborator

Summary

While analyzing which dependency-dashboard updates would break the project, I found that engines enforcement was silently off everywhere — and .npmrc's engine-strict=true was a no-op on modern pnpm. This PR turns engines into a real guard, aligned with what the dependency tree actually requires.

Changes

  • .nvmrc: 24.2.024.20.0 (latest 24.x line; also pre-satisfies upcoming dependency engines floors such as postcss-discard-duplicates v9's ^24.15.0 and npm-run-all2's ^24.15.0)
  • pnpm-workspace.yaml: add engineStrict: true — this is the mechanism that actually enforces engines on pnpm 11/12 (.npmrc's engine-strict is silently ignored there)
  • .npmrc: deleted — all three settings were verified no-ops:
    • engine-strict=true: silently ignored by pnpm 11.1.3 (CI) and 12.3.1; a dependency with incompatible engines installed cleanly with it set
    • resolution-mode=highest: already pnpm's default (verified with a fresh add resolving latest)
    • node-options=--experimental-global-webcrypto: doubly dead — the flag was removed from Node entirely (global crypto.subtle is standard since Node 19); v24.20.0 CLI docs contain no trace of it
  • .anthony.CLAUDE.md: Node reference updated to match .nvmrc

Evidence

  • engineStrict: true verified as hard-failing (ERR_PNPM_UNSUPPORTED_ENGINE) on both pnpm 11.1.3 and 12.3.1 with a synthetic violating dep
  • Full lockfile engines scan: all 833 packages checked against Node 24.20.0 and 26.8.1 — zero real violations (2 raw hits are non-issues: a dep-level engines.pnpm pin that isn't enforced even under engineStrict, and an optional-only platform binary pnpm skips)
  • CI job log of a green run grep'd: pnpm emitted no engine warnings, confirming .npmrc engine-strict did nothing there either

Validation (Node 24.20.0 / pnpm 11.1.3 — CI-equivalent)

  • pnpm install ✅ (now actually validating engines)
  • pnpm check ✅ 0 errors / 12 pre-existing warnings
  • pnpm test --run ✅ 51/51
  • pnpm lint ✅ 0 errors / 2 pre-existing warnings

- .nvmrc 24.2.0 -> 24.20.0 (latest 24.x; pre-satisfies upcoming dep
  engines floors like postcss-discard-duplicates v9)
- pnpm-workspace.yaml: engineStrict: true. Verified enforced on pnpm
  11.1.3 (CI) and 12.3.1; all 833 lockfile packages compatible with
  Node 24.20.0 and 26.8.1
- delete .npmrc: all three settings were verified no-ops on pnpm 11/12.
  engine-strict was silently ignored (hence the workspace setting),
  resolution-mode=highest is the default, and
  --experimental-global-webcrypto was removed from Node (global
  webcrypto is standard since Node 19)
- .anthony.CLAUDE.md: update Node reference

Validated on Node 24.20.0 / pnpm 11.1.3: check 0 errors, tests 51/51,
lint 0 errors (baseline warnings unchanged)
@netlify

netlify Bot commented Sep 6, 2026

Copy link
Copy Markdown

Deploy Preview for pauseai ready!

Name Link
🔨 Latest commit b60b2f6
🔍 Latest deploy log https://app.netlify.com/projects/pauseai/deploys/6a9d7ee3d157b50008993268
😎 Deploy Preview https://deploy-preview-1088--pauseai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 70 (🔴 down 2 from production)
Accessibility: 91 (no change from production)
Best Practices: 100 (no change from production)
SEO: 82 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@Wituareard
Wituareard merged commit 5ae2cbc into main Sep 6, 2026
9 checks passed
@Wituareard
Wituareard deleted the agents/update-break-checks branch September 6, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant