Skip to content

Convert from npm to pnpm #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bhouston opened this issue Mar 7, 2025 · 0 comments · Fixed by #9
Closed

Convert from npm to pnpm #8

bhouston opened this issue Mar 7, 2025 · 0 comments · Fixed by #9

Comments

@bhouston
Copy link
Member

bhouston commented Mar 7, 2025

Convert from npm to pnpm

Background

This project currently uses npm as its package manager. Converting to pnpm would provide several benefits:

  • Faster installation times
  • Disk space efficiency through content-addressable storage
  • Strict dependency management preventing phantom dependencies
  • Better monorepo support if needed in the future

Proposed Changes

  • Add pnpm-lock.yaml
  • Remove package-lock.json
  • Update documentation to reference pnpm instead of npm/yarn
  • Add pnpm-specific configuration files if needed

Implementation Details

The conversion should be straightforward:

  1. Install pnpm globally
  2. Remove node_modules and package-lock.json
  3. Run pnpm install to generate pnpm-lock.yaml
  4. Update README.md and other docs to use pnpm commands
  5. Verify that the application builds and runs correctly with pnpm

Impact

This change is expected to have minimal impact on the development workflow while providing the benefits mentioned above.

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 a pull request may close this issue.

1 participant