pmcf 4.9.12 → 4.9.13

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": "4.9.12",
3
+ "version": "4.9.13",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "content-entry-transform": "^1.6.1",
57
57
  "ip-utilties": "^2.0.3",
58
- "npm-pkgbuild": "^20.2.0",
58
+ "npm-pkgbuild": "^20.2.1",
59
59
  "pacc": "^8.0.4",
60
60
  "package-directory": "^8.1.0"
61
61
  },
package/src/base.mjs CHANGED
@@ -548,8 +548,9 @@ export class Base {
548
548
 
549
549
  async *preparePackages(stagingDir) {}
550
550
 
551
- templateContent(entryProperties, directoryProperties) {
552
- const transformers = [
551
+ get templateTransformers()
552
+ {
553
+ return [
553
554
  createExpressionTransformer(
554
555
  e => e.isBlob,
555
556
  expression =>
@@ -559,7 +560,9 @@ export class Base {
559
560
  })
560
561
  )
561
562
  ];
563
+ }
562
564
 
565
+ templateContent(entryProperties, directoryProperties) {
563
566
  return [...this.walkDirections(["this", "extends"])].map(e =>
564
567
  transform(
565
568
  new FileContentProvider(
@@ -567,7 +570,7 @@ export class Base {
567
570
  entryProperties,
568
571
  directoryProperties
569
572
  ),
570
- transformers
573
+ this.templateTransformers
571
574
  )
572
575
  );
573
576
  }
package/types/base.d.mts CHANGED
@@ -126,6 +126,7 @@ export class Base {
126
126
  get derivedPackaging(): any;
127
127
  get outputs(): Set<typeof import("npm-pkgbuild").DEBIAN | typeof import("npm-pkgbuild").ARCH | typeof import("npm-pkgbuild").OCI | typeof import("npm-pkgbuild").DOCKER>;
128
128
  preparePackages(stagingDir: any): AsyncGenerator<never, void, unknown>;
129
+ get templateTransformers(): any[];
129
130
  templateContent(entryProperties: any, directoryProperties: any): any[];
130
131
  set tags(value: Set<any>);
131
132
  get tags(): Set<any>;