@tahminator/pipeline 1.0.101 → 1.0.102

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.
@@ -13,6 +13,8 @@ export declare class PulumiClient {
13
13
  diff: boolean;
14
14
  rewriteStdoutToDiffFriendly: boolean;
15
15
  }): Promise<PreviewResult>;
16
- refresh(): Promise<RefreshResult>;
16
+ refresh(opts?: {
17
+ runProgram?: boolean;
18
+ }): Promise<RefreshResult>;
17
19
  static parseChangeSumaryToPrettyTable(changeSummary: OpMap): string;
18
20
  }
@@ -39,8 +39,8 @@ export class PulumiClient {
39
39
  async preview(opts) {
40
40
  return this.strategy.preview(opts);
41
41
  }
42
- async refresh() {
43
- return this.strategy.refresh();
42
+ async refresh(opts) {
43
+ return this.strategy.refresh(opts);
44
44
  }
45
45
  static parseChangeSumaryToPrettyTable(changeSummary) {
46
46
  const entries = Object.entries(changeSummary).filter(([_, count]) => count > 0);
@@ -5,5 +5,7 @@ export interface IPulumiClientStrategy {
5
5
  diff: boolean;
6
6
  rewriteStdoutToDiffFriendly: boolean;
7
7
  }): Promise<PreviewResult>;
8
- refresh(): Promise<RefreshResult>;
8
+ refresh(opts?: {
9
+ runProgram?: boolean;
10
+ }): Promise<RefreshResult>;
9
11
  }
@@ -11,5 +11,7 @@ export declare class LocalWorkspacePulumiClientStrategy implements IPulumiClient
11
11
  rewriteStdoutToDiffFriendly: boolean;
12
12
  } | undefined): Promise<PreviewResult>;
13
13
  private rewritePulumiPreviewAsDiffFriendlyText;
14
- refresh(): Promise<RefreshResult>;
14
+ refresh(args?: {
15
+ runProgram?: boolean;
16
+ }): Promise<RefreshResult>;
15
17
  }
@@ -61,9 +61,11 @@ export class LocalWorkspacePulumiClientStrategy {
61
61
  })
62
62
  .join("\n");
63
63
  }
64
- async refresh() {
64
+ async refresh(args) {
65
+ const { runProgram = true } = args ?? {};
65
66
  return this.stack.refresh({
66
67
  color: "never",
68
+ runProgram,
67
69
  });
68
70
  }
69
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tahminator/pipeline",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "description": "A collection of Bun shell scripts that can be re-used in various CICD pipelines.",
5
5
  "author": "Tahmid Ahmed",
6
6
  "repository": {