pmcf 4.0.5 → 4.0.7

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/bin/pmcf-package CHANGED
@@ -74,11 +74,9 @@ for (const object of root.find(args)) {
74
74
  options
75
75
  );
76
76
 
77
- // if (properties.verbose) {
78
- console.log(" -> " + artifact);
79
- // }
80
-
81
- if (!options.dry) {
77
+ if (options.dry) {
78
+ console.log(" -> " + artifact);
79
+ } else {
82
80
  await Promise.all(
83
81
  publishingDetails.map(publishDetail =>
84
82
  output.publish(artifact, publishDetail)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.0.5",
3
+ "version": "4.0.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "ip-utilties": "^2.0.2",
57
- "npm-pkgbuild": "^19.1.3",
57
+ "npm-pkgbuild": "^19.1.4",
58
58
  "pacc": "^7.2.0",
59
59
  "package-directory": "^8.1.0"
60
60
  },
@@ -242,9 +242,9 @@ export class BindService extends ExtraSourceService {
242
242
 
243
243
  const configPackageDir = join(dir, "config") + "/";
244
244
  const packageData = {
245
+ outputs: this.outputs,
245
246
  dir: configPackageDir,
246
247
  sources: [new FileContentProvider(configPackageDir)],
247
- outputs: this.outputs,
248
248
  properties: {
249
249
  name: `named-${name}`,
250
250
  description: `named definitions for ${names}`,
@@ -302,13 +302,15 @@ export class BindService extends ExtraSourceService {
302
302
  const zonesPackageDir = join(dir, "zones") + "/";
303
303
 
304
304
  packageData.dir = zonesPackageDir;
305
+ packageData.sources = [
306
+ new FileContentProvider(zonesPackageDir, ...filePermissions)
307
+ ];
305
308
  packageData.properties = {
306
309
  name: `named-zones-${name}`,
307
310
  description: `zone definitions for ${names}`,
308
311
  dependencies: ["mf-named"],
309
312
  access: "private",
310
- hooks: {},
311
- sources: [new FileContentProvider(zonesPackageDir, ...filePermissions)]
313
+ hooks: {}
312
314
  };
313
315
 
314
316
  yield this.generateZoneDefs(sources, packageData);
@@ -316,14 +318,14 @@ export class BindService extends ExtraSourceService {
316
318
  const outfacingZonesPackageDir = join(dir, "outfacingZones") + "/";
317
319
 
318
320
  packageData.dir = outfacingZonesPackageDir;
321
+ packageData.sources = [
322
+ new FileContentProvider(outfacingZonesPackageDir, ...filePermissions)
323
+ ];
319
324
  packageData.properties = {
320
325
  name: `named-zones-${name}-outfacing`,
321
326
  description: `outfacing zone definitions for ${names}`,
322
327
  access: "private",
323
- hooks: {},
324
- sources: [
325
- new FileContentProvider(outfacingZonesPackageDir, ...filePermissions)
326
- ]
328
+ hooks: {}
327
329
  };
328
330
 
329
331
  yield* this.generateOutfacingDefs(sources, packageData);