From 5b31d63b42487351069b93a10ca7780dac96acd4 Mon Sep 17 00:00:00 2001 From: Matthew Keil Date: Fri, 26 Jul 2024 00:22:26 -0400 Subject: [PATCH] chore: add linux musl build (#150) * chore: add musl build * chore: bump version to publish --- npm/darwin-arm64/package.json | 17 ++++++++++++---- npm/darwin-x64/package.json | 17 ++++++++++++---- npm/linux-arm64-gnu/package.json | 17 ++++++++++++---- npm/linux-arm64-musl/README.md | 3 +++ npm/linux-arm64-musl/package.json | 34 +++++++++++++++++++++++++++++++ npm/linux-x64-gnu/package.json | 17 ++++++++++++---- npm/linux-x64-musl/README.md | 3 +++ npm/linux-x64-musl/package.json | 34 +++++++++++++++++++++++++++++++ npm/win32-x64-msvc/package.json | 17 ++++++++++++---- package.json | 6 ++++-- 10 files changed, 143 insertions(+), 22 deletions(-) create mode 100644 npm/linux-arm64-musl/README.md create mode 100644 npm/linux-arm64-musl/package.json create mode 100644 npm/linux-x64-musl/README.md create mode 100644 npm/linux-x64-musl/package.json diff --git a/npm/darwin-arm64/package.json b/npm/darwin-arm64/package.json index aed1c6c0..7d45dd89 100644 --- a/npm/darwin-arm64/package.json +++ b/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@chainsafe/blst-darwin-arm64", - "version": "2.0.1", + "version": "2.0.2", "os": [ "darwin" ], @@ -11,12 +11,21 @@ "files": [ "blst.darwin-arm64.node" ], + "description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library", + "keywords": [ + "bls", + "bls12-381", + "blst", + "crypto", + "ethereum", + "napi" + ], "license": "Apache-2.0", + "engines": { + "node": ">= 16" + }, "repository": { "type": "git", "url": "https://github.com/ChainSafe/blst-ts" - }, - "engines": { - "node": ">= 10" } } \ No newline at end of file diff --git a/npm/darwin-x64/package.json b/npm/darwin-x64/package.json index c926b55e..ef8cf8ac 100644 --- a/npm/darwin-x64/package.json +++ b/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@chainsafe/blst-darwin-x64", - "version": "2.0.1", + "version": "2.0.2", "os": [ "darwin" ], @@ -11,12 +11,21 @@ "files": [ "blst.darwin-x64.node" ], + "description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library", + "keywords": [ + "bls", + "bls12-381", + "blst", + "crypto", + "ethereum", + "napi" + ], "license": "Apache-2.0", + "engines": { + "node": ">= 16" + }, "repository": { "type": "git", "url": "https://github.com/ChainSafe/blst-ts" - }, - "engines": { - "node": ">= 10" } } \ No newline at end of file diff --git a/npm/linux-arm64-gnu/package.json b/npm/linux-arm64-gnu/package.json index dc575881..37b546d1 100644 --- a/npm/linux-arm64-gnu/package.json +++ b/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@chainsafe/blst-linux-arm64-gnu", - "version": "2.0.1", + "version": "2.0.2", "os": [ "linux" ], @@ -11,14 +11,23 @@ "files": [ "blst.linux-arm64-gnu.node" ], + "description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library", + "keywords": [ + "bls", + "bls12-381", + "blst", + "crypto", + "ethereum", + "napi" + ], "license": "Apache-2.0", + "engines": { + "node": ">= 16" + }, "repository": { "type": "git", "url": "https://github.com/ChainSafe/blst-ts" }, - "engines": { - "node": ">= 10" - }, "libc": [ "glibc" ] diff --git a/npm/linux-arm64-musl/README.md b/npm/linux-arm64-musl/README.md new file mode 100644 index 00000000..0ffc411b --- /dev/null +++ b/npm/linux-arm64-musl/README.md @@ -0,0 +1,3 @@ +# `@chainsafe/blst-linux-arm64-musl` + +This is the **aarch64-unknown-linux-musl** binary for `@chainsafe/blst` diff --git a/npm/linux-arm64-musl/package.json b/npm/linux-arm64-musl/package.json new file mode 100644 index 00000000..a6787cc1 --- /dev/null +++ b/npm/linux-arm64-musl/package.json @@ -0,0 +1,34 @@ +{ + "name": "@chainsafe/blst-linux-arm64-musl", + "version": "2.0.2", + "os": [ + "linux" + ], + "cpu": [ + "arm64" + ], + "main": "blst.linux-arm64-musl.node", + "files": [ + "blst.linux-arm64-musl.node" + ], + "description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library", + "keywords": [ + "bls", + "bls12-381", + "blst", + "crypto", + "ethereum", + "napi" + ], + "license": "Apache-2.0", + "engines": { + "node": ">= 16" + }, + "repository": { + "type": "git", + "url": "https://github.com/ChainSafe/blst-ts" + }, + "libc": [ + "musl" + ] +} \ No newline at end of file diff --git a/npm/linux-x64-gnu/package.json b/npm/linux-x64-gnu/package.json index 41283cfb..df7aca8e 100644 --- a/npm/linux-x64-gnu/package.json +++ b/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@chainsafe/blst-linux-x64-gnu", - "version": "2.0.1", + "version": "2.0.2", "os": [ "linux" ], @@ -11,14 +11,23 @@ "files": [ "blst.linux-x64-gnu.node" ], + "description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library", + "keywords": [ + "bls", + "bls12-381", + "blst", + "crypto", + "ethereum", + "napi" + ], "license": "Apache-2.0", + "engines": { + "node": ">= 16" + }, "repository": { "type": "git", "url": "https://github.com/ChainSafe/blst-ts" }, - "engines": { - "node": ">= 10" - }, "libc": [ "glibc" ] diff --git a/npm/linux-x64-musl/README.md b/npm/linux-x64-musl/README.md new file mode 100644 index 00000000..08754569 --- /dev/null +++ b/npm/linux-x64-musl/README.md @@ -0,0 +1,3 @@ +# `@chainsafe/blst-linux-x64-musl` + +This is the **x86_64-unknown-linux-musl** binary for `@chainsafe/blst` diff --git a/npm/linux-x64-musl/package.json b/npm/linux-x64-musl/package.json new file mode 100644 index 00000000..062acabc --- /dev/null +++ b/npm/linux-x64-musl/package.json @@ -0,0 +1,34 @@ +{ + "name": "@chainsafe/blst-linux-x64-musl", + "version": "2.0.2", + "os": [ + "linux" + ], + "cpu": [ + "x64" + ], + "main": "blst.linux-x64-musl.node", + "files": [ + "blst.linux-x64-musl.node" + ], + "description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library", + "keywords": [ + "bls", + "bls12-381", + "blst", + "crypto", + "ethereum", + "napi" + ], + "license": "Apache-2.0", + "engines": { + "node": ">= 16" + }, + "repository": { + "type": "git", + "url": "https://github.com/ChainSafe/blst-ts" + }, + "libc": [ + "musl" + ] +} \ No newline at end of file diff --git a/npm/win32-x64-msvc/package.json b/npm/win32-x64-msvc/package.json index 2f872558..a76c5e7f 100644 --- a/npm/win32-x64-msvc/package.json +++ b/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@chainsafe/blst-win32-x64-msvc", - "version": "2.0.1", + "version": "2.0.2", "os": [ "win32" ], @@ -11,12 +11,21 @@ "files": [ "blst.win32-x64-msvc.node" ], + "description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library", + "keywords": [ + "bls", + "bls12-381", + "blst", + "crypto", + "ethereum", + "napi" + ], "license": "Apache-2.0", + "engines": { + "node": ">= 16" + }, "repository": { "type": "git", "url": "https://github.com/ChainSafe/blst-ts" - }, - "engines": { - "node": ">= 10" } } \ No newline at end of file diff --git a/package.json b/package.json index dbb487c5..e31b13ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chainsafe/blst", - "version": "2.0.1", + "version": "2.0.2", "description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library", "scripts": { "artifacts": "napi artifacts", @@ -47,7 +47,9 @@ "triples": { "additional": [ "aarch64-apple-darwin", - "aarch64-unknown-linux-gnu" + "aarch64-unknown-linux-gnu", + "aarch64-unknown-linux-musl", + "x86_64-unknown-linux-musl" ] } },