Skip to content

Commit

Permalink
chore: add libc field to node packages (#4856)
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-soporan authored Aug 4, 2022
1 parent 964926f commit f7d2dfc
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/libc-field.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cli.js": patch
---

Add `libc` field to Node packages.
3 changes: 3 additions & 0 deletions tooling/cli/node/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"cpu": [
"arm64"
],
"libc": [
"glibc"
],
"main": "cli.linux-arm64-gnu.node",
"files": [
"cli.linux-arm64-gnu.node"
Expand Down
3 changes: 3 additions & 0 deletions tooling/cli/node/npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"cpu": [
"arm64"
],
"libc": [
"musl"
],
"main": "cli.linux-arm64-musl.node",
"files": [
"cli.linux-arm64-musl.node"
Expand Down
3 changes: 3 additions & 0 deletions tooling/cli/node/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"cpu": [
"x64"
],
"libc": [
"glibc"
],
"main": "cli.linux-x64-gnu.node",
"files": [
"cli.linux-x64-gnu.node"
Expand Down
3 changes: 3 additions & 0 deletions tooling/cli/node/npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"cpu": [
"x64"
],
"libc": [
"musl"
],
"main": "cli.linux-x64-musl.node",
"files": [
"cli.linux-x64-musl.node"
Expand Down

0 comments on commit f7d2dfc

Please sign in to comment.