vercel 56.4.1 → 57.0.0

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.
Files changed (94) hide show
  1. package/dist/chunks/{add-L3Z6PL54.js → add-7M577U56.js} +7 -6
  2. package/dist/chunks/{add-RFEJCIBM.js → add-YRZTDNXX.js} +3 -3
  3. package/dist/chunks/{chunk-V5P25P7F.js → chunk-2473DUBR.js} +4 -11
  4. package/dist/chunks/{chunk-5EXIJBLL.js → chunk-2EDWKVNP.js} +8 -8
  5. package/dist/chunks/{chunk-YS6EDZHB.js → chunk-2MJROFVC.js} +5 -1
  6. package/dist/chunks/{chunk-OOD67FAL.js → chunk-3242RXCN.js} +1 -1
  7. package/dist/chunks/chunk-3PGXYIKC.js +147 -0
  8. package/dist/chunks/{chunk-CHZBEMLF.js → chunk-4PGF367U.js} +47 -210
  9. package/dist/chunks/{chunk-GKVAAY2A.js → chunk-555WJSO5.js} +1 -1
  10. package/dist/chunks/chunk-5AJPMLDV.js +28 -0
  11. package/dist/chunks/{chunk-IHQ7DPQI.js → chunk-A2TYQBX2.js} +117 -3
  12. package/dist/chunks/chunk-A3NYPUKZ.js +17 -0
  13. package/dist/chunks/{chunk-W346YNDN.js → chunk-DWMH5M4Q.js} +4 -1
  14. package/dist/chunks/chunk-E336ZXPP.js +43 -0
  15. package/dist/chunks/chunk-F5PQWDOC.js +245 -0
  16. package/dist/chunks/{chunk-Y7TVKRRJ.js → chunk-F7X55TOY.js} +15 -839
  17. package/dist/chunks/chunk-FGDKMNEN.js +21 -0
  18. package/dist/chunks/chunk-FHEMFAHB.js +320 -0
  19. package/dist/chunks/{chunk-NLRIKNPX.js → chunk-GP5VCTEU.js} +1 -1
  20. package/dist/chunks/chunk-GZLPFESR.js +48 -0
  21. package/dist/chunks/{chunk-HZKJMZEQ.js → chunk-HD7B425F.js} +2 -2
  22. package/dist/chunks/{chunk-J6KTUJHV.js → chunk-IOAZNR6Z.js} +1 -1
  23. package/dist/chunks/{chunk-STJJ3DFO.js → chunk-KCF6S3XF.js} +16 -1
  24. package/dist/chunks/chunk-LMHT3QR3.js +247 -0
  25. package/dist/chunks/{chunk-A4XB42AB.js → chunk-MAHINYBW.js} +4 -3
  26. package/dist/chunks/{chunk-DXFSBJTA.js → chunk-MIFDRYTN.js} +1 -1
  27. package/dist/chunks/{chunk-VLTQJKP6.js → chunk-NH43BFJ3.js} +1 -1
  28. package/dist/chunks/{chunk-Z7NPYIZ6.js → chunk-NM43FFV6.js} +0 -8
  29. package/dist/chunks/{chunk-MQRHJEBS.js → chunk-NRNMT43R.js} +3 -3
  30. package/dist/chunks/chunk-OF2GNB42.js +53 -0
  31. package/dist/chunks/chunk-PRWJUY5U.js +848 -0
  32. package/dist/chunks/{chunk-F5OMERHI.js → chunk-QZD5DKUR.js} +10 -23
  33. package/dist/chunks/{chunk-4M3ZQCYN.js → chunk-RAFH25WW.js} +8 -1
  34. package/dist/chunks/{chunk-43B3LNUF.js → chunk-RYO6FJFB.js} +1 -1
  35. package/dist/chunks/{chunk-XFGY3JAX.js → chunk-T4NODP6Y.js} +11 -18
  36. package/dist/chunks/{chunk-GLAHGVBS.js → chunk-TBR2Q37Y.js} +2038 -1786
  37. package/dist/chunks/chunk-V4RMJKQP.js +36 -0
  38. package/dist/chunks/chunk-WR7JTCGL.js +104 -0
  39. package/dist/chunks/{chunk-6RTK6BWX.js → chunk-YA3WQFLY.js} +1 -1
  40. package/dist/chunks/{chunk-UHGAPG7O.js → chunk-YOZCJHLZ.js} +4 -4
  41. package/dist/chunks/{compile-vercel-config-J2X5OV6K.js → compile-vercel-config-3OHO3TJA.js} +2 -2
  42. package/dist/chunks/config-validator.mjs +1 -0
  43. package/dist/chunks/delete-3DZOCWCC.js +150 -0
  44. package/dist/chunks/{delete-57A44RN7.js → delete-VOSJLNEA.js} +3 -3
  45. package/dist/chunks/{disable-DNZ52MEO.js → disable-LQDEVRQF.js} +3 -3
  46. package/dist/chunks/{discard-HACSIZ74.js → discard-RGV4JKXQ.js} +3 -3
  47. package/dist/chunks/{edit-HJ47TQU3.js → edit-SFIEOQ24.js} +4 -4
  48. package/dist/chunks/edit-UPZPI54L.js +153 -0
  49. package/dist/chunks/{enable-BVLRVRYM.js → enable-6UVH35WC.js} +3 -3
  50. package/dist/chunks/{export-7MJFGMG7.js → export-6CEG3CK7.js} +3 -3
  51. package/dist/chunks/{image-4UMD7UZP.js → image-CQRCD2OE.js} +3 -3
  52. package/dist/chunks/inspect-4ZAH3RFT.js +205 -0
  53. package/dist/chunks/inspect-EXQBIAFF.js +587 -0
  54. package/dist/chunks/{inspect-WBHUZC3R.js → inspect-K5ZMQG7X.js} +3 -3
  55. package/dist/chunks/{inspect-4JD2QN67.js → inspect-UM3LDRPV.js} +3 -3
  56. package/dist/chunks/{inspect-XX3OXSHC.js → inspect-ZFRY3X3H.js} +3 -3
  57. package/dist/chunks/{list-AM6K2JCW.js → list-4DRVM7Q4.js} +42 -55
  58. package/dist/chunks/{list-5H57NTM4.js → list-FJCBOCCA.js} +2 -2
  59. package/dist/chunks/list-KCUHD4OA.js +360 -0
  60. package/dist/chunks/{login-YO34E4V5.js → login-DFGYNU3K.js} +3 -3
  61. package/dist/chunks/{ls-44NPIO2N.js → ls-34NCZKBE.js} +3 -3
  62. package/dist/chunks/{ls-P7ZLBWW2.js → ls-4QHHVXXD.js} +3 -3
  63. package/dist/chunks/{ls-YDUYTLXW.js → ls-CG6A7UXF.js} +3 -3
  64. package/dist/chunks/ls-RHEQ6YQB.js +188 -0
  65. package/dist/chunks/open-E3XADEMX.js +106 -0
  66. package/dist/chunks/{publish-RXFUYSW3.js → publish-Z3AQRUCS.js} +3 -3
  67. package/dist/chunks/{query-ILJJL3BZ.js → query-3EV66DO3.js} +9 -9
  68. package/dist/chunks/{reorder-GBCOPZT4.js → reorder-VA5E5ZJT.js} +3 -3
  69. package/dist/chunks/reply-SNSCNKAW.js +167 -0
  70. package/dist/chunks/resolve-6ZX4RTXX.js +228 -0
  71. package/dist/chunks/{restore-YK5DGGRX.js → restore-NEHI5B5P.js} +3 -3
  72. package/dist/chunks/{rm-O474MI5C.js → rm-22B22E47.js} +3 -3
  73. package/dist/chunks/{rm-LK6P7XTA.js → rm-E5ZVLAKO.js} +3 -3
  74. package/dist/chunks/{rm-FRZMXB2W.js → rm-FR6KE744.js} +7 -6
  75. package/dist/chunks/rule-inspect-DMP2CKJQ.js +283 -0
  76. package/dist/chunks/{rules-MZ2MP6KJ.js → rules-EYGXEI2Z.js} +7 -7
  77. package/dist/chunks/{schema-FR6CCQIZ.js → schema-2IIWOBSQ.js} +7 -5
  78. package/dist/chunks/{tags-AKRTKFRV.js → tags-ZDVYRHAY.js} +2 -2
  79. package/dist/chunks/{update-W3CWQB2F.js → update-QH4DQMZV.js} +7 -6
  80. package/dist/commands/build/index.js +45 -13
  81. package/dist/commands/deploy/index.js +38 -27
  82. package/dist/commands/dev/index.js +13 -16
  83. package/dist/commands/env/index.js +13 -11
  84. package/dist/commands/link/index.js +10 -9
  85. package/dist/commands/list/index.js +5 -5
  86. package/dist/commands-bulk.js +2981 -2179
  87. package/dist/index.js +31 -21
  88. package/dist/vc.js +54 -18
  89. package/dist/version.mjs +1 -1
  90. package/package.json +35 -35
  91. package/dist/chunks/chunk-F32B76CK.js +0 -86
  92. package/dist/chunks/inspect-5YZP7IWI.js +0 -351
  93. package/dist/chunks/ls-MB74DIQV.js +0 -113
  94. package/dist/chunks/rule-inspect-YEZGYINZ.js +0 -141
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveAlertsScope
9
- } from "./chunk-XFGY3JAX.js";
9
+ } from "./chunk-T4NODP6Y.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-UDWRZXIT.js";
20
20
 
