bun icon indicating copy to clipboard operation
bun copied to clipboard

Add support for packages that need building

Open neo773 opened this issue 2 years ago • 1 comments

What is the problem this feature will solve?

Lot of packages have a post/pre install hook which builds the package for example: husky, @sentry/cli, react-native-purchases

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

building fresh packages like Yarn Screen Shot 2022-08-17 at 4 38 20 PM

What alternatives have you considered?

No response

neo773 avatar Aug 17 '22 18:08 neo773

$ time bun install
bun install v0.1.10
 + [email protected]
 + [email protected]
 + [email protected]
 + [email protected]
 + [email protected]
 + [email protected]
 + [email protected]
 + [email protected]
 + [email protected]
 + [email protected]
 + [email protected]
 + [email protected]
/bin/bash: husky: command not found

 979 packages installed [10.99s]
Script error "prepare" exited with 127 status

k3n avatar Aug 24 '22 19:08 k3n

Yes, we will support this when we add npm lifecycle hooks: #606

Electroid avatar Nov 03 '22 01:11 Electroid