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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.39.9",
3
+ "version": "6.39.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
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 [
@@ -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
 
@@ -11,7 +11,7 @@ export class ethernet extends NetworkInterface {
11
11
  }
12
12
  };
13
13
 
14
- static commonNamePattern = /^(eth|end|en)\d+$/;
14
+ static commonNamePattern = /^(eth|end|en|enx)[\da-zA-Z]+$/;
15
15
 
16
16
  static {
17
17
  addType(this);
@@ -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, permissions };
812
+ const outputControl = { packageData, dir };
813
813
 
814
814
  for (const key of this.keys.values()) {
815
815
  await key.packageContent(outputControl);