npm-pkgbuild 22.2.8 → 22.2.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 +5 -5
- package/src/output/alpm.mjs +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-pkgbuild",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": false
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"aggregate-async-iterator": "^1.2.5",
|
|
53
53
|
"commander": "^15.0.0",
|
|
54
54
|
"compare-versions": "^6.1.1",
|
|
55
|
-
"content-entry": "^15.0.
|
|
56
|
-
"content-entry-filesystem": "^9.1.
|
|
57
|
-
"content-entry-transform": "^1.7.
|
|
55
|
+
"content-entry": "^15.0.4",
|
|
56
|
+
"content-entry-filesystem": "^9.1.6",
|
|
57
|
+
"content-entry-transform": "^1.7.11",
|
|
58
58
|
"execa": "^10.0.1",
|
|
59
59
|
"ini": "^7.0.0",
|
|
60
60
|
"key-value-transformer": "^3.3.2",
|
|
61
61
|
"npm-package-walker": "^8.0.11",
|
|
62
62
|
"npm-packlist": "^11.3.0",
|
|
63
|
-
"pacc": "^
|
|
63
|
+
"pacc": "^12.0.3",
|
|
64
64
|
"package-directory": "^8.2.0",
|
|
65
65
|
"pacote": "^22.0.0",
|
|
66
66
|
"picomatch": "^4.0.7",
|
package/src/output/alpm.mjs
CHANGED
|
@@ -288,10 +288,11 @@ export class ALPM extends Packager {
|
|
|
288
288
|
const { properties, staging, destination } = await this.prepare(options);
|
|
289
289
|
|
|
290
290
|
if (properties.hooks) {
|
|
291
|
+
let installFileName = `${properties.name}.install`;
|
|
291
292
|
let parts = 0;
|
|
292
293
|
|
|
293
294
|
const out = createWriteStream(
|
|
294
|
-
join(staging,
|
|
295
|
+
join(staging, installFileName),
|
|
295
296
|
utf8StreamOptions
|
|
296
297
|
);
|
|
297
298
|
|
|
@@ -304,7 +305,7 @@ export class ALPM extends Packager {
|
|
|
304
305
|
out.end();
|
|
305
306
|
|
|
306
307
|
if(parts > 0) {
|
|
307
|
-
properties.install =
|
|
308
|
+
properties.install = installFileName;
|
|
308
309
|
}
|
|
309
310
|
}
|
|
310
311
|
|