npm-pkgbuild 19.1.4 → 19.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "19.1.4",
3
+ "version": "19.2.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": false
@@ -59,22 +59,22 @@
59
59
  "compare-versions": "^6.1.1",
60
60
  "content-entry": "^14.2.7",
61
61
  "content-entry-filesystem": "^9.0.14",
62
- "content-entry-transform": "^1.5.15",
62
+ "content-entry-transform": "^1.5.17",
63
63
  "execa": "^9.6.0",
64
64
  "expression-expander": "^7.2.8",
65
65
  "ini": "^6.0.0",
66
- "iterable-string-interceptor": "^3.0.3",
66
+ "iterable-string-interceptor": "^3.0.5",
67
67
  "key-value-transformer": "^3.3.1",
68
68
  "npm-package-walker": "^8.0.11",
69
69
  "npm-packlist": "^10.0.3",
70
- "pacc": "^7.2.0",
70
+ "pacc": "^8.0.2",
71
71
  "package-directory": "^8.1.0",
72
72
  "pacote": "^21.0.4",
73
73
  "tar-stream": "^3.1.7",
74
74
  "uti": "^8.10.3"
75
75
  },
76
76
  "devDependencies": {
77
- "@types/node": "^25.0.5",
77
+ "@types/node": "^25.0.8",
78
78
  "ava": "^6.4.1",
79
79
  "c8": "^10.1.3",
80
80
  "documentation": "^14.0.3",
@@ -17,8 +17,12 @@ import pkg from "../package.json" with { type: "json" };
17
17
  program.description(pkg.description).version(pkg.version);
18
18
 
19
19
  allOutputs.forEach(o => {
20
- program.option(`--${o.name}`, o.description);
21
- program.option(`--no-${o.name}`, `do not ${o.description} output`);
20
+ for(const name of [o.name,o.alias]) {
21
+ if(name) {
22
+ program.option(`--${name}`, o.description);
23
+ program.option(`--no-${name}`, `do not ${o.description} output`);
24
+ }
25
+ }
22
26
  });
23
27
 
24
28
  allInputs.forEach(i => {
@@ -61,12 +61,17 @@ let _prepared;
61
61
  let _architecture = "aarch64";
62
62
 
63
63
  export class ARCH extends Packager {
64
+
65
+ static get alias() {
66
+ return "alpm";
67
+ }
68
+
64
69
  static get name() {
65
70
  return "arch";
66
71
  }
67
72
 
68
73
  static get description() {
69
- return "generate Arch-Linux package";
74
+ return "generate Arch-Linux package (ALPM)";
70
75
  }
71
76
 
72
77
  static get fileNameExtension() {
@@ -4,6 +4,7 @@
4
4
  */
5
5
  export const pkgKeyValuePairOptions: any;
6
6
  export class ARCH extends Packager {
7
+ static get alias(): string;
7
8
  static get description(): string;
8
9
  static get fileNameExtension(): string;
9
10
  /**