pmcf 6.21.0 → 6.21.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.21.0",
3
+ "version": "6.21.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/base.mjs CHANGED
@@ -488,6 +488,7 @@ export class Base {
488
488
  outputs: this.outputs,
489
489
  properties: {
490
490
  name: nameParts.filter(n => n !== undefined && n.length > 0).join("-"),
491
+ description: `${this.type} definitions for ${this.fullName}`,
491
492
  access: "private",
492
493
  dependencies: this.depends,
493
494
  groups: [this.typeName]
@@ -291,7 +291,6 @@ export class CoreService extends Base {
291
291
  const packageData = super.packageData;
292
292
  const name = `${this.owner.owner.name}-${this.owner.name}`;
293
293
  packageData.properties.name = `${this.name}-${name}`;
294
- packageData.properties.description = `${this.type} service definitions for ${this.fullName}`;
295
294
  packageData.properties.groups.push("config", name);
296
295
  return packageData;
297
296
  }
@@ -308,9 +307,8 @@ export class CoreService extends Base {
308
307
  const records = [];
309
308
 
310
309
  if (this.priority >= 390) {
311
- console.log("DNS SERVICE ALIAS", this.aliases, dnsFullName(domainName));
312
-
313
310
  for (const alias of this.aliases) {
311
+ console.log("CNAME", alias, dnsFullName(domainName));
314
312
  records.push(DNSRecord(alias, "CNAME", dnsFullName(domainName)));
315
313
  }
316
314
  }