Skip to content

build: migrate to pnpm#45

Draft
goastler wants to merge 1 commit into
mainfrom
feat/pnpm-migration
Draft

build: migrate to pnpm#45
goastler wants to merge 1 commit into
mainfrom
feat/pnpm-migration

Conversation

@goastler

Copy link
Copy Markdown
Member

Summary

Migrate the docs site from npm to pnpm (part of a coordinated migration across the captcha repos).

Changes

  • packageManager: npm@11.0.0pnpm@11.6.0; engines require pnpm >=11
  • Replace package-lock.json with committed pnpm-lock.yaml
  • Add pnpm-workspace.yaml with allowBuilds approvals (@biomejs/biome, esbuild, sharp)
  • Rewrite npm run/npm cipnpm in package scripts, netlify.toml, and workflows
  • CI: insert pnpm/action-setup before actions/setup-node, replace the pinned global npm install with corepack enable, and switch the setup-node cache to pnpm

Notes

  • No workspace: conversions — this repo has no internal @prosopo/* workspace deps.
  • pnpm install verified green locally (astro/sharp/esbuild build scripts run).

🤖 Generated with Claude Code

- Switch packageManager from npm@11 to pnpm@11.6.0; engines require pnpm
- Replace package-lock.json with pnpm-lock.yaml
- Add pnpm-workspace.yaml with allowBuilds (biome, esbuild, sharp)
- Rewrite npm run/ci -> pnpm in scripts, netlify.toml and workflows
- CI: add pnpm/action-setup before setup-node, corepack enable, cache: pnpm
@netlify

netlify Bot commented Jun 12, 2026

Copy link
Copy Markdown

Deploy Preview for peaceful-pothos-9e62ce failed. Why did it fail? →

Name Link
🔨 Latest commit 3c1708d
🔍 Latest deploy log https://app.netlify.com/projects/peaceful-pothos-9e62ce/deploys/6a2c724041453d00083c0e45

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