npm-pkgbuild 20.6.4 → 20.7.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.
@@ -1,534 +0,0 @@
1
- /**
2
- * Create .deb packages
3
- */
4
- export class DEBIAN extends Packager {
5
- static get description(): string;
6
- static get fileNameExtension(): string;
7
- /**
8
- * @see https://www.debian.org/doc/debian-policy/ch-controlfields.html
9
- * @see https://linux.die.net/man/5/deb-control
10
- */
11
- static attributes: {
12
- Package: {
13
- set: (v: any) => any;
14
- alias: string;
15
- mandatory: boolean;
16
- pattern: RegExp;
17
- type: object;
18
- isKey: boolean;
19
- writable: boolean;
20
- collection: boolean;
21
- constructor?: Function;
22
- private?: boolean;
23
- credential?: boolean;
24
- persistent?: boolean;
25
- depends?: string;
26
- description?: string;
27
- default?: any;
28
- get?: Function;
29
- toInternal?: Function;
30
- toExternal?: Function;
31
- values?: Set<any>;
32
- externalName?: string;
33
- env?: string[] | string;
34
- additionalValues?: object;
35
- };
36
- Version: {
37
- alias: string;
38
- mandatory: boolean;
39
- set: (v: any) => any;
40
- type: object;
41
- isKey: boolean;
42
- writable: boolean;
43
- collection: boolean;
44
- constructor?: Function;
45
- private?: boolean;
46
- credential?: boolean;
47
- persistent?: boolean;
48
- depends?: string;
49
- description?: string;
50
- default?: any;
51
- get?: Function;
52
- toInternal?: Function;
53
- toExternal?: Function;
54
- values?: Set<any>;
55
- externalName?: string;
56
- env?: string[] | string;
57
- additionalValues?: object;
58
- };
59
- Maintainer: {
60
- alias: string;
61
- mandatory: boolean;
62
- type: object;
63
- isKey: boolean;
64
- writable: boolean;
65
- collection: boolean;
66
- constructor?: Function;
67
- private?: boolean;
68
- credential?: boolean;
69
- persistent?: boolean;
70
- depends?: string;
71
- description?: string;
72
- default?: any;
73
- set?: Function;
74
- get?: Function;
75
- toInternal?: Function;
76
- toExternal?: Function;
77
- values?: Set<any>;
78
- externalName?: string;
79
- env?: string[] | string;
80
- additionalValues?: object;
81
- };
82
- Description: {
83
- alias: string;
84
- mandatory: boolean;
85
- type: object;
86
- isKey: boolean;
87
- writable: boolean;
88
- collection: boolean;
89
- constructor?: Function;
90
- private?: boolean;
91
- credential?: boolean;
92
- persistent?: boolean;
93
- depends?: string;
94
- description?: string;
95
- default?: any;
96
- set?: Function;
97
- get?: Function;
98
- toInternal?: Function;
99
- toExternal?: Function;
100
- values?: Set<any>;
101
- externalName?: string;
102
- env?: string[] | string;
103
- additionalValues?: object;
104
- };
105
- Section: {
106
- alias: string;
107
- type: object;
108
- isKey: boolean;
109
- writable: boolean;
110
- mandatory: boolean;
111
- collection: boolean;
112
- constructor?: Function;
113
- private?: boolean;
114
- credential?: boolean;
115
- persistent?: boolean;
116
- depends?: string;
117
- description?: string;
118
- default?: any;
119
- set?: Function;
120
- get?: Function;
121
- toInternal?: Function;
122
- toExternal?: Function;
123
- values?: Set<any>;
124
- externalName?: string;
125
- env?: string[] | string;
126
- additionalValues?: object;
127
- };
128
- Priority: import("pacc").AttributeDefinition;
129
- Essential: typeof yesno_attribute_writable;
130
- Origin: import("pacc").AttributeDefinition;
131
- Architecture: {
132
- alias: string;
133
- default: string;
134
- mandatory: boolean;
135
- mapping: {
136
- aarch64: string;
137
- };
138
- type: object;
139
- isKey: boolean;
140
- writable: boolean;
141
- collection: boolean;
142
- constructor?: Function;
143
- private?: boolean;
144
- credential?: boolean;
145
- persistent?: boolean;
146
- depends?: string;
147
- description?: string;
148
- set?: Function;
149
- get?: Function;
150
- toInternal?: Function;
151
- toExternal?: Function;
152
- values?: Set<any>;
153
- externalName?: string;
154
- env?: string[] | string;
155
- additionalValues?: object;
156
- };
157
- Homepage: {
158
- alias: string;
159
- type: object;
160
- isKey: boolean;
161
- writable: boolean;
162
- mandatory: boolean;
163
- collection: boolean;
164
- constructor?: Function;
165
- private?: boolean;
166
- credential?: boolean;
167
- persistent?: boolean;
168
- depends?: string;
169
- description?: string;
170
- default?: any;
171
- set?: Function;
172
- get?: Function;
173
- toInternal?: Function;
174
- toExternal?: Function;
175
- values?: Set<any>;
176
- externalName?: string;
177
- env?: string[] | string;
178
- additionalValues?: object;
179
- };
180
- Bugs: {
181
- alias: string;
182
- type: object;
183
- isKey: boolean;
184
- writable: boolean;
185
- mandatory: boolean;
186
- collection: boolean;
187
- constructor?: Function;
188
- private?: boolean;
189
- credential?: boolean;
190
- persistent?: boolean;
191
- depends?: string;
192
- description?: string;
193
- default?: any;
194
- set?: Function;
195
- get?: Function;
196
- toInternal?: Function;
197
- toExternal?: Function;
198
- values?: Set<any>;
199
- externalName?: string;
200
- env?: string[] | string;
201
- additionalValues?: object;
202
- };
203
- Depends: {
204
- separator: string;
205
- type: {
206
- name: string;
207
- primitive: boolean;
208
- toExternal: (value: any, attribute: any) => string | any[];
209
- };
210
- writable: boolean;
211
- collection: boolean;
212
- pattern: RegExp;
213
- isKey: boolean;
214
- mandatory: boolean;
215
- constructor?: Function;
216
- private?: boolean;
217
- credential?: boolean;
218
- persistent?: boolean;
219
- depends?: string;
220
- description?: string;
221
- default?: any;
222
- set?: Function;
223
- get?: Function;
224
- toInternal?: Function;
225
- toExternal?: Function;
226
- values?: Set<any>;
227
- externalName?: string;
228
- env?: string[] | string;
229
- additionalValues?: object;
230
- };
231
- "Pre-Depends": {
232
- separator: string;
233
- type: {
234
- name: string;
235
- primitive: boolean;
236
- toExternal: (value: any, attribute: any) => string | any[];
237
- };
238
- writable: boolean;
239
- collection: boolean;
240
- pattern: RegExp;
241
- isKey: boolean;
242
- mandatory: boolean;
243
- constructor?: Function;
244
- private?: boolean;
245
- credential?: boolean;
246
- persistent?: boolean;
247
- depends?: string;
248
- description?: string;
249
- default?: any;
250
- set?: Function;
251
- get?: Function;
252
- toInternal?: Function;
253
- toExternal?: Function;
254
- values?: Set<any>;
255
- externalName?: string;
256
- env?: string[] | string;
257
- additionalValues?: object;
258
- };
259
- "Build-Depends": {
260
- separator: string;
261
- type: {
262
- name: string;
263
- primitive: boolean;
264
- toExternal: (value: any, attribute: any) => string | any[];
265
- };
266
- writable: boolean;
267
- collection: boolean;
268
- pattern: RegExp;
269
- isKey: boolean;
270
- mandatory: boolean;
271
- constructor?: Function;
272
- private?: boolean;
273
- credential?: boolean;
274
- persistent?: boolean;
275
- depends?: string;
276
- description?: string;
277
- default?: any;
278
- set?: Function;
279
- get?: Function;
280
- toInternal?: Function;
281
- toExternal?: Function;
282
- values?: Set<any>;
283
- externalName?: string;
284
- env?: string[] | string;
285
- additionalValues?: object;
286
- };
287
- "Build-Depends-Indep": {
288
- separator: string;
289
- type: {
290
- name: string;
291
- primitive: boolean;
292
- toExternal: (value: any, attribute: any) => string | any[];
293
- };
294
- writable: boolean;
295
- collection: boolean;
296
- pattern: RegExp;
297
- isKey: boolean;
298
- mandatory: boolean;
299
- constructor?: Function;
300
- private?: boolean;
301
- credential?: boolean;
302
- persistent?: boolean;
303
- depends?: string;
304
- description?: string;
305
- default?: any;
306
- set?: Function;
307
- get?: Function;
308
- toInternal?: Function;
309
- toExternal?: Function;
310
- values?: Set<any>;
311
- externalName?: string;
312
- env?: string[] | string;
313
- additionalValues?: object;
314
- };
315
- "Build-Depends-Arch": {
316
- separator: string;
317
- type: {
318
- name: string;
319
- primitive: boolean;
320
- toExternal: (value: any, attribute: any) => string | any[];
321
- };
322
- writable: boolean;
323
- collection: boolean;
324
- pattern: RegExp;
325
- isKey: boolean;
326
- mandatory: boolean;
327
- constructor?: Function;
328
- private?: boolean;
329
- credential?: boolean;
330
- persistent?: boolean;
331
- depends?: string;
332
- description?: string;
333
- default?: any;
334
- set?: Function;
335
- get?: Function;
336
- toInternal?: Function;
337
- toExternal?: Function;
338
- values?: Set<any>;
339
- externalName?: string;
340
- env?: string[] | string;
341
- additionalValues?: object;
342
- };
343
- Recommends: {
344
- separator: string;
345
- type: {
346
- name: string;
347
- primitive: boolean;
348
- toExternal: (value: any, attribute: any) => string | any[];
349
- };
350
- writable: boolean;
351
- collection: boolean;
352
- pattern: RegExp;
353
- isKey: boolean;
354
- mandatory: boolean;
355
- constructor?: Function;
356
- private?: boolean;
357
- credential?: boolean;
358
- persistent?: boolean;
359
- depends?: string;
360
- description?: string;
361
- default?: any;
362
- set?: Function;
363
- get?: Function;
364
- toInternal?: Function;
365
- toExternal?: Function;
366
- values?: Set<any>;
367
- externalName?: string;
368
- env?: string[] | string;
369
- additionalValues?: object;
370
- };
371
- Suggests: {
372
- separator: string;
373
- type: {
374
- name: string;
375
- primitive: boolean;
376
- toExternal: (value: any, attribute: any) => string | any[];
377
- };
378
- writable: boolean;
379
- collection: boolean;
380
- pattern: RegExp;
381
- isKey: boolean;
382
- mandatory: boolean;
383
- constructor?: Function;
384
- private?: boolean;
385
- credential?: boolean;
386
- persistent?: boolean;
387
- depends?: string;
388
- description?: string;
389
- default?: any;
390
- set?: Function;
391
- get?: Function;
392
- toInternal?: Function;
393
- toExternal?: Function;
394
- values?: Set<any>;
395
- externalName?: string;
396
- env?: string[] | string;
397
- additionalValues?: object;
398
- };
399
- Provides: {
400
- separator: string;
401
- type: {
402
- name: string;
403
- primitive: boolean;
404
- toExternal: (value: any, attribute: any) => string | any[];
405
- };
406
- writable: boolean;
407
- collection: boolean;
408
- pattern: RegExp;
409
- isKey: boolean;
410
- mandatory: boolean;
411
- constructor?: Function;
412
- private?: boolean;
413
- credential?: boolean;
414
- persistent?: boolean;
415
- depends?: string;
416
- description?: string;
417
- default?: any;
418
- set?: Function;
419
- get?: Function;
420
- toInternal?: Function;
421
- toExternal?: Function;
422
- values?: Set<any>;
423
- externalName?: string;
424
- env?: string[] | string;
425
- additionalValues?: object;
426
- };
427
- Breaks: {
428
- separator: string;
429
- type: {
430
- name: string;
431
- primitive: boolean;
432
- toExternal: (value: any, attribute: any) => string | any[];
433
- };
434
- writable: boolean;
435
- collection: boolean;
436
- pattern: RegExp;
437
- isKey: boolean;
438
- mandatory: boolean;
439
- constructor?: Function;
440
- private?: boolean;
441
- credential?: boolean;
442
- persistent?: boolean;
443
- depends?: string;
444
- description?: string;
445
- default?: any;
446
- set?: Function;
447
- get?: Function;
448
- toInternal?: Function;
449
- toExternal?: Function;
450
- values?: Set<any>;
451
- externalName?: string;
452
- env?: string[] | string;
453
- additionalValues?: object;
454
- };
455
- Replaces: {
456
- separator: string;
457
- type: {
458
- name: string;
459
- primitive: boolean;
460
- toExternal: (value: any, attribute: any) => string | any[];
461
- };
462
- writable: boolean;
463
- collection: boolean;
464
- pattern: RegExp;
465
- isKey: boolean;
466
- mandatory: boolean;
467
- constructor?: Function;
468
- private?: boolean;
469
- credential?: boolean;
470
- persistent?: boolean;
471
- depends?: string;
472
- description?: string;
473
- default?: any;
474
- set?: Function;
475
- get?: Function;
476
- toInternal?: Function;
477
- toExternal?: Function;
478
- values?: Set<any>;
479
- externalName?: string;
480
- env?: string[] | string;
481
- additionalValues?: object;
482
- };
483
- Source: {
484
- alias: string;
485
- type: object;
486
- isKey: boolean;
487
- writable: boolean;
488
- mandatory: boolean;
489
- collection: boolean;
490
- constructor?: Function;
491
- private?: boolean;
492
- credential?: boolean;
493
- persistent?: boolean;
494
- depends?: string;
495
- description?: string;
496
- default?: any;
497
- set?: Function;
498
- get?: Function;
499
- toInternal?: Function;
500
- toExternal?: Function;
501
- values?: Set<any>;
502
- externalName?: string;
503
- env?: string[] | string;
504
- additionalValues?: object;
505
- };
506
- Uploaders: {
507
- mandatory: boolean;
508
- };
509
- "Installed-Size": import("pacc").AttributeDefinition;
510
- };
511
- /**
512
- * @param {Object} options
513
- * @param {Object} variant
514
- * @param {string} variant.arch
515
- * @return {Promise<boolean>}
516
- */
517
- static prepare(options: any, variant: {
518
- arch: string;
519
- }): Promise<boolean>;
520
- get packageFileName(): string;
521
- /**
522
- * Map install hook named from default (arch) to deb.
523
- */
524
- get hookMapping(): {
525
- pre_install: string;
526
- post_install: string;
527
- pre_remove: string;
528
- post_remove: string;
529
- };
530
- dependencyExpression(name: any, expression: any): any;
531
- create(sources: any, transformer: any, publishingDetails: any, options: any, expander: any): Promise<string>;
532
- }
533
- import { Packager } from "./packager.mjs";
534
- import { yesno_attribute_writable } from "pacc";
@@ -1,139 +0,0 @@
1
- /**
2
- * docker image build
3
- */
4
- export class DOCKER extends Packager {
5
- static get description(): string;
6
- /**
7
- * @see {@link https://docs.docker.com/engine/reference/builder/}
8
- */
9
- static attributes: {
10
- name: {
11
- set: (value: any) => any;
12
- alias: string;
13
- mandatory: boolean;
14
- pattern: RegExp;
15
- type: object;
16
- isKey: boolean;
17
- writable: boolean;
18
- collection: boolean;
19
- constructor?: Function;
20
- private?: boolean;
21
- credential?: boolean;
22
- persistent?: boolean;
23
- depends?: string;
24
- description?: string;
25
- default?: any;
26
- get?: Function;
27
- toInternal?: Function;
28
- toExternal?: Function;
29
- values?: Set<any>;
30
- externalName?: string;
31
- env?: string[] | string;
32
- additionalValues?: object;
33
- };
34
- version: {
35
- alias: string;
36
- mandatory: boolean;
37
- set: (v: any) => any;
38
- type: object;
39
- isKey: boolean;
40
- writable: boolean;
41
- collection: boolean;
42
- constructor?: Function;
43
- private?: boolean;
44
- credential?: boolean;
45
- persistent?: boolean;
46
- depends?: string;
47
- description?: string;
48
- default?: any;
49
- get?: Function;
50
- toInternal?: Function;
51
- toExternal?: Function;
52
- values?: Set<any>;
53
- externalName?: string;
54
- env?: string[] | string;
55
- additionalValues?: object;
56
- };
57
- description: {
58
- alias: string;
59
- mandatory: boolean;
60
- type: object;
61
- isKey: boolean;
62
- writable: boolean;
63
- collection: boolean;
64
- constructor?: Function;
65
- private?: boolean;
66
- credential?: boolean;
67
- persistent?: boolean;
68
- depends?: string;
69
- description?: string;
70
- default?: any;
71
- set?: Function;
72
- get?: Function;
73
- toInternal?: Function;
74
- toExternal?: Function;
75
- values?: Set<any>;
76
- externalName?: string;
77
- env?: string[] | string;
78
- additionalValues?: object;
79
- };
80
- author: {
81
- alias: string;
82
- type: object;
83
- isKey: boolean;
84
- writable: boolean;
85
- mandatory: boolean;
86
- collection: boolean;
87
- constructor?: Function;
88
- private?: boolean;
89
- credential?: boolean;
90
- persistent?: boolean;
91
- depends?: string;
92
- description?: string;
93
- default?: any;
94
- set?: Function;
95
- get?: Function;
96
- toInternal?: Function;
97
- toExternal?: Function;
98
- values?: Set<any>;
99
- externalName?: string;
100
- env?: string[] | string;
101
- additionalValues?: object;
102
- };
103
- workdir: {
104
- default: string;
105
- mandatory: boolean;
106
- type: object;
107
- isKey: boolean;
108
- writable: boolean;
109
- collection: boolean;
110
- constructor?: Function;
111
- private?: boolean;
112
- credential?: boolean;
113
- persistent?: boolean;
114
- depends?: string;
115
- description?: string;
116
- set?: Function;
117
- get?: Function;
118
- toInternal?: Function;
119
- toExternal?: Function;
120
- values?: Set<any>;
121
- externalName?: string;
122
- env?: string[] | string;
123
- additionalValues?: object;
124
- };
125
- };
126
- /**
127
- * Check for docker presence.
128
- * @param {Object} options
129
- * @param {Object} variant
130
- * @param {string} variant.arch
131
- * @returns {Promise<boolean>} true when docker executable is present
132
- */
133
- static prepare(options: any, variant: {
134
- arch: string;
135
- }): Promise<boolean>;
136
- create(sources: any, transformer: any, options: any, publishingDetails: any, expander: any): Promise<string>;
137
- publish(artifact: any, publishingDetails: any, logger?: (...data: any[]) => void): Promise<void>;
138
- }
139
- import { Packager } from "./packager.mjs";
@@ -1,11 +0,0 @@
1
- /**
2
- * Low level OCI compatible packager
3
- */
4
- export class OCI extends Packager {
5
- static get description(): string;
6
- static get fileNameExtension(): string;
7
- static prepare(options: any, variant: any): Promise<boolean>;
8
- get packageFileName(): string;
9
- create(sources: any, transformer: any, publishingDetails: any, options: any, expander?: (v: any) => any): Promise<string>;
10
- }
11
- import { Packager } from "./packager.mjs";