npm-pkgbuild 7.22.6 → 7.22.10
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": "7.22.
|
|
3
|
+
"version": "7.22.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
"lint:docs": "documentation lint ./src/**/*.mjs"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@npmcli/arborist": "^4.
|
|
42
|
-
"aggregate-async-iterator": "^1.1.
|
|
41
|
+
"@npmcli/arborist": "^4.3.0",
|
|
42
|
+
"aggregate-async-iterator": "^1.1.9",
|
|
43
43
|
"commander": "^8.3.0",
|
|
44
44
|
"content-entry": "^4.1.2",
|
|
45
|
-
"content-entry-filesystem": "^4.0.
|
|
46
|
-
"content-entry-transform": "^1.3.
|
|
45
|
+
"content-entry-filesystem": "^4.0.4",
|
|
46
|
+
"content-entry-transform": "^1.3.7",
|
|
47
47
|
"execa": "^6.0.0",
|
|
48
|
-
"expression-expander": "^7.0.
|
|
48
|
+
"expression-expander": "^7.0.14",
|
|
49
49
|
"globby": "^13.1.0",
|
|
50
|
-
"iterable-string-interceptor": "^1.0.
|
|
51
|
-
"key-value-transformer": "^2.0.
|
|
50
|
+
"iterable-string-interceptor": "^1.0.13",
|
|
51
|
+
"key-value-transformer": "^2.0.2",
|
|
52
52
|
"node-fetch": "^3.2.0",
|
|
53
|
-
"npm-package-walker": "^5.0.
|
|
53
|
+
"npm-package-walker": "^5.0.5",
|
|
54
54
|
"npm-packlist": "^3.0.0",
|
|
55
55
|
"pacote": "^12.0.3",
|
|
56
56
|
"pkg-dir": "^6.0.1",
|
|
@@ -48,7 +48,7 @@ export class NodeModulesContentProvider extends ContentProvider {
|
|
|
48
48
|
|
|
49
49
|
const arb = new Arborist({ path: tmp });
|
|
50
50
|
await arb.buildIdealTree({
|
|
51
|
-
rm: ["@types/node", "@types/uuid"],
|
|
51
|
+
//rm: ["@types/node", "@types/uuid"],
|
|
52
52
|
update: true,
|
|
53
53
|
prune: true,
|
|
54
54
|
saveType: "prod"
|
|
@@ -171,6 +171,6 @@ const toBeSkipped = new RegExp(
|
|
|
171
171
|
"chains and topics\\.md",
|
|
172
172
|
"build_detect_platform"
|
|
173
173
|
].join("|") +
|
|
174
|
-
")
|
|
174
|
+
")$|(node_modules\/(\@types|node\-addon\-api))",
|
|
175
175
|
"i"
|
|
176
176
|
);
|
package/src/npm-pkgbuild-cli.mjs
CHANGED
|
@@ -53,7 +53,7 @@ program
|
|
|
53
53
|
let values = value.split(/,/);
|
|
54
54
|
if (values.length > 1) {
|
|
55
55
|
values = values.map(v => process.env[v] || v);
|
|
56
|
-
return { url:
|
|
56
|
+
return { url: values[0], user: values[1], password: values[2] };
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
return { url: value };
|
|
@@ -129,7 +129,7 @@ program
|
|
|
129
129
|
|
|
130
130
|
if (options.verbose) {
|
|
131
131
|
console.log(output.properties);
|
|
132
|
-
console.log(`sources: ${sources}`);
|
|
132
|
+
console.log(`sources: ${sources.join('\n ')}`);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
const fileName = await output.execute(
|