CLI documentation update from CI

npm CLI robot committed Sep 4, 2024 at 02:33 UTC faab836abd3f28a30b6e31a02b20f3946afc4289
1 file changed -20
content/cli/v10/configuring-npm/package-json.mdx
-20
@@ -905,26 +905,6 @@ Like the `os` option, you can also block architectures:
905
906 The host architecture is determined by `process.arch`
907
908 -### libc
909 -
910 -If your package only supports certain libc implementations, you can specify which ones. When running on non-Linux systems, any specified value for libc will fail the check.
911 -
912 -```json
913 -{
914 - "libc": ["glibc", "musl"]
915 -}
916 -```
917 -
918 -Similarly as with `os` and `cpu`, you can also block certain libc implementations:
919 -
920 -```json
921 -{
922 - "libc": ["!glibc"]
923 -}
924 -```
925 -
926 -Libc implementations is inferred by inspecting `process.report.glibcVersionRuntime` in the case of glibc or `process.report.sharedObjects` in the case of musl.
927 -
908 ### private
909
910 If you set `"private": true` in your package.json, then npm will refuse to publish it.