Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
story
0 points
halflife
5mo ago
0 comments
Share
What does it do with packages that download binaries for specific architecture in the post script?
0 comments
default
newest
oldest
madeofpalk
5mo ago
You don't need post-install scripts for this. Use optionalDependencies instead
https://github.com/nrwl/nx/blob/master/packages/nx/package.j...
Each of those deps contains a constraint installing only for the relevant platform.
2 more replies
edoceo
5mo ago
As stated, you manually approve them.
j
/
k
navigate · click thread line to collapse