Skip to content

Moved to PNPM v11+ && updated node 20 references to Node22 where appropriate#2640

Merged
robgruen merged 12 commits into
mainfrom
dev/robgruen/pnpm_version_upgrade
Jul 10, 2026
Merged

Moved to PNPM v11+ && updated node 20 references to Node22 where appropriate#2640
robgruen merged 12 commits into
mainfrom
dev/robgruen/pnpm_version_upgrade

Conversation

@robgruen

@robgruen robgruen commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

This pull request updates the monorepo and container policies to require Node.js 22 (instead of Node.js 20) and upgrades pnpm to version 11. It also migrates and restructures pnpm configuration from package.json into pnpm-workspace.yaml to align with pnpm v11 requirements. The most important changes are:

Node.js and Docker Image Updates:

  • All references to the Node.js version in Dockerfiles, container policies, documentation, and tests have been updated from node:20/node:20-slim to node:22/node:22-slim, ensuring consistency and compatibility with Node.js 22 across the codebase. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

  • Documentation (README.md, getting-started.md) has been updated to state Node.js 22+ as the required version. [1] [2]

pnpm Upgrade and Configuration Migration:

  • Upgraded pnpm to version 11 in package.json, and removed the deprecated pnpm field.
  • Migrated all pnpm configuration (such as build allowlists, peer dependency rules, overrides, and allowed deprecated versions) from package.json into pnpm-workspace.yaml using the new pnpm v11 syntax (allowBuilds, etc.), ensuring compatibility with the latest pnpm and improving configuration clarity.

These changes ensure the project is using the latest supported Node.js and pnpm versions, and that containerized and policy-based execution environments are consistent and up-to-date.…opriate.

@robgruen robgruen marked this pull request as ready for review July 10, 2026 17:39
@robgruen robgruen enabled auto-merge July 10, 2026 18:41
@robgruen

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved in commit 2b186f4. Two files had conflicts:

  • ts/package.json: Kept our version (no pnpm block, since configuration was migrated to pnpm-workspace.yaml for pnpm v11)
  • ts/pnpm-workspace.yaml: Kept our version (pnpm v11 allowBuilds format with fully migrated config, discarding main's onlyBuiltDependencies which is pnpm v10 format)

robgruen added 3 commits July 10, 2026 12:23
Commit 28f1d1b rewrote 301 tarball URLs to registry.npmjs.org, which CI's
Azure Artifacts feed rejects (ERR_PNPM_TARBALL_URL_MISMATCH). The underlying
problem was that the lockfile baked in volatile per-mirror hosts
(ms-feed-N.pkgs.visualstudio.com), which are load-balanced and non-portable
across dev and CI.

Regenerate the lockfile from a fresh resolution so pnpm records only
integrity hashes (no hardcoded tarball host). Tarballs now resolve against
whatever registry .npmrc configures, so the same lockfile verifies on both
developer machines and CI.
@robgruen robgruen added this pull request to the merge queue Jul 10, 2026
Merged via the queue into main with commit 3d30ab0 Jul 10, 2026
23 checks passed
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.

3 participants