npm-pkgbuild 20.1.2 → 20.2.1
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/README.md +63 -61
- package/package.json +5 -5
- package/src/content/file-content-provider.mjs +1 -1
- package/src/extract-from-package.mjs +9 -2
- package/src/output/packager.mjs +2 -7
- package/types/content/file-content-provider.d.mts +1 -1
- package/types/extract-from-package.d.mts +2 -0
- package/types/output/arch.d.mts +7 -7
- package/types/output/debian.d.mts +10 -10
- package/types/output/packager.d.mts +2 -2
package/README.md
CHANGED
|
@@ -98,47 +98,47 @@ See [mf-hosting](https://www.npmjs.com/package/mf-hosting) or [mf-hosting-fronte
|
|
|
98
98
|
* [Properties](#properties)
|
|
99
99
|
* [extractFromPackage](#extractfrompackage)
|
|
100
100
|
* [Parameters](#parameters-1)
|
|
101
|
-
* [
|
|
102
|
-
* [ContentProvider](#contentprovider)
|
|
101
|
+
* [NPMPackContentProvider](#npmpackcontentprovider)
|
|
103
102
|
* [Parameters](#parameters-2)
|
|
104
103
|
* [Properties](#properties-1)
|
|
105
|
-
* [asyncIterator](#asynciterator)
|
|
106
|
-
* [FileContentProvider](#filecontentprovider)
|
|
107
|
-
* [Parameters](#parameters-3)
|
|
108
|
-
* [asyncIterator](#asynciterator-1)
|
|
109
104
|
* [name](#name)
|
|
110
105
|
* [NodeModulesContentProvider](#nodemodulescontentprovider)
|
|
111
|
-
* [Parameters](#parameters-
|
|
106
|
+
* [Parameters](#parameters-3)
|
|
112
107
|
* [Properties](#properties-2)
|
|
113
|
-
* [asyncIterator](#asynciterator
|
|
108
|
+
* [asyncIterator](#asynciterator)
|
|
114
109
|
* [name](#name-1)
|
|
115
|
-
* [
|
|
116
|
-
* [Parameters](#parameters-
|
|
117
|
-
* [
|
|
110
|
+
* [FileContentProvider](#filecontentprovider)
|
|
111
|
+
* [Parameters](#parameters-4)
|
|
112
|
+
* [asyncIterator](#asynciterator-1)
|
|
118
113
|
* [name](#name-2)
|
|
119
114
|
* [NFTContentProvider](#nftcontentprovider)
|
|
115
|
+
* [Parameters](#parameters-5)
|
|
116
|
+
* [asyncIterator](#asynciterator-2)
|
|
117
|
+
* [name](#name-3)
|
|
118
|
+
* [ContentProvider](#contentprovider)
|
|
120
119
|
* [Parameters](#parameters-6)
|
|
120
|
+
* [Properties](#properties-3)
|
|
121
121
|
* [asyncIterator](#asynciterator-3)
|
|
122
|
-
* [name](#name-3)
|
|
123
122
|
* [DEBIAN](#debian)
|
|
124
123
|
* [hookMapping](#hookmapping)
|
|
125
124
|
* [attributes](#attributes)
|
|
126
125
|
* [prepare](#prepare)
|
|
127
126
|
* [Parameters](#parameters-7)
|
|
127
|
+
* [pkgKeyValuePairOptions](#pkgkeyvaluepairoptions)
|
|
128
|
+
* [attributes](#attributes-1)
|
|
128
129
|
* [quoteFile](#quotefile)
|
|
129
130
|
* [Parameters](#parameters-8)
|
|
130
131
|
* [RPM](#rpm)
|
|
131
132
|
* [hookMapping](#hookmapping-1)
|
|
132
|
-
* [attributes](#attributes-
|
|
133
|
+
* [attributes](#attributes-2)
|
|
133
134
|
* [prepare](#prepare-1)
|
|
134
135
|
* [Parameters](#parameters-9)
|
|
135
|
-
* [pkgKeyValuePairOptions](#pkgkeyvaluepairoptions)
|
|
136
|
-
* [attributes](#attributes-2)
|
|
137
136
|
* [OCI](#oci)
|
|
138
137
|
* [DOCKER](#docker)
|
|
139
138
|
* [attributes](#attributes-3)
|
|
140
139
|
* [prepare](#prepare-2)
|
|
141
140
|
* [Parameters](#parameters-10)
|
|
141
|
+
* [BUILDAH](#buildah)
|
|
142
142
|
* [Packager](#packager)
|
|
143
143
|
* [Parameters](#parameters-11)
|
|
144
144
|
* [packageName](#packagename)
|
|
@@ -226,6 +226,8 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
|
|
|
226
226
|
* `properties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** values describing the package attributes
|
|
227
227
|
|
|
228
228
|
* `properties.dependencies` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
229
|
+
* `properties.replaces` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
230
|
+
* `properties.conficts` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
229
231
|
* `sources` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[ContentProvider](#contentprovider)>** content providers
|
|
230
232
|
* `output` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** package type
|
|
231
233
|
* `variant` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** identifier of the variant
|
|
@@ -252,48 +254,22 @@ Extract package definition from package.json.
|
|
|
252
254
|
|
|
253
255
|
Returns **AsyncIterable<[PackageDefinition](#packagedefinition)>** 
|
|
254
256
|
|
|
255
|
-
##
|
|
256
|
-
|
|
257
|
-
**Extends DOCKER**
|
|
258
|
-
|
|
259
|
-
Use buildah @see <https://buildah.io>
|
|
257
|
+
## NPMPackContentProvider
|
|
260
258
|
|
|
261
|
-
|
|
259
|
+
**Extends ContentProvider**
|
|
262
260
|
|
|
263
|
-
|
|
261
|
+
Content from npm pack.
|
|
264
262
|
|
|
265
263
|
### Parameters
|
|
266
264
|
|
|
267
265
|
* `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
268
|
-
* `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
269
|
-
* `directoryProperties`
|
|
266
|
+
* `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** to be set for each entry
|
|
267
|
+
* `directoryProperties`  
|
|
270
268
|
|
|
271
269
|
### Properties
|
|
272
270
|
|
|
273
271
|
* `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
274
272
|
|
|
275
|
-
### asyncIterator
|
|
276
|
-
|
|
277
|
-
List all entries.
|
|
278
|
-
|
|
279
|
-
Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
|
|
280
|
-
|
|
281
|
-
## FileContentProvider
|
|
282
|
-
|
|
283
|
-
**Extends ContentProvider**
|
|
284
|
-
|
|
285
|
-
Content provided form the file system.
|
|
286
|
-
|
|
287
|
-
### Parameters
|
|
288
|
-
|
|
289
|
-
* `definitions` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
290
|
-
* `entryProperties`  
|
|
291
|
-
* `directoryProperties`  
|
|
292
|
-
|
|
293
|
-
### asyncIterator
|
|
294
|
-
|
|
295
|
-
Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
|
|
296
|
-
|
|
297
273
|
### name
|
|
298
274
|
|
|
299
275
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider
|
|
@@ -325,21 +301,21 @@ Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
|
|
|
325
301
|
|
|
326
302
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider
|
|
327
303
|
|
|
328
|
-
##
|
|
304
|
+
## FileContentProvider
|
|
329
305
|
|
|
330
306
|
**Extends ContentProvider**
|
|
331
307
|
|
|
332
|
-
Content
|
|
308
|
+
Content provided form the file system.
|
|
333
309
|
|
|
334
310
|
### Parameters
|
|
335
311
|
|
|
336
|
-
* `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
337
|
-
* `entryProperties`
|
|
312
|
+
* `definitions` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
313
|
+
* `entryProperties`  
|
|
338
314
|
* `directoryProperties`  
|
|
339
315
|
|
|
340
|
-
###
|
|
316
|
+
### asyncIterator
|
|
341
317
|
|
|
342
|
-
|
|
318
|
+
Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
|
|
343
319
|
|
|
344
320
|
### name
|
|
345
321
|
|
|
@@ -365,6 +341,26 @@ Returns **AsyncIterable\<ContentEntry>** all entries
|
|
|
365
341
|
|
|
366
342
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider
|
|
367
343
|
|
|
344
|
+
## ContentProvider
|
|
345
|
+
|
|
346
|
+
Source of package content.
|
|
347
|
+
|
|
348
|
+
### Parameters
|
|
349
|
+
|
|
350
|
+
* `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
351
|
+
* `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** 
|
|
352
|
+
* `directoryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** 
|
|
353
|
+
|
|
354
|
+
### Properties
|
|
355
|
+
|
|
356
|
+
* `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
357
|
+
|
|
358
|
+
### asyncIterator
|
|
359
|
+
|
|
360
|
+
List all entries.
|
|
361
|
+
|
|
362
|
+
Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
|
|
363
|
+
|
|
368
364
|
## DEBIAN
|
|
369
365
|
|
|
370
366
|
**Extends Packager**
|
|
@@ -391,6 +387,15 @@ Map install hook named from default (arch) to deb.
|
|
|
391
387
|
|
|
392
388
|
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>** 
|
|
393
389
|
|
|
390
|
+
## pkgKeyValuePairOptions
|
|
391
|
+
|
|
392
|
+
Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
393
|
+
|
|
394
|
+
## attributes
|
|
395
|
+
|
|
396
|
+
well known package properties
|
|
397
|
+
<https://www.archlinux.org/pacman/PKGBUILD.5.html>
|
|
398
|
+
|
|
394
399
|
## quoteFile
|
|
395
400
|
|
|
396
401
|
### Parameters
|
|
@@ -424,15 +429,6 @@ Check for rpmbuild presence.
|
|
|
424
429
|
|
|
425
430
|
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>** true when rpmbuild executable is present
|
|
426
431
|
|
|
427
|
-
## pkgKeyValuePairOptions
|
|
428
|
-
|
|
429
|
-
Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
430
|
-
|
|
431
|
-
## attributes
|
|
432
|
-
|
|
433
|
-
well known package properties
|
|
434
|
-
<https://www.archlinux.org/pacman/PKGBUILD.5.html>
|
|
435
|
-
|
|
436
432
|
## OCI
|
|
437
433
|
|
|
438
434
|
**Extends Packager**
|
|
@@ -462,6 +458,12 @@ Check for docker presence.
|
|
|
462
458
|
|
|
463
459
|
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>** true when docker executable is present
|
|
464
460
|
|
|
461
|
+
## BUILDAH
|
|
462
|
+
|
|
463
|
+
**Extends DOCKER**
|
|
464
|
+
|
|
465
|
+
Use buildah @see <https://buildah.io>
|
|
466
|
+
|
|
465
467
|
## Packager
|
|
466
468
|
|
|
467
469
|
### Parameters
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-pkgbuild",
|
|
3
|
-
"version": "20.1
|
|
3
|
+
"version": "20.2.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": false
|
|
@@ -59,19 +59,19 @@
|
|
|
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.6.
|
|
62
|
+
"content-entry-transform": "^1.6.1",
|
|
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.
|
|
66
|
+
"iterable-string-interceptor": "^3.0.6",
|
|
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": "^8.0.
|
|
70
|
+
"pacc": "^8.0.4",
|
|
71
71
|
"package-directory": "^8.1.0",
|
|
72
72
|
"pacote": "^21.0.4",
|
|
73
73
|
"tar-stream": "^3.1.7",
|
|
74
|
-
"uti": "^8.10.
|
|
74
|
+
"uti": "^8.10.5"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@types/node": "^25.0.9",
|
|
@@ -28,8 +28,8 @@ export class FileContentProvider extends ContentProvider {
|
|
|
28
28
|
/**
|
|
29
29
|
* Content provided form the file system.
|
|
30
30
|
* @param {Object|string} definitions
|
|
31
|
-
* @param {string|string[]} [definitions.pattern]
|
|
32
31
|
* @param {string} [definitions.dir] base directory where to find the files
|
|
32
|
+
* @param {string|string[]} [definitions.pattern]
|
|
33
33
|
*/
|
|
34
34
|
constructor(definitions, entryProperties, directoryProperties) {
|
|
35
35
|
super(definitions, entryProperties, directoryProperties);
|
|
@@ -109,6 +109,7 @@ function* content2Sources(content, dir) {
|
|
|
109
109
|
* @property {Object} properties values describing the package attributes
|
|
110
110
|
* @property {Object} properties.dependencies
|
|
111
111
|
* @property {Object} properties.replaces
|
|
112
|
+
* @property {Object} properties.conficts
|
|
112
113
|
* @property {ContentProvider[]} sources content providers
|
|
113
114
|
* @property {Object} output package type
|
|
114
115
|
* @property {Object} variant identifier of the variant
|
|
@@ -154,6 +155,7 @@ export async function* extractFromPackage(options = {}, env = {}) {
|
|
|
154
155
|
priority: 1,
|
|
155
156
|
dependencies: packageContent.engines || {},
|
|
156
157
|
replaces: {},
|
|
158
|
+
conflicts: {},
|
|
157
159
|
arch: new Set(),
|
|
158
160
|
restrictArch: new Set()
|
|
159
161
|
};
|
|
@@ -223,7 +225,7 @@ export async function* extractFromPackage(options = {}, env = {}) {
|
|
|
223
225
|
}
|
|
224
226
|
}
|
|
225
227
|
|
|
226
|
-
for (const k of ["output", "content", "dependencies", "replaces"]) {
|
|
228
|
+
for (const k of ["output", "content", "dependencies", "replaces", "conflicts"]) {
|
|
227
229
|
if (pkgbuild[k]) {
|
|
228
230
|
fragment[k] = pkgbuild[k];
|
|
229
231
|
delete pkgbuild[k];
|
|
@@ -308,6 +310,7 @@ export async function* extractFromPackage(options = {}, env = {}) {
|
|
|
308
310
|
let properties = {};
|
|
309
311
|
let dependencies = {};
|
|
310
312
|
let replaces = {};
|
|
313
|
+
let conflicts = {};
|
|
311
314
|
const output = {};
|
|
312
315
|
const content = [];
|
|
313
316
|
|
|
@@ -340,6 +343,7 @@ export async function* extractFromPackage(options = {}, env = {}) {
|
|
|
340
343
|
properties = { ...fragment.properties, ...properties };
|
|
341
344
|
dependencies = mergeDependencies(dependencies, fragment.dependencies);
|
|
342
345
|
replaces = mergeDependencies(replaces, fragment.replaces);
|
|
346
|
+
conflicts = mergeDependencies(conflicts, fragment.conflicts);
|
|
343
347
|
Object.assign(output, fragment.output);
|
|
344
348
|
for (const def of Object.values(output)) {
|
|
345
349
|
if (def.content && !def.dir) {
|
|
@@ -358,6 +362,7 @@ export async function* extractFromPackage(options = {}, env = {}) {
|
|
|
358
362
|
Object.assign(properties, root.properties);
|
|
359
363
|
delete properties.dependencies;
|
|
360
364
|
delete properties.replaces;
|
|
365
|
+
delete properties.conflicts;
|
|
361
366
|
|
|
362
367
|
properties.variant = name;
|
|
363
368
|
|
|
@@ -367,6 +372,7 @@ export async function* extractFromPackage(options = {}, env = {}) {
|
|
|
367
372
|
output,
|
|
368
373
|
dependencies,
|
|
369
374
|
replaces,
|
|
375
|
+
conflicts,
|
|
370
376
|
properties
|
|
371
377
|
};
|
|
372
378
|
|
|
@@ -399,7 +405,8 @@ export async function* extractFromPackage(options = {}, env = {}) {
|
|
|
399
405
|
result.dependencies,
|
|
400
406
|
output.dependencies
|
|
401
407
|
),
|
|
402
|
-
replaces: mergeDependencies(result.replaces, output.replaces)
|
|
408
|
+
replaces: mergeDependencies(result.replaces, output.replaces),
|
|
409
|
+
conflicts: mergeDependencies(result.conflicts, output.conflicts)
|
|
403
410
|
};
|
|
404
411
|
|
|
405
412
|
const context = createContext({ properties });
|
package/src/output/packager.mjs
CHANGED
|
@@ -286,19 +286,14 @@ export const dependency_type = {
|
|
|
286
286
|
return value;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
if (value === undefined) {
|
|
290
|
-
return undefined;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
289
|
if (Array.isArray(value)) {
|
|
294
|
-
return value
|
|
290
|
+
return value;
|
|
295
291
|
}
|
|
296
292
|
|
|
297
293
|
return Object.entries(value)
|
|
298
294
|
.map(([name, expression]) =>
|
|
299
295
|
typeof expression === "string" ? `${name}${expression}` : name
|
|
300
|
-
)
|
|
301
|
-
.join(attribute.separator);
|
|
296
|
+
);
|
|
302
297
|
}
|
|
303
298
|
};
|
|
304
299
|
|
|
@@ -6,8 +6,8 @@ export class FileContentProvider extends ContentProvider {
|
|
|
6
6
|
/**
|
|
7
7
|
* Content provided form the file system.
|
|
8
8
|
* @param {Object|string} definitions
|
|
9
|
-
* @param {string|string[]} [definitions.pattern]
|
|
10
9
|
* @param {string} [definitions.dir] base directory where to find the files
|
|
10
|
+
* @param {string|string[]} [definitions.pattern]
|
|
11
11
|
*/
|
|
12
12
|
constructor(definitions: any | string, entryProperties: any, directoryProperties: any);
|
|
13
13
|
pattern: string[];
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @property {Object} properties values describing the package attributes
|
|
4
4
|
* @property {Object} properties.dependencies
|
|
5
5
|
* @property {Object} properties.replaces
|
|
6
|
+
* @property {Object} properties.conficts
|
|
6
7
|
* @property {ContentProvider[]} sources content providers
|
|
7
8
|
* @property {Object} output package type
|
|
8
9
|
* @property {Object} variant identifier of the variant
|
|
@@ -52,6 +53,7 @@ export type PackageDefinition = {
|
|
|
52
53
|
properties: {
|
|
53
54
|
dependencies: any;
|
|
54
55
|
replaces: any;
|
|
56
|
+
conficts: any;
|
|
55
57
|
};
|
|
56
58
|
/**
|
|
57
59
|
* content providers
|
package/types/output/arch.d.mts
CHANGED
|
@@ -248,7 +248,7 @@ export class ARCH extends Packager {
|
|
|
248
248
|
type: {
|
|
249
249
|
name: string;
|
|
250
250
|
primitive: boolean;
|
|
251
|
-
toExternal: (value: any, attribute: any) => string;
|
|
251
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
252
252
|
};
|
|
253
253
|
writable: boolean;
|
|
254
254
|
collection: boolean;
|
|
@@ -275,7 +275,7 @@ export class ARCH extends Packager {
|
|
|
275
275
|
type: {
|
|
276
276
|
name: string;
|
|
277
277
|
primitive: boolean;
|
|
278
|
-
toExternal: (value: any, attribute: any) => string;
|
|
278
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
279
279
|
};
|
|
280
280
|
writable: boolean;
|
|
281
281
|
collection: boolean;
|
|
@@ -302,7 +302,7 @@ export class ARCH extends Packager {
|
|
|
302
302
|
type: {
|
|
303
303
|
name: string;
|
|
304
304
|
primitive: boolean;
|
|
305
|
-
toExternal: (value: any, attribute: any) => string;
|
|
305
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
306
306
|
};
|
|
307
307
|
writable: boolean;
|
|
308
308
|
collection: boolean;
|
|
@@ -329,7 +329,7 @@ export class ARCH extends Packager {
|
|
|
329
329
|
type: {
|
|
330
330
|
name: string;
|
|
331
331
|
primitive: boolean;
|
|
332
|
-
toExternal: (value: any, attribute: any) => string;
|
|
332
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
333
333
|
};
|
|
334
334
|
writable: boolean;
|
|
335
335
|
collection: boolean;
|
|
@@ -356,7 +356,7 @@ export class ARCH extends Packager {
|
|
|
356
356
|
type: {
|
|
357
357
|
name: string;
|
|
358
358
|
primitive: boolean;
|
|
359
|
-
toExternal: (value: any, attribute: any) => string;
|
|
359
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
360
360
|
};
|
|
361
361
|
writable: boolean;
|
|
362
362
|
collection: boolean;
|
|
@@ -383,7 +383,7 @@ export class ARCH extends Packager {
|
|
|
383
383
|
type: {
|
|
384
384
|
name: string;
|
|
385
385
|
primitive: boolean;
|
|
386
|
-
toExternal: (value: any, attribute: any) => string;
|
|
386
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
387
387
|
};
|
|
388
388
|
writable: boolean;
|
|
389
389
|
collection: boolean;
|
|
@@ -410,7 +410,7 @@ export class ARCH extends Packager {
|
|
|
410
410
|
type: {
|
|
411
411
|
name: string;
|
|
412
412
|
primitive: boolean;
|
|
413
|
-
toExternal: (value: any, attribute: any) => string;
|
|
413
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
414
414
|
};
|
|
415
415
|
writable: boolean;
|
|
416
416
|
collection: boolean;
|
|
@@ -199,7 +199,7 @@ export class DEBIAN extends Packager {
|
|
|
199
199
|
type: {
|
|
200
200
|
name: string;
|
|
201
201
|
primitive: boolean;
|
|
202
|
-
toExternal: (value: any, attribute: any) => string;
|
|
202
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
203
203
|
};
|
|
204
204
|
writable: boolean;
|
|
205
205
|
collection: boolean;
|
|
@@ -226,7 +226,7 @@ export class DEBIAN extends Packager {
|
|
|
226
226
|
type: {
|
|
227
227
|
name: string;
|
|
228
228
|
primitive: boolean;
|
|
229
|
-
toExternal: (value: any, attribute: any) => string;
|
|
229
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
230
230
|
};
|
|
231
231
|
writable: boolean;
|
|
232
232
|
collection: boolean;
|
|
@@ -253,7 +253,7 @@ export class DEBIAN extends Packager {
|
|
|
253
253
|
type: {
|
|
254
254
|
name: string;
|
|
255
255
|
primitive: boolean;
|
|
256
|
-
toExternal: (value: any, attribute: any) => string;
|
|
256
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
257
257
|
};
|
|
258
258
|
writable: boolean;
|
|
259
259
|
collection: boolean;
|
|
@@ -280,7 +280,7 @@ export class DEBIAN extends Packager {
|
|
|
280
280
|
type: {
|
|
281
281
|
name: string;
|
|
282
282
|
primitive: boolean;
|
|
283
|
-
toExternal: (value: any, attribute: any) => string;
|
|
283
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
284
284
|
};
|
|
285
285
|
writable: boolean;
|
|
286
286
|
collection: boolean;
|
|
@@ -307,7 +307,7 @@ export class DEBIAN extends Packager {
|
|
|
307
307
|
type: {
|
|
308
308
|
name: string;
|
|
309
309
|
primitive: boolean;
|
|
310
|
-
toExternal: (value: any, attribute: any) => string;
|
|
310
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
311
311
|
};
|
|
312
312
|
writable: boolean;
|
|
313
313
|
collection: boolean;
|
|
@@ -334,7 +334,7 @@ export class DEBIAN extends Packager {
|
|
|
334
334
|
type: {
|
|
335
335
|
name: string;
|
|
336
336
|
primitive: boolean;
|
|
337
|
-
toExternal: (value: any, attribute: any) => string;
|
|
337
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
338
338
|
};
|
|
339
339
|
writable: boolean;
|
|
340
340
|
collection: boolean;
|
|
@@ -361,7 +361,7 @@ export class DEBIAN extends Packager {
|
|
|
361
361
|
type: {
|
|
362
362
|
name: string;
|
|
363
363
|
primitive: boolean;
|
|
364
|
-
toExternal: (value: any, attribute: any) => string;
|
|
364
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
365
365
|
};
|
|
366
366
|
writable: boolean;
|
|
367
367
|
collection: boolean;
|
|
@@ -388,7 +388,7 @@ export class DEBIAN extends Packager {
|
|
|
388
388
|
type: {
|
|
389
389
|
name: string;
|
|
390
390
|
primitive: boolean;
|
|
391
|
-
toExternal: (value: any, attribute: any) => string;
|
|
391
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
392
392
|
};
|
|
393
393
|
writable: boolean;
|
|
394
394
|
collection: boolean;
|
|
@@ -415,7 +415,7 @@ export class DEBIAN extends Packager {
|
|
|
415
415
|
type: {
|
|
416
416
|
name: string;
|
|
417
417
|
primitive: boolean;
|
|
418
|
-
toExternal: (value: any, attribute: any) => string;
|
|
418
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
419
419
|
};
|
|
420
420
|
writable: boolean;
|
|
421
421
|
collection: boolean;
|
|
@@ -442,7 +442,7 @@ export class DEBIAN extends Packager {
|
|
|
442
442
|
type: {
|
|
443
443
|
name: string;
|
|
444
444
|
primitive: boolean;
|
|
445
|
-
toExternal: (value: any, attribute: any) => string;
|
|
445
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
446
446
|
};
|
|
447
447
|
writable: boolean;
|
|
448
448
|
collection: boolean;
|
|
@@ -113,13 +113,13 @@ export const pkgbuild_name_attribute: {
|
|
|
113
113
|
export namespace dependency_type {
|
|
114
114
|
let name: string;
|
|
115
115
|
let primitive: boolean;
|
|
116
|
-
function toExternal(value: any, attribute: any): string;
|
|
116
|
+
function toExternal(value: any, attribute: any): string | any[];
|
|
117
117
|
}
|
|
118
118
|
export const dependency_attribute_collection_writable: {
|
|
119
119
|
type: {
|
|
120
120
|
name: string;
|
|
121
121
|
primitive: boolean;
|
|
122
|
-
toExternal: (value: any, attribute: any) => string;
|
|
122
|
+
toExternal: (value: any, attribute: any) => string | any[];
|
|
123
123
|
};
|
|
124
124
|
writable: boolean;
|
|
125
125
|
collection: boolean;
|