Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
halflife
7mo ago
0 comments
Save
Share
What does it do with packages that download binaries for specific architecture in the post script?
0 comments
2 comments · 2 top-level
top
newest
oldest
madeofpalk
7mo 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
7mo ago
As stated, you manually approve them.
j
/
k
navigate · click thread line to collapse