Skip to content

feat: migrate to pnpm#132

Merged
YvetteNikolov merged 6 commits into
mainfrom
feat/migrate-to-pnpm
Jun 8, 2026
Merged

feat: migrate to pnpm#132
YvetteNikolov merged 6 commits into
mainfrom
feat/migrate-to-pnpm

Conversation

@YvetteNikolov

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 8, 2026 11:59
@YvetteNikolov YvetteNikolov requested a review from a team as a code owner June 8, 2026 11:59
@YvetteNikolov YvetteNikolov changed the title docs: add pnpm migration design spec feat: migrate to pnpm Jun 8, 2026
@YvetteNikolov YvetteNikolov merged commit 1bcab6e into main Jun 8, 2026
2 checks passed
@YvetteNikolov YvetteNikolov deleted the feat/migrate-to-pnpm branch June 8, 2026 12:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the monorepo’s workspace tooling from npm/yarn workspaces to pnpm, aligning dependency management scripts and workspace configuration to pnpm’s model.

Changes:

  • Added pnpm-workspace.yaml to define the workspace package globs.
  • Updated root package.json to pin the pnpm version via packageManager and switched dependency maintenance scripts to pnpm equivalents.
  • Updated Lerna configuration to use pnpm and added a missing runtime dependency (chalk) to @yardinternet/vite-config for pnpm’s strict dependency resolution.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 1 comment.

File Description
pnpm-workspace.yaml Defines workspace package locations for pnpm.
packages/vite-config/package.json Adds chalk to ensure vite-config declares its direct dependency under pnpm.
package.json Pins pnpm via packageManager and updates dependency management scripts to pnpm commands.
lerna.json Switches Lerna to pnpm (and should explicitly define package globs to ensure package discovery).

Comment thread lerna.json
Comment on lines 2 to 5
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "independent",
"npmClient": "pnpm",
"command": {
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.

2 participants