21
21
  // src/commands/alerts/rules/parse-scope.ts
22
- async function parseRulesFlagsAndScope(client, flags, jsonOutput) {
22
+ async function parseRulesFlagsAndScope(client, flags, jsonOutput, command = "alerts rules ls") {
23
23
  const mutual = validateAllProjectMutualExclusivity(
24
24
  flags["--all"],
25
25
  flags["--project"]
@@ -48,7 +48,8 @@ async function parseRulesFlagsAndScope(client, flags, jsonOutput) {
48
48
  return resolveAlertsScope(client, {
49
49
  project: flags["--project"],
50
50
  all: flags["--all"],
51
- jsonOutput
51
+ jsonOutput,
52
+ command
52
53
  });
53
54
  }
54
55
 
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  STANDARD_ENVIRONMENTS
9
- } from "./chunk-GLAHGVBS.js";
9
+ } from "./chunk-TBR2Q37Y.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-GLAHGVBS.js";
9
+ } from "./chunk-TBR2Q37Y.js";
10
10
  import {
11
11
  packageName,
12
12
  projectOption,
@@ -8,13 +8,6 @@ import {
8
8
  output_manager_default
9
9
  } from "./chunk-OX7KI3LF.js";
10
10
 
11
- // src/util/output/indent.ts
12
- var indent_default = (input, level) => {
13
- const fill = " ".repeat(level);
14
- return `${fill}${input.replace(/\n/g, `
15
- ${fill}`)}`;
16
- };
17
-
18
11
  // src/commands/metrics/output.ts
19
12
  function getRollupColumnName(metric, aggregation) {
20
13
  return `${metric}_${aggregation}`.replace(/[./]/g, "_");
@@ -107,7 +100,6 @@ Available values: ${err.allowedValues.join(", ")}
107
100
  }
108
101
 
109
102
  export {
110
- indent_default,
111
103
  getRollupColumnName,
112
104
  getResolvedOrderMetadata,
113
105
  formatQueryJson,
@@ -5,10 +5,9 @@ const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
- getLocalPathConfig,
9
8
  isPromptBackError,
10
9
  isPromptCanceledError
11
- } from "./chunk-F32B76CK.js";
10
+ } from "./chunk-V4RMJKQP.js";
12
11
  import {
13
12
  table
14
13
  } from "./chunk-NZRWTCRM.js";
