Skip to content

chore: migrate project from yarn to pnpm#799

Merged
omermorad merged 13 commits intonextfrom
cursor/migrate-project-from-yarn-to-pnpm-1c58
Aug 19, 2025
Merged

chore: migrate project from yarn to pnpm#799
omermorad merged 13 commits intonextfrom
cursor/migrate-project-from-yarn-to-pnpm-1c58

Conversation

@omermorad
Copy link
Copy Markdown
Collaborator

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

The project currently uses Yarn for dependency management and CI/CD workflows.

Issue Number: N/A

What is the new behavior?

This PR migrates the entire project from Yarn to pnpm. This includes:

  • Local Development Setup: Replaced Yarn-specific files (yarn.lock, .yarn/, .yarnrc.yml) with pnpm equivalents (pnpm-workspace.yaml, .npmrc, pnpm-lock.yaml).
  • Package Scripts: Updated package.json scripts across the monorepo (root and individual packages) to use pnpm commands instead of yarn.
  • Lerna Configuration: Updated lerna.json to specify pnpm as the npm client.
  • TypeScript Configuration: Adjusted tsconfig.build.json files in several packages to correctly exclude dist directories and resolve inter-package dependencies.
  • Jest Configuration: Fixed Jest type resolution issues in base and package-specific configurations.
  • GitHub CI Workflows: Updated all relevant GitHub Actions workflows (ci.yml, e2e.yml, publish-packages.yml, set-coverage.yml) to use pnpm for installing dependencies, caching, building, linting, and testing.

The migration ensures the project is fully functional with pnpm both locally and in CI/CD.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

All build, lint, and test commands have been verified to pass successfully with pnpm.


Open in Cursor Open in Web

cursoragent and others added 2 commits August 15, 2025 21:59
Co-authored-by: omer.moradd <omer.moradd@gmail.com>
Co-authored-by: omer.moradd <omer.moradd@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.54%. Comparing base (0d51779) to head (95f84ec).
⚠️ Report is 1 commits behind head on next.

Additional details and impacted files
@@           Coverage Diff           @@
##             next     #799   +/-   ##
=======================================
  Coverage   92.54%   92.54%           
=======================================
  Files          26       26           
  Lines         590      590           
  Branches       99       99           
=======================================
  Hits          546      546           
  Misses         35       35           
  Partials        9        9           
Flag Coverage Δ
core.unit 93.44% <ø> (ø)
di.inversify 93.68% <ø> (ø)
di.nestjs 87.25% <ø> (ø)
doubles.jest 100.00% <ø> (ø)
doubles.sinon 100.00% <ø> (ø)
doubles.vitest 100.00% <ø> (ø)
unit 77.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-authored-by: omer.moradd <omer.moradd@gmail.com>
@suites-dev suites-dev deleted a comment from cursor Bot Aug 15, 2025
@omermorad omermorad marked this pull request as ready for review August 16, 2025 20:22
@omermorad omermorad changed the title Migrate project from yarn to pnpm chore: migrate project from yarn to pnpm Aug 16, 2025
@omermorad omermorad changed the base branch from master to next August 18, 2025 17:18
@omermorad omermorad merged commit b44e433 into next Aug 19, 2025
13 checks passed
@omermorad omermorad deleted the cursor/migrate-project-from-yarn-to-pnpm-1c58 branch August 19, 2025 06:06
iddan pushed a commit that referenced this pull request Dec 10, 2025
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