npm-pkgbuild 20.6.2 → 20.6.3
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 +61 -61
- package/package.json +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
|
-
* [
|
|
101
|
+
* [BUILDAH](#buildah)
|
|
102
|
+
* [ContentProvider](#contentprovider)
|
|
102
103
|
* [Parameters](#parameters-2)
|
|
103
104
|
* [Properties](#properties-1)
|
|
105
|
+
* [asyncIterator](#asynciterator)
|
|
106
|
+
* [FileContentProvider](#filecontentprovider)
|
|
107
|
+
* [Parameters](#parameters-3)
|
|
108
|
+
* [asyncIterator](#asynciterator-1)
|
|
104
109
|
* [name](#name)
|
|
105
110
|
* [NodeModulesContentProvider](#nodemodulescontentprovider)
|
|
106
|
-
* [Parameters](#parameters-
|
|
111
|
+
* [Parameters](#parameters-4)
|
|
107
112
|
* [Properties](#properties-2)
|
|
108
|
-
* [asyncIterator](#asynciterator)
|
|
113
|
+
* [asyncIterator](#asynciterator-2)
|
|
109
114
|
* [name](#name-1)
|
|
110
|
-
* [
|
|
111
|
-
* [Parameters](#parameters-
|
|
112
|
-
* [
|
|
115
|
+
* [NPMPackContentProvider](#npmpackcontentprovider)
|
|
116
|
+
* [Parameters](#parameters-5)
|
|
117
|
+
* [Properties](#properties-3)
|
|
113
118
|
* [name](#name-2)
|
|
114
119
|
* [NFTContentProvider](#nftcontentprovider)
|
|
115
|
-
* [Parameters](#parameters-5)
|
|
116
|
-
* [asyncIterator](#asynciterator-2)
|
|
117
|
-
* [name](#name-3)
|
|
118
|
-
* [ContentProvider](#contentprovider)
|
|
119
120
|
* [Parameters](#parameters-6)
|
|
120
|
-
* [Properties](#properties-3)
|
|
121
121
|
* [asyncIterator](#asynciterator-3)
|
|
122
|
+
* [name](#name-3)
|
|
122
123
|
* [DEBIAN](#debian)
|
|
123
124
|
* [hookMapping](#hookmapping)
|
|
124
125
|
* [attributes](#attributes)
|
|
125
126
|
* [prepare](#prepare)
|
|
126
127
|
* [Parameters](#parameters-7)
|
|
127
|
-
* [pkgKeyValuePairOptions](#pkgkeyvaluepairoptions)
|
|
128
|
-
* [attributes](#attributes-1)
|
|
129
128
|
* [quoteFile](#quotefile)
|
|
130
129
|
* [Parameters](#parameters-8)
|
|
131
130
|
* [RPM](#rpm)
|
|
132
131
|
* [hookMapping](#hookmapping-1)
|
|
133
|
-
* [attributes](#attributes-
|
|
132
|
+
* [attributes](#attributes-1)
|
|
134
133
|
* [prepare](#prepare-1)
|
|
135
134
|
* [Parameters](#parameters-9)
|
|
135
|
+
* [pkgKeyValuePairOptions](#pkgkeyvaluepairoptions)
|
|
136
|
+
* [attributes](#attributes-2)
|
|
136
137
|
* [OCI](#oci)
|
|
137
138
|
* [DOCKER](#docker)
|
|
138
139
|
* [attributes](#attributes-3)
|
|
139
140
|
* [prepare](#prepare-2)
|
|
140
141
|
* [Parameters](#parameters-10)
|
|
141
|
-
* [BUILDAH](#buildah)
|
|
142
142
|
* [Packager](#packager)
|
|
143
143
|
* [Parameters](#parameters-11)
|
|
144
144
|
* [packageName](#packagename)
|
|
@@ -256,22 +256,48 @@ Extract package definition from package.json.
|
|
|
256
256
|
|
|
257
257
|
Returns **AsyncIterable<[PackageDefinition](#packagedefinition)>** 
|
|
258
258
|
|
|
259
|
-
##
|
|
259
|
+
## BUILDAH
|
|
260
260
|
|
|
261
|
-
**Extends
|
|
261
|
+
**Extends DOCKER**
|
|
262
262
|
|
|
263
|
-
|
|
263
|
+
Use buildah @see <https://buildah.io>
|
|
264
|
+
|
|
265
|
+
## ContentProvider
|
|
266
|
+
|
|
267
|
+
Source of package content.
|
|
264
268
|
|
|
265
269
|
### Parameters
|
|
266
270
|
|
|
267
271
|
* `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`
|
|
272
|
+
* `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** 
|
|
273
|
+
* `directoryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** 
|
|
270
274
|
|
|
271
275
|
### Properties
|
|
272
276
|
|
|
273
277
|
* `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
274
278
|
|
|
279
|
+
### asyncIterator
|
|
280
|
+
|
|
281
|
+
List all entries.
|
|
282
|
+
|
|
283
|
+
Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
|
|
284
|
+
|
|
285
|
+
## FileContentProvider
|
|
286
|
+
|
|
287
|
+
**Extends ContentProvider**
|
|
288
|
+
|
|
289
|
+
Content provided form the file system.
|
|
290
|
+
|
|
291
|
+
### Parameters
|
|
292
|
+
|
|
293
|
+
* `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))** 
|
|
294
|
+
* `entryProperties`  
|
|
295
|
+
* `directoryProperties`  
|
|
296
|
+
|
|
297
|
+
### asyncIterator
|
|
298
|
+
|
|
299
|
+
Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
|
|
300
|
+
|
|
275
301
|
### name
|
|
276
302
|
|
|
277
303
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider
|
|
@@ -303,21 +329,21 @@ Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
|
|
|
303
329
|
|
|
304
330
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider
|
|
305
331
|
|
|
306
|
-
##
|
|
332
|
+
## NPMPackContentProvider
|
|
307
333
|
|
|
308
334
|
**Extends ContentProvider**
|
|
309
335
|
|
|
310
|
-
Content
|
|
336
|
+
Content from npm pack.
|
|
311
337
|
|
|
312
338
|
### Parameters
|
|
313
339
|
|
|
314
|
-
* `definitions` **
|
|
315
|
-
* `entryProperties`
|
|
340
|
+
* `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
341
|
+
* `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** to be set for each entry
|
|
316
342
|
* `directoryProperties`  
|
|
317
343
|
|
|
318
|
-
###
|
|
344
|
+
### Properties
|
|
319
345
|
|
|
320
|
-
|
|
346
|
+
* `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
321
347
|
|
|
322
348
|
### name
|
|
323
349
|
|
|
@@ -343,26 +369,6 @@ Returns **AsyncIterable\<ContentEntry>** all entries
|
|
|
343
369
|
|
|
344
370
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider
|
|
345
371
|
|
|
346
|
-
## ContentProvider
|
|
347
|
-
|
|
348
|
-
Source of package content.
|
|
349
|
-
|
|
350
|
-
### Parameters
|
|
351
|
-
|
|
352
|
-
* `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
353
|
-
* `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** 
|
|
354
|
-
* `directoryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** 
|
|
355
|
-
|
|
356
|
-
### Properties
|
|
357
|
-
|
|
358
|
-
* `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
359
|
-
|
|
360
|
-
### asyncIterator
|
|
361
|
-
|
|
362
|
-
List all entries.
|
|
363
|
-
|
|
364
|
-
Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
|
|
365
|
-
|
|
366
372
|
## DEBIAN
|
|
367
373
|
|
|
368
374
|
**Extends Packager**
|
|
@@ -389,15 +395,6 @@ Map install hook named from default (arch) to deb.
|
|
|
389
395
|
|
|
390
396
|
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)>** 
|
|
391
397
|
|
|
392
|
-
## pkgKeyValuePairOptions
|
|
393
|
-
|
|
394
|
-
Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
395
|
-
|
|
396
|
-
## attributes
|
|
397
|
-
|
|
398
|
-
well known package properties
|
|
399
|
-
<https://www.archlinux.org/pacman/PKGBUILD.5.html>
|
|
400
|
-
|
|
401
398
|
## quoteFile
|
|
402
399
|
|
|
403
400
|
### Parameters
|
|
@@ -431,6 +428,15 @@ Check for rpmbuild presence.
|
|
|
431
428
|
|
|
432
429
|
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
|
|
433
430
|
|
|
431
|
+
## pkgKeyValuePairOptions
|
|
432
|
+
|
|
433
|
+
Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
434
|
+
|
|
435
|
+
## attributes
|
|
436
|
+
|
|
437
|
+
well known package properties
|
|
438
|
+
<https://www.archlinux.org/pacman/PKGBUILD.5.html>
|
|
439
|
+
|
|
434
440
|
## OCI
|
|
435
441
|
|
|
436
442
|
**Extends Packager**
|
|
@@ -460,12 +466,6 @@ Check for docker presence.
|
|
|
460
466
|
|
|
461
467
|
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
|
|
462
468
|
|
|
463
|
-
## BUILDAH
|
|
464
|
-
|
|
465
|
-
**Extends DOCKER**
|
|
466
|
-
|
|
467
|
-
Use buildah @see <https://buildah.io>
|
|
468
|
-
|
|
469
469
|
## Packager
|
|
470
470
|
|
|
471
471
|
### Parameters
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-pkgbuild",
|
|
3
|
-
"version": "20.6.
|
|
3
|
+
"version": "20.6.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": false
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"key-value-transformer": "^3.3.1",
|
|
67
67
|
"npm-package-walker": "^8.0.11",
|
|
68
68
|
"npm-packlist": "^10.0.3",
|
|
69
|
-
"pacc": "^
|
|
69
|
+
"pacc": "^9.0.0",
|
|
70
70
|
"package-directory": "^8.2.0",
|
|
71
71
|
"pacote": "^21.3.1",
|
|
72
72
|
"tar-stream": "^3.1.7",
|