Skip to content
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

[CLI] Revisit Bun support when creating new NestJS project #13881

Closed
1 task done
ccaspanello opened this issue Aug 12, 2024 · 1 comment
Closed
1 task done

[CLI] Revisit Bun support when creating new NestJS project #13881

ccaspanello opened this issue Aug 12, 2024 · 1 comment
Labels
needs triage This issue has not been looked into type: enhancement 🐺

Comments

@ccaspanello
Copy link

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

Previously there was an issue created for this:
Provide bun as a package manager in the startup menu when we create a new nest project

At the time this was not possible because Bun did not support the decorators. However, this has been worked on (see https://bun.sh/blog/bun-v1.0.3?ref=nooptoday.com#emitdecoratormetadata-used-by-nest-js-typeorm-and-more) and some people are having success running it with Bun.
https://nooptoday.com/how-to-run-nestjs-with-bun/

I would really like to see bun as a first class citizen in the CLI tools, I've been favoring it over npm and yarn

Describe the solution you'd like

Add Bun as an option when running nest new my-project

Teachability, documentation, adoption, migration strategy

Links have been provided above.

What is the motivation / use case for changing the behavior?

Bun is widely used and gaining popularity. It seems reasonable to support it.

@ccaspanello ccaspanello added needs triage This issue has not been looked into type: enhancement 🐺 labels Aug 12, 2024
@micalevisk
Copy link
Member

nestjs/nest-cli#2223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has not been looked into type: enhancement 🐺
Projects
None yet
Development

No branches or pull requests

3 participants