@@ -26,6 +25,7 @@ import {
26
25
  findRepoRoot,
27
26
  findSourceVercelConfigFile,
28
27
  getLinkedProject,
28
+ getLocalPathConfig,
29
29
  getProjectByNameOrId,
30
30
  getServicesConfigWriteBlocker,
31
31
  getVercelDirectory,
@@ -46,7 +46,7 @@ import {
46
46
  selectAndParseRemoteUrl,
47
47
  selectOrg,
48
48
  writeServicesConfig
49
- } from "./chunk-GLAHGVBS.js";
49
+ } from "./chunk-TBR2Q37Y.js";
50
50
  import {
51
51
  printError
52
52
  } from "./chunk-SZXT3PDQ.js";
@@ -0,0 +1,53 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __dirname_ } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __dirname_(__filename);
7
+ import {
8
+ require_strip_ansi
9
+ } from "./chunk-SZXT3PDQ.js";
10
+ import {
11
+ __toESM
12
+ } from "./chunk-TZ2YI2VH.js";
13
+
14
+ // src/util/output/truncate.ts
15
+ var import_strip_ansi = __toESM(require_strip_ansi(), 1);
16
+ function truncateEnd(value, maxLength, opts = {}) {
17
+ const omission = opts.omission ?? "...";
18
+ if (value.length <= maxLength) {
19
+ return value;
20
+ }
21
+ if (maxLength <= omission.length) {
22
+ return value.slice(0, maxLength);
23
+ }
24
+ return `${value.slice(0, maxLength - omission.length)}${omission}`;
25
+ }
26
+ function truncateMiddle(value, maxLength, opts = {}) {
27
+ const omission = opts.omission ?? "...";
28
+ const comparable = opts.useVisibleLength ? (0, import_strip_ansi.default)(value) : value;
29
+ if (comparable.length <= maxLength) {
30
+ return value;
31
+ }
32
+ if (maxLength <= omission.length) {
33
+ return comparable.slice(0, maxLength);
34
+ }
35
+ const available = maxLength - omission.length;
36
+ const start = Math.ceil(available / 2);
37
+ const end = Math.floor(available / 2);
38
+ return `${comparable.slice(0, start)}${omission}${comparable.slice(
39
+ comparable.length - end
40
+ )}`;
41
+ }
42
+ function ellipsizeMiddle(value, maxLength, useVisibleLength = false) {
43
+ return truncateMiddle(value, maxLength, {
44
+ omission: "\u2026",
45
+ useVisibleLength
46
+ });
47
+ }
48
+
49
+ export {
50
+ truncateEnd,
51
+ truncateMiddle,
52
+ ellipsizeMiddle
53
+ };