npm-pkgbuild 15.2.5 → 15.3.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": "15.
|
|
3
|
+
"version": "15.3.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"typescript": "^5.4.5"
|
|
83
83
|
},
|
|
84
84
|
"engines": {
|
|
85
|
-
"node": ">=20.12.
|
|
85
|
+
"node": ">=20.12.2",
|
|
86
86
|
"bun": ">=1.0"
|
|
87
87
|
},
|
|
88
88
|
"repository": {
|
|
@@ -252,9 +252,7 @@ export async function* extractFromPackage(options = {}, env = {}) {
|
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
if (packageContent.contributors) {
|
|
255
|
-
properties.maintainer = packageContent.contributors.map(
|
|
256
|
-
c => `${c.name} <${c.email}>`
|
|
257
|
-
)[0];
|
|
255
|
+
properties.maintainer = packageContent.contributors.map(c => `${c.name} <${c.email}>`);
|
|
258
256
|
}
|
|
259
257
|
|
|
260
258
|
if (typeof packageContent.repository === "string") {
|
package/src/output/arch.mjs
CHANGED
|
@@ -221,8 +221,8 @@ const default_array_attribute = { type: "string[]" };
|
|
|
221
221
|
* https://www.archlinux.org/pacman/PKGBUILD.5.html
|
|
222
222
|
*/
|
|
223
223
|
const fields = {
|
|
224
|
-
Maintainer: { alias: "maintainer", type: "string", prefix: "# " },
|
|
225
|
-
|
|
224
|
+
Maintainer: { alias: "maintainer", type: "string[]", prefix: "# " },
|
|
225
|
+
packager: { alias: "maintainer", type: "string[]" },
|
|
226
226
|
pkgname: { alias: "name", type: "string[]", mandatory: true },
|
|
227
227
|
pkgver: { alias: "version", type: "string", mandatory: true },
|
|
228
228
|
pkgrel: { alias: "release", type: "integer", default: 1, mandatory: true },
|