Skip to content

Commit

Permalink
docs(package.json): add libc field (npm#7822)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar authored Oct 7, 2024
1 parent 534ad77 commit feb54f7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/lib/content/configuring-npm/package-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,18 @@ Like the `os` option, you can also block architectures:
The host architecture is determined by `process.arch`
### libc
If your code only runs or builds in certain versions of libc, you can
specify which ones. This field only applies if `os` is `linux`.
```json
{
"os": "linux",
"libc": "glibc"
}
```
### devEngines
The `devEngines` field aids engineers working on a codebase to all be using the same tooling.
Expand Down

0 comments on commit feb54f7

Please sign in to comment.