@npmcli/config 6.2.1 → 6.4.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.
@@ -490,6 +490,28 @@ define('commit-hooks', {
490
490
  flatten,
491
491
  })
492
492
 
493
+ define('cpu', {
494
+ default: null,
495
+ type: [null, String],
496
+ description: `
497
+ Override CPU architecture of native modules to install.
498
+ Acceptable values are same as \`cpu\` field of package.json,
499
+ which comes from \`process.arch\`.
500
+ `,
501
+ flatten,
502
+ })
503
+
504
+ define('os', {
505
+ default: null,
506
+ type: [null, String],
507
+ description: `
508
+ Override OS of native modules to install.
509
+ Acceptable values are same as \`os\` field of package.json,
510
+ which comes from \`process.platform\`.
511
+ `,
512
+ flatten,
513
+ })
514
+
493
515
  define('depth', {
494
516
  default: null,
495
517
  defaultDescription: `
@@ -1203,6 +1225,33 @@ define('local-address', {
1203
1225
  flatten,
1204
1226
  })
1205
1227
 
1228
+ define('sbom-format', {
1229
+ default: null,
1230
+ type: [
1231
+ 'cyclonedx',
1232
+ 'spdx',
1233
+ ],
1234
+ description: `
1235
+ SBOM format to use when generating SBOMs.
1236
+ `,
1237
+ flatten,
1238
+ })
1239
+
1240
+ define('sbom-type', {
1241
+ default: 'library',
1242
+ type: [
1243
+ 'library',
1244
+ 'application',
1245
+ 'framework',
1246
+ ],
1247
+ description: `
1248
+ The type of package described by the generated SBOM. For SPDX, this is the
1249
+ value for the \`primaryPackagePurpose\` field. For CycloneDX, this is the
1250
+ value for the \`type\` field.
1251
+ `,
1252
+ flatten,
1253
+ })
1254
+
1206
1255
  define('location', {
1207
1256
  default: 'user',
1208
1257
  short: 'L',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npmcli/config",
3
- "version": "6.2.1",
3
+ "version": "6.4.0",
4
4
  "files": [
5
5
  "bin/",
6
6
  "lib/"
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "@npmcli/eslint-config": "^4.0.0",
34
34
  "@npmcli/mock-globals": "^1.0.0",
35
- "@npmcli/template-oss": "4.14.1",
35
+ "@npmcli/template-oss": "4.19.0",
36
36
  "tap": "^16.3.4"
37
37
  },
38
38
  "dependencies": {
@@ -50,6 +50,7 @@
50
50
  },
51
51
  "templateOSS": {
52
52
  "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
53
- "version": "4.14.1"
53
+ "version": "4.19.0",
54
+ "content": "../../scripts/template-oss/index.js"
54
55
  }
55
56
  }