-
Notifications
You must be signed in to change notification settings - Fork 164
Add support for Bun package manager in JavaScript hosting extensions #1243
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -50,9 +50,15 @@ var turbo = builder.AddTurborepoApp("turbo", workingDirectory: "../frontend") | |||||
| .WithPnpm() | ||||||
| .WithPackageManagerLaunch("pnpm"); // Uses 'pnpm' command | ||||||
|
|
||||||
| // Bun example | ||||||
| var bunRepo = builder.AddTurborepoApp("bun-repo", workingDirectory: "../frontend") | ||||||
| .WithBun() | ||||||
| .WithPackageManagerLaunch("bun"); // Uses 'bun' command | ||||||
|
||||||
| .WithPackageManagerLaunch("bun"); // Uses 'bun' command | |
| .WithPackageManagerLaunch("bun"); // Uses 'bunx' command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section was updated to recommend
.WithYarn(install: true),.WithPnpm(install: true), etc., but the rest of MONOREPO.md still uses.WithYarnPackageInstaller()/.WithPnpmPackageInstaller()in the code samples, which don’t exist in the codebase. Please update the earlier examples and the “Package Installer” discussion to use the actual APIs (WithYarn(install: true),WithPnpm(install: true),WithBun(install: true), etc.) so the documentation is consistent and copy/paste-able.