-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What is the problem this feature would solve?
Run interactive scripts from the monorepo root using bun --filter so cd into the directory isn't required as an extra step.
What is the feature you are proposing to solve the problem?
When bun --filter resolves to a single package, run it in the same interactive mode as if you cd into the directory. This is the same behavior as pnpm.
For example, launching an expo app cannot be done from the monorepo root
From root I cannot run any command e.g. "Press i │ open iOS simulator":
git:(main) ✗ bun --filter @repo/app start
@repo/app start $ expo start
│ [22 lines elided]
│ Waiting on http://localhost:8081
│ Logs for your project will appear below.
└─ Running...
after cd client/app
app git:(main) ✗ bun run start
$ expo start
env: load .env.local
Starting project at /repo/client/app
Experimental Expo Autolinking module resolver is enabled.
Starting Metro Bundler
› Metro waiting on exp://192.168.157.224:8081
› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)
› Web is waiting on http://localhost:8081
› Using Expo Go
› Press s │ switch to development build
› Press a │ open Android
› Press i │ open iOS simulator
› Press w │ open web
› Press j │ open debugger
› Press r │ reload app
› Press m │ toggle menu
› shift+m │ more tools
› Press o │ open project code in your editor
› Press ? │ show all commands
Logs for your project will appear below. Press Ctrl+C to exit.
What alternatives have you considered?
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request