pmcf 6.39.9 → 6.39.11
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 +1 -1
- package/src/base.mjs +9 -1
- package/src/core-service.mjs +0 -12
- package/src/network-interfaces/ethernet.mjs +1 -1
- package/src/services/bind.mjs +1 -1
package/package.json
CHANGED
package/src/base.mjs
CHANGED
|
@@ -220,7 +220,15 @@ export class base extends core {
|
|
|
220
220
|
return this.content?.packageData();
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
async *preparePackages(stagingDir) {
|
|
223
|
+
async *preparePackages(stagingDir) {
|
|
224
|
+
const pd = await this.packageData;
|
|
225
|
+
|
|
226
|
+
pd.sources.push(...(await Array.fromAsync(this.templateContent())));
|
|
227
|
+
|
|
228
|
+
if (pd.sources.length) {
|
|
229
|
+
yield pd;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
224
232
|
|
|
225
233
|
get templateTransformers() {
|
|
226
234
|
return [
|
package/src/core-service.mjs
CHANGED
|
@@ -270,18 +270,6 @@ export class CoreService extends base {
|
|
|
270
270
|
);
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
async *preparePackages(dir) {
|
|
274
|
-
const pd = await this.packageData;
|
|
275
|
-
|
|
276
|
-
pd.sources = await Array.fromAsync(
|
|
277
|
-
this.templateContent()
|
|
278
|
-
);
|
|
279
|
-
|
|
280
|
-
if (pd.sources.length) {
|
|
281
|
-
yield pd;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
273
|
dnsRecordsForDomainName(domainName, hasSVRRecords) {
|
|
286
274
|
const records = [];
|
|
287
275
|
|
package/src/services/bind.mjs
CHANGED
|
@@ -809,7 +809,7 @@ export class bind extends CoreService {
|
|
|
809
809
|
|
|
810
810
|
packageData.sources.push(new FileContentProvider({ dir: dir + "/" }));
|
|
811
811
|
|
|
812
|
-
const outputControl = { packageData, dir
|
|
812
|
+
const outputControl = { packageData, dir };
|
|
813
813
|
|
|
814
814
|
for (const key of this.keys.values()) {
|
|
815
815
|
await key.packageContent(outputControl);
|