Skip to content

feat: yarn, bun, pnpm support #1027

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

feat: yarn, bun, pnpm support #1027

wants to merge 10 commits into from

Conversation

AndriiAndreiev
Copy link
Collaborator

@AndriiAndreiev AndriiAndreiev commented May 6, 2025

🚥 Resolves #560

🧰 Changes

Changes

  • Fixed an issue where a npm-specific package-lock.json file was incorrectly generated when adding a compiled package to a base project using Yarn (with a yarn.lock file) or any other package manager.
  • Added support for Yarn, Bun, and pnpm package managers:
    • Implemented scripts to correctly identify and use the base project's package manager when adding a package.
    • Unified logic to handle different package managers consistently.
  • Refactored the package installation and SDK compilation method to support multiple PMs.

🧬 QA & Testing

Create a project using Yarn, Bun, or pnpm as the package manager and generate an SDK

@AndriiAndreiev AndriiAndreiev changed the title feat: yarn support feat: yarn, bun, pnpm support Jun 10, 2025
@AndriiAndreiev AndriiAndreiev marked this pull request as ready for review June 10, 2025 10:13
@AndriiAndreiev AndriiAndreiev requested a review from erunion as a code owner June 10, 2025 10:13
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.

Running with a project that uses yarn creates a package-lock.json file
1 participant