Commit 66a04c6
authored
Don't run postinstall script separately from yarn install (#629)
Background:
Previously we've been running postinstall script in a separate step from
the `yarn install` command. We've been doing that as a workaround for a
problem we had with the postinstall script in the
`@threshold-network/solidity-contracts` package (the script in that
package often randomly failed). Running `yarn upgrade` with
`--ignore-scripts` flag prevented the execution of postinstall script in
the main project and its depandencies. And running `yarn run
postinstall` after did execute the postinstall script in the main
project.
The change:
Recently we have refactored the `@threshold-network/solidity-contracts`
project and got rid of the problematic script. We can go back to
executing `yarn install` without the `--ignore-scripts` flag.
Ref:
threshold-network/solidity-contracts#142
threshold-network/solidity-contracts#143
threshold-network/token-dashboard#5311 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
0 commit comments