Open intrnl opened 1 year ago
Additionally this would also mean that Bun can also show warnings for packages that has a postinstall script, but not ran because of the status being uncertain, as in, not declared on dependenciesMeta
whether it should be allowed to run, or forbidden to run.
dependenciesMeta.*.built
values:
undefined
- warn if this package contains a postinstall scripttrue
- run this package's postinstall scriptfalse
- do not run this package's postinstall scriptThis is partially implemented but doesn't work the way people expect it to and will be fixed soon. The current implementation uses a new "trustedDependencies"
field in package.json #3288
What is the problem this feature would solve?
Removes the need for users to maintain a
trustedDependencies
field that no other package manager supportsWhat is the feature you are proposing to solve the problem?
Support
dependenciesMeta.*.built
, a pattern that Yarn currently supportsWhat alternatives have you considered?
No response