@npmcli/config 8.1.0 → 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.
@@ -665,6 +665,26 @@ define('engine-strict', {
665
665
  flatten,
666
666
  })
667
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
+
668
688
  define('fetch-retries', {
669
689
  default: 2,
670
690
  type: Number,
@@ -766,6 +786,8 @@ define('force', {
766
786
 
767
787
  define('foreground-scripts', {
768
788
  default: false,
789
+ defaultDescription: `\`false\` unless when using \`npm pack\` or \`npm publish\` where it
790
+ defaults to \`true\``,
769
791
  type: Boolean,
770
792
  description: `
771
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.1.0",
3
+ "version": "8.2.0",
4
4
  "files": [
5
5
  "bin/",
6
6
  "lib/"