Skip to content

chore: migrate monorepo to pnpm#178

Open
V3RON wants to merge 1 commit into
mainfrom
feat/pnpm
Open

chore: migrate monorepo to pnpm#178
V3RON wants to merge 1 commit into
mainfrom
feat/pnpm

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented Jun 3, 2026

What is this?

This PR migrates the monorepo from npm workspaces to PNPM 11.5.0. It replaces the npm lockfiles with a single PNPM lockfile, adds website to the PNPM workspace, and updates repo scripts, CI, and deployment automation to use PNPM.

How does it work?

The root now declares pnpm@11.5.0 and uses pnpm-workspace.yaml for workspace membership and security settings. Internal Voltra package dependencies use the workspace: protocol, while CI installs dependencies with pnpm install --frozen-lockfile. The website deploy flow uses the locked Vercel CLI dependency instead of installing vercel@latest globally.

Why is this useful?

This makes package resolution consistent across the monorepo, ensures local package dependencies resolve through the workspace, and protects installs from newly published package versions by requiring a 14-day minimum release age. The explicit build-script allowlist also keeps dependency lifecycle scripts visible and intentional.

Switch workspace installation and automation from npm to pnpm 11.5.0, add PNPM supply-chain protections, and convert internal package dependencies to workspace protocol.
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