Join Slack
Powered by
<#602 [Optimization] Split prebuilds to OS specifi...
# pact-js-development
g
GitHub
12/23/2024, 7:11 AM
#602 [Optimization] Split prebuilds to OS specific packages
Issue created by
belozer
Currently, the pact-core package includes binary versions of the server for all platforms. And the package weighs
110 MB
. CI does not require all binary versions, only
linux-x64
is needed... But instead, each CI launch downloads an
extra 80 MB
, which also affects the speed of passing the tests. It is necessary to create your own package for each platform, as optionalDepencies with restrictions on OS and Arch.
Example:
https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/package.json#L52-L61
And platform specific package:
https://github.com/biomejs/biome/blob/main/packages/%40biomejs/cli-linux-x64-musl/package.json
pact-foundation/pact-js-core
Open in Slack
Previous
Next