pmcf 1.57.0 → 1.57.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/host.mjs +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.57.0",
3
+ "version": "1.57.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/host.mjs CHANGED
@@ -329,6 +329,10 @@ export class Host extends Base {
329
329
  return readFile(join(this.directory, `ssh_host_${type}_key.pub`), "utf8");
330
330
  }
331
331
 
332
+ get packageName() {
333
+ return `${this.constructor.typeDefinition.name}-${this.owner.name}-${this.name}`;
334
+ }
335
+
332
336
  async preparePackage(stagingDir) {
333
337
  const result = await super.preparePackage(stagingDir);
334
338
  await generateNetworkDefs(this, stagingDir);