bun
bun copied to clipboard
Implement `bun install` error exit codes
What is the problem this feature would solve?
bun install
returns exit code 0
even when some packages could not be installed.
$ bun install
bun install v0.4.0 (a94bba63)
🔍 some-private-package [82/210]
error: package "some-private-package" not found registry.npmjs.org/some-private-package 404
+ @angular-devkit/[email protected]
+ @angular/[email protected]
+ @angular/[email protected]
+ @angular/[email protected]
...
1554 packages installed [21.21s]
$ echo $?
0
What is the feature you are proposing to solve the problem?
Return non zero exit codes when something went wrong.
$ bun install
bun install v0.4.0 (a94bba63)
🔍 some-private-package [82/210]
error: package "some-private-package" not found registry.npmjs.org/some-private-package 404
+ @angular-devkit/[email protected]
+ @angular/[email protected]
+ @angular/[email protected]
+ @angular/[email protected]
...
1554 packages installed [21.21s]
$ echo $?
1
What alternatives have you considered?
No response