Skip to content

chore: migrate from npm to pnpm#335

Merged
EugeniyKiyashko merged 1 commit intomasterfrom
migrate-to-pnpm
Apr 16, 2026
Merged

chore: migrate from npm to pnpm#335
EugeniyKiyashko merged 1 commit intomasterfrom
migrate-to-pnpm

Conversation

@EugeniyKiyashko
Copy link
Copy Markdown
Contributor

Summary

Migrate package manager from npm to pnpm for faster installs, better disk space usage, and stricter dependency management.

Changes

  • package.json: Added packageManager: pnpm@9.15.9, replaced npm runpnpm run in scripts, moved overrides to pnpm.overrides
  • .npmrc: Created with shamefully-hoist=true (required for Angular CLI compatibility) and auto-install-peers=true
  • .github/workflows/ci.yml: Replaced npm caching/install with pnpm/action-setup@v4 + pnpm install --frozen-lockfile
  • .github/workflows/deploy.yml: Same CI changes as above
  • .gitignore: Added pnpm-debug.log
  • README.md: Updated prerequisites and commands to use pnpm
  • package-lock.jsonpnpm-lock.yaml: Replaced lock file

Verification

  • pnpm run lint — passes (0 errors, 56 warnings — same as before)
  • pnpm run build — passes successfully

- Add packageManager field (pnpm@9.15.9) to package.json
- Replace npm commands with pnpm in scripts
- Move overrides to pnpm.overrides format
- Create .npmrc with shamefully-hoist for Angular compatibility
- Update CI and Deploy workflows to use pnpm/action-setup
- Replace package-lock.json with pnpm-lock.yaml
- Update README with pnpm instructions
@EugeniyKiyashko EugeniyKiyashko merged commit eefd4f0 into master Apr 16, 2026
4 checks passed
@EugeniyKiyashko EugeniyKiyashko deleted the migrate-to-pnpm branch April 16, 2026 12:47
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