npm-pkgbuild 22.1.0 → 22.1.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 +4 -1
- package/package.json +1 -1
- package/src/output/alpm.mjs +12 -4
package/README.md
CHANGED
|
@@ -348,6 +348,9 @@ Source of package content.
|
|
|
348
348
|
### Properties
|
|
349
349
|
|
|
350
350
|
* `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
351
|
+
* `destination` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
352
|
+
* `defaultProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
353
|
+
* `permissions` **[Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)<[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)>** 
|
|
351
354
|
|
|
352
355
|
### propertiesFor
|
|
353
356
|
|
|
@@ -356,7 +359,7 @@ Source of package content.
|
|
|
356
359
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
357
360
|
* `isCollection` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
358
361
|
|
|
359
|
-
Returns **
|
|
362
|
+
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
360
363
|
|
|
361
364
|
### asyncIterator
|
|
362
365
|
|
package/package.json
CHANGED
package/src/output/alpm.mjs
CHANGED
|
@@ -137,7 +137,11 @@ export class ALPM extends Packager {
|
|
|
137
137
|
default: ["any"],
|
|
138
138
|
mandatory: true
|
|
139
139
|
},
|
|
140
|
-
backup: {
|
|
140
|
+
backup: {
|
|
141
|
+
...string_collection_attribute_writable,
|
|
142
|
+
name: "backup",
|
|
143
|
+
skipEmpty: true
|
|
144
|
+
},
|
|
141
145
|
depends: {
|
|
142
146
|
...dependency_attribute_collection_writable /*, alias: "dependencies" */,
|
|
143
147
|
name: "depends"
|
|
@@ -156,10 +160,15 @@ export class ALPM extends Packager {
|
|
|
156
160
|
},
|
|
157
161
|
conflicts: {
|
|
158
162
|
...dependency_attribute_collection_writable,
|
|
159
|
-
name: "conflicts"
|
|
163
|
+
name: "conflicts",
|
|
164
|
+
skipEmpty: true
|
|
160
165
|
},
|
|
161
166
|
provides: { ...dependency_attribute_collection_writable, name: "provides" },
|
|
162
|
-
replaces: {
|
|
167
|
+
replaces: {
|
|
168
|
+
...dependency_attribute_collection_writable,
|
|
169
|
+
name: "replaces",
|
|
170
|
+
skipEmpty: true
|
|
171
|
+
},
|
|
163
172
|
options: { ...default_attribute, name: "options" }
|
|
164
173
|
};
|
|
165
174
|
|
|
@@ -241,7 +250,6 @@ package() {
|
|
|
241
250
|
|
|
242
251
|
if [ "$(ls -A $srcdir)" ]
|
|
243
252
|
then
|
|
244
|
-
#cp -rp $srcdir/* "$pkgdir"
|
|
245
253
|
### PERMISSION ###
|
|
246
254
|
|
|
247
255
|
${verbose}
|