-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: build platform/arch specific npm packages
support libpact_ffi & pact-js-core node bindings to be published in seperate npm packages. these are segmented by os-arch-libc users should not need to require these automatically, npm should determine the required optional dependency to download at install time. supported_platforms "@pact-foundation/pact-core-darwin-arm64": "16.0.0", "@pact-foundation/pact-core-darwin-x64": "16.0.0", "@pact-foundation/pact-core-linux-arm64-glibc": "16.0.0", "@pact-foundation/pact-core-linux-arm64-musl": "16.0.0", "@pact-foundation/pact-core-linux-x64-glibc": "16.0.0", "@pact-foundation/pact-core-linux-x64-musl": "16.0.0", "@pact-foundation/pact-core-windows-x64": "16.0.0"
- Loading branch information
Showing
15 changed files
with
399 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,3 +72,6 @@ reports | |
tmp | ||
.tmp | ||
test/__testoutput__ | ||
|
||
# platform-arch specific packages | ||
@pact-foundation/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "${node_pkg}", | ||
"version": "${pkg_version}", | ||
"description": "Platform/arch specific libpact_ffi binaries for @pact-foundation/pact-core", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/pact-foundation/pact-js-core.git" | ||
}, | ||
"scripts": {}, | ||
"author": "Yousaf Nabi <[email protected]>", | ||
"homepage": "https://github.com/pact-foundation/pact-js-core#readme", | ||
"os": [ | ||
"${node_pkg_os}" | ||
], | ||
${libc} | ||
"cpu": [ | ||
"${node_arch}" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.