npm-pkgbuild 15.1.3 → 15.1.5
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": "15.1.
|
|
3
|
+
"version": "15.1.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -73,13 +73,13 @@
|
|
|
73
73
|
"uti": "^8.4.1"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@types/node": "^20.11.
|
|
76
|
+
"@types/node": "^20.11.30",
|
|
77
77
|
"ava": "^6.1.2",
|
|
78
78
|
"c8": "^9.1.0",
|
|
79
79
|
"documentation": "^14.0.3",
|
|
80
80
|
"semantic-release": "^23.0.5",
|
|
81
81
|
"stream-buffers": "^3.0.2",
|
|
82
|
-
"typescript": "^5.4.
|
|
82
|
+
"typescript": "^5.4.3"
|
|
83
83
|
},
|
|
84
84
|
"engines": {
|
|
85
85
|
"node": ">=20.11.1",
|
package/src/npm-pkgbuild-cli.mjs
CHANGED
|
@@ -102,7 +102,7 @@ program
|
|
|
102
102
|
})
|
|
103
103
|
);
|
|
104
104
|
|
|
105
|
-
const o = new outputFactory(properties);
|
|
105
|
+
const o = new outputFactory(context.expand(properties));
|
|
106
106
|
const transformer = [
|
|
107
107
|
createExpressionTransformer(
|
|
108
108
|
entry => uc.fileNameConformsTo(entry.name, "public.text"),
|
package/src/output/arch.mjs
CHANGED
|
@@ -82,9 +82,6 @@ export class ARCH extends Packager {
|
|
|
82
82
|
await execa("makepkg", ["-V"]);
|
|
83
83
|
|
|
84
84
|
const cfg = await readFile("/etc/makepkg.conf", utf8StreamOptions);
|
|
85
|
-
if (options.verbose) {
|
|
86
|
-
console.log(cfg);
|
|
87
|
-
}
|
|
88
85
|
|
|
89
86
|
function getValue(key) {
|
|
90
87
|
const v = process.env[key];
|
package/src/output/packager.mjs
CHANGED
|
@@ -77,8 +77,8 @@ export class Packager {
|
|
|
77
77
|
if (e !== undefined) {
|
|
78
78
|
properties[k] = v.set ? v.set(e) : e;
|
|
79
79
|
} else {
|
|
80
|
-
const vak = v.alias || k;
|
|
81
80
|
if (v.default !== undefined) {
|
|
81
|
+
const vak = v.alias || k;
|
|
82
82
|
if (
|
|
83
83
|
(Array.isArray(properties[vak]) && properties[vak].length === 0) ||
|
|
84
84
|
properties[vak] === undefined
|