#How does one disable the default trustedDependencies ?

1 messages · Page 1 of 1 (latest)

silent patrol
#

Can it be done via cli or bunfig ?

terse scaffold
silent patrol
#

That does not make sense. Will the following only trust protobuf and none in the default list ?

"trustedDependencies": [
"protobufjs",
]

terse scaffold
#

yeah should

#

thats the list

silent patrol
#

So if nothing is added to package.json, then bun trusts all those 367 packages, but if I add one to package.json then none of them are trusted ?

terse scaffold
#

bun only shows the output if its an error

#

so if u enable it, you are only slowing down install speeds for no use

terse scaffold
silent patrol
#

If nothing is added to package.json, then bun trusts all those 367 packages.
If I add one to my package.json, does bun trust only that one package, or those 367 plus one ?

terse scaffold
#

just the one

#

but trust in this context, is only for running postinstall scripts, nothing else is being effected

silent patrol
#

That's ok. I was concerned that the two list may be getting concatenated instead of overriding it.