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

Add support for npm equivalent --prefix (expected: bun run dev --prefix ./a-sub-directory/) #15135

Open
DamChtlv opened this issue Nov 13, 2024 · 0 comments
Labels
bun install Something that relates to the npm-compatible client enhancement New feature or request

Comments

@DamChtlv
Copy link

What is the problem this feature would solve?

It's handy to have a top parent package.json which stores scripts that you can run directly from opening your project folder instead of having to cd inside my sub-directory folder and then run the command from there.

What is the feature you are proposing to solve the problem?

Adding support for --prefix npm equivalent (or --cwd that i saw mentionned here: https://stackoverflow.com/questions/77424625/how-to-run-bun-install-in-a-different-directory-than-the-current) for bun run.

What alternatives have you considered?

cd inside subdirectories directly but it's less productive :)

@DamChtlv DamChtlv added the enhancement New feature or request label Nov 13, 2024
@nektro nektro added the bun install Something that relates to the npm-compatible client label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun install Something that relates to the npm-compatible client enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants