@npmcli/config 8.0.3 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -494,6 +494,16 @@ define('os', {
494
494
  flatten,
495
495
  })
496
496
 
497
+ define('libc', {
498
+ default: null,
499
+ type: [null, String],
500
+ description: `
501
+ Override libc of native modules to install.
502
+ Acceptable values are same as \`libc\` field of package.json
503
+ `,
504
+ flatten,
505
+ })
506
+
497
507
  define('depth', {
498
508
  default: null,
499
509
  defaultDescription: `
@@ -655,6 +665,26 @@ define('engine-strict', {
655
665
  flatten,
656
666
  })
657
667
 
668
+ define('expect-results', {
669
+ default: null,
670
+ type: [null, Boolean],
671
+ exclusive: ['expect-result-count'],
672
+ description: `
673
+ Tells npm whether or not to expect results from the command.
674
+ Can be either true (expect some results) or false (expect no results).
675
+ `,
676
+ })
677
+
678
+ define('expect-result-count', {
679
+ default: null,
680
+ type: [null, Number],
681
+ hint: '<count>',
682
+ exclusive: ['expect-results'],
683
+ description: `
684
+ Tells to expect a specific number of results from the command.
685
+ `,
686
+ })
687
+
658
688
  define('fetch-retries', {
659
689
  default: 2,
660
690
  type: Number,
@@ -756,6 +786,8 @@ define('force', {
756
786
 
757
787
  define('foreground-scripts', {
758
788
  default: false,
789
+ defaultDescription: `\`false\` unless when using \`npm pack\` or \`npm publish\` where it
790
+ defaults to \`true\``,
759
791
  type: Boolean,
760
792
  description: `
761
793
  Run all build scripts (ie, \`preinstall\`, \`install\`, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npmcli/config",
3
- "version": "8.0.3",
3
+ "version": "8.2.0",
4
4
  "files": [
5
5
  "bin/",
6
6
  "lib/"