npm-pkgbuild 13.3.0 → 13.3.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": "npm-pkgbuild",
3
- "version": "13.3.0",
3
+ "version": "13.3.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -166,7 +166,7 @@ export class DOCKER extends Packager {
166
166
  return image;
167
167
  }
168
168
 
169
- async publish(artifact, destination, properties,logger) {
169
+ async publish(artifact, destination, properties,logger=console.log) {
170
170
 
171
171
  const publish = analysePublish(destination, properties);
172
172
 
@@ -34,5 +34,9 @@ export class DOCKER extends Packager {
34
34
  arch: string;
35
35
  }): Promise<boolean>;
36
36
  execute(sources: any, transformer: any, dependencies: any, options: any, expander?: (v: any) => any): Promise<string>;
37
+ publish(artifact: any, destination: any, properties: any, logger?: {
38
+ (...data: any[]): void;
39
+ (message?: any, ...optionalParams: any[]): void;
40
+ }): Promise<void>;
37
41
  }
38
42
  import { Packager } from "./packager.mjs";