@sanity/cli 5.13.0-next.18 → 5.13.0-next.19

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.
@@ -1738,7 +1738,7 @@ const BlueprintsAddExampleUsed = telemetry.defineEvent({
1738
1738
  if (!token2) throw new Error("No API token found. Please run `sanity login`.");
1739
1739
  const { initDeployedBlueprintConfig } = await import("@sanity/runtime-cli/cores"), { blueprintDeployCore } = await import("@sanity/runtime-cli/cores/blueprints"), cmdConfig = await initDeployedBlueprintConfig({
1740
1740
  bin: "sanity",
1741
- log: utils$3.logger.Logger(output.print),
1741
+ log: utils$3.logger.Logger(output.print, { verbose: flags.verbose }),
1742
1742
  stackOverride: flags.stack,
1743
1743
  token: token2
1744
1744
  });
@@ -1746,7 +1746,8 @@ const BlueprintsAddExampleUsed = telemetry.defineEvent({
1746
1746
  const { success, error: error2 } = await blueprintDeployCore({
1747
1747
  ...cmdConfig.value,
1748
1748
  flags: {
1749
- "no-wait": flags["no-wait"]
1749
+ "no-wait": flags["no-wait"],
1750
+ verbose: flags.verbose
1750
1751
  }
1751
1752
  });
1752
1753
  if (!success) throw new Error(error2);
@@ -1765,7 +1766,7 @@ const BlueprintsAddExampleUsed = telemetry.defineEvent({
1765
1766
  if (!token2) throw new Error("No API token found. Please run `sanity login`.");
1766
1767
  const { initBlueprintConfig } = await import("@sanity/runtime-cli/cores"), { blueprintDestroyCore } = await import("@sanity/runtime-cli/cores/blueprints"), cmdConfig = await initBlueprintConfig({
1767
1768
  bin: "sanity",
1768
- log: utils$3.logger.Logger(output.print),
1769
+ log: utils$3.logger.Logger(output.print, { verbose: flags.verbose }),
1769
1770
  token: token2
1770
1771
  });
1771
1772
  if (!cmdConfig.ok) throw new Error(cmdConfig.error);
@@ -1775,7 +1776,8 @@ const BlueprintsAddExampleUsed = telemetry.defineEvent({
1775
1776
  "no-wait": flags["no-wait"],
1776
1777
  force: flags.force ?? flags.f,
1777
1778
  "project-id": flags["project-id"] ?? flags.projectId ?? flags.project,
1778
- stack: flags["stack-id"] ?? flags.stackId ?? flags.stack
1779
+ stack: flags["stack-id"] ?? flags.stackId ?? flags.stack,
1780
+ verbose: flags.verbose
1779
1781
  }
1780
1782
  });
1781
1783
  if (!success) throw new Error(error2);
@@ -1816,14 +1818,16 @@ const BlueprintsAddExampleUsed = telemetry.defineEvent({
1816
1818
  if (!token2) throw new Error("No API token found. Please run `sanity login`.");
1817
1819
  const { initDeployedBlueprintConfig } = await import("@sanity/runtime-cli/cores"), { blueprintInfoCore } = await import("@sanity/runtime-cli/cores/blueprints"), cmdConfig = await initDeployedBlueprintConfig({
1818
1820
  bin: "sanity",
1819
- log: utils$3.logger.Logger(output.print),
1821
+ log: utils$3.logger.Logger(output.print, { verbose: flags.verbose }),
1820
1822
  stackOverride: flags.stack ?? flags.id,
1821
1823
  token: token2
1822
1824
  });
1823
1825
  if (!cmdConfig.ok) throw new Error(cmdConfig.error);
1824
1826
  const { success, error: error2 } = await blueprintInfoCore({
1825
1827
  ...cmdConfig.value,
1826
- flags: {}
1828
+ flags: {
1829
+ verbose: flags.verbose
1830
+ }
1827
1831
  });
1828
1832
  if (!success) throw new Error(error2);
1829
1833
  }
@@ -1888,7 +1892,7 @@ const BlueprintsAddExampleUsed = telemetry.defineEvent({
1888
1892
  if (!token2) throw new Error("No API token found. Please run `sanity login`.");
1889
1893
  const { initDeployedBlueprintConfig } = await import("@sanity/runtime-cli/cores"), { blueprintLogsCore } = await import("@sanity/runtime-cli/cores/blueprints"), cmdConfig = await initDeployedBlueprintConfig({
1890
1894
  bin: "sanity",
1891
- log: utils$3.logger.Logger(output.print),
1895
+ log: utils$3.logger.Logger(output.print, { verbose: flags.verbose }),
1892
1896
  stackOverride: flags.stack,
1893
1897
  token: token2
1894
1898
  });
@@ -1896,7 +1900,8 @@ const BlueprintsAddExampleUsed = telemetry.defineEvent({
1896
1900
  const { success, streaming, error: error2 } = await blueprintLogsCore({
1897
1901
  ...cmdConfig.value,
1898
1902
  flags: {
1899
- watch: flags.watch ?? flags.w
1903
+ watch: flags.watch ?? flags.w,
1904
+ verbose: flags.verbose
1900
1905
  }
1901
1906
  });
1902
1907
  if (streaming && await streaming, !success) throw new Error(error2);