Skip to content

feat: migrate from yarn to pnpm#78

Open
zubeyralmaho wants to merge 1 commit intojotform:masterfrom
zubeyralmaho:feat/pnpm-migration
Open

feat: migrate from yarn to pnpm#78
zubeyralmaho wants to merge 1 commit intojotform:masterfrom
zubeyralmaho:feat/pnpm-migration

Conversation

@zubeyralmaho
Copy link

@zubeyralmaho zubeyralmaho commented Mar 7, 2026

What:

Migrate the project from yarn to pnpm package manager.

Why:

  • README states 'Zenith requires pnpm' but the project was using yarn
  • pnpm is faster and uses less disk space
  • Aligns documentation with actual tooling
  • Closes Migrate to pnpm #62

How:

  • Replaced yarn.lock with pnpm-lock.yaml
  • Updated packageManager in package.json to pnpm@9.0.0
  • Updated npm-publish.yml workflow to use pnpm
  • Added CI workflow for PR validation with pnpm
  • Added unit tests for utility functions
  • Updated .gitignore for build artifacts

Breaking Changes:

Contributors need to use pnpm instead of yarn:

  • pnpm install instead of yarn
  • pnpm build instead of yarn build
  • pnpm test instead of yarn test

Checklist:

  • Documentation added to the docs site
  • Tests
  • Ready to be merged

- Replace yarn.lock with pnpm-lock.yaml
- Update packageManager in package.json to pnpm@9.0.0
- Update npm-publish.yml workflow for pnpm
- Add CI workflow for PR validation
- Add unit tests for utility functions
- Update .gitignore for build artifacts

Closes jotform#62
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.

Migrate to pnpm

1 participant