Open yukulele opened 9 months ago
Right, is this a bug?
I suffered for 4 hours in vain because of this.
As per the npm-run-script
docs, the INIT_CWD
environment variable is also not being set.
This is an issue for me as well, as with yarn
workspaces, I was able to define re-usable scripts in one central place, and run them in any directory I needed, with INIT_CWD
helping that. Using bun run --filter script-package someGlobalScript
doesn't work from any directory anymore.
What version of Bun is running?
1.0.22+b400b36ca
What platform is your computer?
Linux 5.15.0-58-generic x86_64 x86_64
What steps can reproduce the bug?
(In this example I'm in
/home/me/my-project/
directory.)create a
pwd
script in package.json:create a sub directory and cd it
run
pwd
scriptWhat is the expected behavior?
What do you see instead?
Additional information
compare with npm: