Skip to content

[WOODPECKER-4303] Migrate package manager from npm to pnpm#4642

Open
Viktor Yang (viktor-yang) wants to merge 1 commit into
mainfrom
WOODPECKER-4303-validate-2
Open

[WOODPECKER-4303] Migrate package manager from npm to pnpm#4642
Viktor Yang (viktor-yang) wants to merge 1 commit into
mainfrom
WOODPECKER-4303-validate-2

Conversation

@viktor-yang
Copy link
Copy Markdown
Contributor

Summary

  • Replace package-lock.json with pnpm-lock.yaml and add pnpm-workspace.yaml
  • Set packageManager: pnpm@9.15.9 in package.json and update engines field
  • Add pnpm-specific configuration to .npmrc (strict-peer-dependencies, public-hoist-pattern, link-workspace-packages)
  • Update all GitHub Actions workflows (main, pr, release, _build, sync-figma-variables) to install and use pnpm
  • Update CONTRIBUTING.md: installation instructions now use corepack to set up pnpm
  • Update AGENTS.md and Claude skill files with pnpm commands
  • Remove npm debug log patterns from .gitignore

Test plan

  • pnpm install runs successfully
  • pnpm run build completes without errors
  • pnpm test passes
  • CI workflows pass with pnpm setup
  • pnpm start starts Storybook locally

- Replace package-lock.json with pnpm-lock.yaml
- Add pnpm-workspace.yaml for workspace configuration
- Update package.json: packageManager field, engines, scripts
- Update .npmrc with pnpm-specific configuration
- Update all GitHub Actions workflows to use pnpm
- Update CONTRIBUTING.md: installation and dev commands
- Update AGENTS.md and skill files with pnpm instructions
- Remove npm debug log patterns from .gitignore
- Install pnpm via corepack instead of npm global install
Copilot AI review requested due to automatic review settings May 27, 2026 05:47
fetch-depth: 0
persist-credentials: false

- uses: pnpm/action-setup@v4.1.0
with:
persist-credentials: false

- uses: pnpm/action-setup@v4.1.0
with:
persist-credentials: false

- uses: pnpm/action-setup@v4.1.0
with:
persist-credentials: false

- uses: pnpm/action-setup@v4.1.0
with:
persist-credentials: false

- uses: pnpm/action-setup@v4.1.0
Comment thread .github/workflows/pr.yml
with:
persist-credentials: false

- uses: pnpm/action-setup@v4.1.0
with:
persist-credentials: false

- uses: pnpm/action-setup@v4.1.0
with:
persist-credentials: false

- uses: pnpm/action-setup@v4.1.0
ref: ${{ github.event.release.tag_name }}
persist-credentials: false

- uses: pnpm/action-setup@v4.1.0
ref: main
persist-credentials: false

- uses: pnpm/action-setup@v4.1.0
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@viktor-yang Viktor Yang (viktor-yang) added the minor Non breaking change label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Non breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants