@wraps.dev/cli 2.17.0 → 2.17.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/dist/cli.js CHANGED
@@ -10231,6 +10231,7 @@ async function withLockRetry(fn, options) {
10231
10231
 
10232
10232
  // src/commands/cdn/destroy.ts
10233
10233
  async function cdnDestroy(options) {
10234
+ await ensurePulumiInstalled();
10234
10235
  const startTime = Date.now();
10235
10236
  if (isJsonMode() && !options.force) {
10236
10237
  throw new WrapsError(
@@ -12146,6 +12147,7 @@ import * as clack11 from "@clack/prompts";
12146
12147
  import * as pulumi6 from "@pulumi/pulumi";
12147
12148
  import pc12 from "picocolors";
12148
12149
  async function cdnStatus(options) {
12150
+ await ensurePulumiInstalled();
12149
12151
  const startTime = Date.now();
12150
12152
  const progress = new DeploymentProgress();
12151
12153
  if (!isJsonMode()) {
@@ -12319,6 +12321,7 @@ init_json_output();
12319
12321
  init_metadata();
12320
12322
  init_output();
12321
12323
  async function cdnSync(options) {
12324
+ await ensurePulumiInstalled();
12322
12325
  const startTime = Date.now();
12323
12326
  const progress = new DeploymentProgress();
12324
12327
  if (!isJsonMode()) {
@@ -12498,6 +12501,7 @@ init_json_output();
12498
12501
  init_metadata();
12499
12502
  init_output();
12500
12503
  async function cdnUpgrade(options) {
12504
+ await ensurePulumiInstalled();
12501
12505
  const startTime = Date.now();
12502
12506
  const progress = new DeploymentProgress();
12503
12507
  if (!isJsonMode()) {
@@ -12850,6 +12854,7 @@ async function checkDistributionStatus(distributionId, region) {
12850
12854
  }
12851
12855
  }
12852
12856
  async function cdnVerify(options) {
12857
+ await ensurePulumiInstalled();
12853
12858
  const startTime = Date.now();
12854
12859
  const progress = new DeploymentProgress();
12855
12860
  if (!isJsonMode()) {
@@ -19818,6 +19823,7 @@ async function inboundDestroy(options) {
19818
19823
  clack20.intro(pc21.bold("Inbound Email Infrastructure Teardown"));
19819
19824
  }
19820
19825
  const progress = new DeploymentProgress();
19826
+ await ensurePulumiInstalled();
19821
19827
  const identity = await progress.execute(
19822
19828
  "Validating AWS credentials",
19823
19829
  async () => validateAWSCredentials()
@@ -21326,6 +21332,7 @@ async function restore(options) {
21326
21332
  );
21327
21333
  }
21328
21334
  const progress = new DeploymentProgress();
21335
+ await ensurePulumiInstalled();
21329
21336
  const identity = await progress.execute(
21330
21337
  "Validating AWS credentials",
21331
21338
  async () => validateAWSCredentials()
@@ -21507,6 +21514,7 @@ import * as clack25 from "@clack/prompts";
21507
21514
  import * as pulumi19 from "@pulumi/pulumi";
21508
21515
  import pc26 from "picocolors";
21509
21516
  async function emailStatus(options) {
21517
+ await ensurePulumiInstalled();
21510
21518
  const startTime = Date.now();
21511
21519
  const progress = new DeploymentProgress();
21512
21520
  if (!isJsonMode()) {
@@ -31690,6 +31698,7 @@ init_fs();
31690
31698
  init_metadata();
31691
31699
  init_output();
31692
31700
  async function dashboard(options) {
31701
+ await ensurePulumiInstalled();
31693
31702
  clack36.intro(pc39.bold("Wraps Dashboard"));
31694
31703
  const progress = new DeploymentProgress();
31695
31704
  const identity = await progress.execute(
@@ -31926,6 +31935,7 @@ import * as clack38 from "@clack/prompts";
31926
31935
  import * as pulumi23 from "@pulumi/pulumi";
31927
31936
  import pc41 from "picocolors";
31928
31937
  async function status(_options) {
31938
+ await ensurePulumiInstalled();
31929
31939
  const startTime = Date.now();
31930
31940
  const progress = new DeploymentProgress();
31931
31941
  if (!isJsonMode()) {
@@ -32871,6 +32881,7 @@ init_json_output();
32871
32881
  init_metadata();
32872
32882
  init_output();
32873
32883
  async function smsDestroy(options) {
32884
+ await ensurePulumiInstalled();
32874
32885
  const startTime = Date.now();
32875
32886
  if (isJsonMode() && !options.force) {
32876
32887
  throw new WrapsError(
@@ -34204,6 +34215,7 @@ function displaySMSStatus(options) {
34204
34215
  clack42.note(lines.join("\n"), "SMS Status");
34205
34216
  }
34206
34217
  async function smsStatus(_options) {
34218
+ await ensurePulumiInstalled();
34207
34219
  const startTime = Date.now();
34208
34220
  const progress = new DeploymentProgress();
34209
34221
  if (!isJsonMode()) {
@@ -34283,6 +34295,7 @@ init_json_output();
34283
34295
  init_metadata();
34284
34296
  init_output();
34285
34297
  async function smsSync(options) {
34298
+ await ensurePulumiInstalled();
34286
34299
  const startTime = Date.now();
34287
34300
  if (!isJsonMode()) {
34288
34301
  clack43.intro(pc46.bold("Wraps SMS Infrastructure Sync"));