@depup/vercel 58.4.4-depup.0 → 59.1.3-depup.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 (119) hide show
  1. package/README.md +8 -9
  2. package/changes.json +7 -11
  3. package/dist/chunks/{add-245XOFJO.js → add-CUGPQYFW.js} +11 -11
  4. package/dist/chunks/{add-XH24V5VU.js → add-PP3PJPJV.js} +8 -8
  5. package/dist/chunks/{add-P7WBQMBW.js → add-PRG4KKYH.js} +45 -12
  6. package/dist/chunks/{build-M7NJYJPE.js → build-T22GMLY6.js} +11 -11
  7. package/dist/chunks/{chunk-AW5YINX6.js → chunk-2MF3ZAVW.js} +48 -6
  8. package/dist/chunks/{chunk-WR7JTCGL.js → chunk-3BU2UCGV.js} +1 -1
  9. package/dist/chunks/{chunk-MAHXF73X.js → chunk-3L2YLLHC.js} +1 -1
  10. package/dist/chunks/{chunk-ZGBBPJ6B.js → chunk-43DD2KNM.js} +254 -1539
  11. package/dist/chunks/{chunk-M5NOLAJ4.js → chunk-4HI7G6KG.js} +1 -1
  12. package/dist/chunks/chunk-4JKZ7SRX.js +559 -0
  13. package/dist/chunks/{chunk-Y5GTPWXB.js → chunk-57G6HBJ4.js} +3 -3
  14. package/dist/chunks/{chunk-2LBVX2H3.js → chunk-5DVMXOFT.js} +3 -3
  15. package/dist/chunks/{chunk-YCPUAG77.js → chunk-7NQLRE5V.js} +1 -1
  16. package/dist/chunks/{chunk-JLWQWYKO.js → chunk-BBSS3XIW.js} +2 -4
  17. package/dist/chunks/{chunk-IEDUCUDV.js → chunk-BCZFZETZ.js} +92 -46
  18. package/dist/chunks/{chunk-SJYAUEZR.js → chunk-DAWJOQF6.js} +52 -79
  19. package/dist/chunks/chunk-DEB45ND4.js +61 -0
  20. package/dist/chunks/{chunk-AQDWMAPM.js → chunk-DOMLWKKZ.js} +795 -516
  21. package/dist/chunks/{chunk-EBLH23AQ.js → chunk-F7OXZLY2.js} +6 -9
  22. package/dist/chunks/{chunk-J6LK45HT.js → chunk-GFCTRJI5.js} +16 -2
  23. package/dist/chunks/{chunk-V5P25P7F.js → chunk-GGPE5377.js} +5 -12
  24. package/dist/chunks/{chunk-4LDQIDRM.js → chunk-GMWRTZVZ.js} +9 -1
  25. package/dist/chunks/{chunk-NJUPUGOE.js → chunk-HT2XWSAJ.js} +1 -1
  26. package/dist/chunks/chunk-IKKUCZE7.js +96 -0
  27. package/dist/chunks/chunk-JKQWQA2T.js +39 -0
  28. package/dist/chunks/{chunk-XIG4GH62.js → chunk-JYEO6OJS.js} +188 -102
  29. package/dist/chunks/{chunk-HSYF5SI3.js → chunk-KTLFN5FV.js} +1 -1
  30. package/dist/chunks/{chunk-XPKWKPWA.js → chunk-KXDWXXJH.js} +27 -1
  31. package/dist/chunks/chunk-LNVZ3T7X.js +2908 -0
  32. package/dist/chunks/{chunk-NJ6QXKQD.js → chunk-M34ZRNDQ.js} +1 -1
  33. package/dist/chunks/chunk-MXLA3VQS.js +20 -0
  34. package/dist/chunks/{chunk-2SFMOCWR.js → chunk-PD7ZUXE7.js} +1 -1
  35. package/dist/chunks/chunk-QCVKGY2A.js +151 -0
  36. package/dist/chunks/{chunk-XE5VSQ25.js → chunk-QD5NX7RG.js} +1 -1
  37. package/dist/chunks/{chunk-4N7XLXM2.js → chunk-QQ6PH4RY.js} +1 -0
  38. package/dist/chunks/{chunk-A5KP5HAI.js → chunk-RIB4S2IB.js} +10 -1
  39. package/dist/chunks/{chunk-ZX2FSPWV.js → chunk-SJQEGGH7.js} +4 -4
  40. package/dist/chunks/{chunk-3QAUXPIR.js → chunk-SOKQBFF7.js} +1128 -162
  41. package/dist/chunks/chunk-SQGMTRZD.js +1385 -0
  42. package/dist/chunks/{chunk-TJJ562C5.js → chunk-TJLBCLEX.js} +15 -0
  43. package/dist/chunks/{chunk-62MH5KPX.js → chunk-TM3F7PLR.js} +7 -7
  44. package/dist/chunks/{chunk-2WILSD7J.js → chunk-TNKRSTMB.js} +1 -1
  45. package/dist/chunks/{chunk-4UYKSYKQ.js → chunk-UMA66MKW.js} +66 -2
  46. package/dist/chunks/{chunk-KT4XXKJK.js → chunk-VAFU7DXZ.js} +195 -3
  47. package/dist/chunks/{chunk-RQ7H43CJ.js → chunk-VDJN4WKH.js} +1 -1
  48. package/dist/chunks/{chunk-4CCY5OPH.js → chunk-VE545BR3.js} +5039 -3119
  49. package/dist/chunks/{chunk-B3JTF4CF.js → chunk-WC7IINFV.js} +10 -1
  50. package/dist/chunks/{chunk-YDUINEII.js → chunk-XZLI27ES.js} +7 -5
  51. package/dist/chunks/{chunk-4BUPRO5B.js → chunk-ZUVJISHS.js} +3 -3
  52. package/dist/chunks/{clear-HWIKQ4NC.js → clear-Z4IKUIN7.js} +8 -8
  53. package/dist/chunks/{compile-vercel-config-U5NRIMZ2.js → compile-vercel-config-PSVXFAZW.js} +4 -4
  54. package/dist/chunks/config-M5GMZ2X5.js +159 -0
  55. package/dist/chunks/{constants-3FSSR6E7.js → constants-YMCRE6IG.js} +5 -3
  56. package/dist/chunks/{delete-NVMGVD5Z.js → delete-5GRRDJSF.js} +5 -5
  57. package/dist/chunks/{delete-FZCOUFGN.js → delete-P4XIBY7T.js} +8 -8
  58. package/dist/chunks/{disable-ERM2BWEQ.js → disable-NT5NYVO7.js} +5 -5
  59. package/dist/chunks/{discard-KM5OLEN4.js → discard-TBNIEAJZ.js} +5 -5
  60. package/dist/chunks/{edit-HT3UTATZ.js → edit-DJ6MT6HA.js} +6 -6
  61. package/dist/chunks/{edit-TOSB2EMI.js → edit-UF3D2CCH.js} +9 -9
  62. package/dist/chunks/{enable-BQL6AOQV.js → enable-JTQBQMBO.js} +5 -5
  63. package/dist/chunks/{export-UOWQHOG3.js → export-OKMRGRVM.js} +5 -5
  64. package/dist/chunks/{image-F5SC6Q7Y.js → image-ARUJH4H5.js} +4 -4
  65. package/dist/chunks/import-builders-3NTMZM64.js +30 -0
  66. package/dist/chunks/{inspect-PZJM2CWT.js → inspect-5NETOGAI.js} +11 -12
  67. package/dist/chunks/{inspect-GKJ6T5H4.js → inspect-CHFKZKKP.js} +8 -8
  68. package/dist/chunks/{inspect-LGKOLH2O.js → inspect-FXZTQY62.js} +9 -9
  69. package/dist/chunks/{inspect-35FU5R62.js → inspect-PTXIBSYW.js} +11 -11
  70. package/dist/chunks/{inspect-5J5GSTOB.js → inspect-UXP2HDES.js} +8 -8
  71. package/dist/chunks/{list-2IIE7CAP.js → list-2WMIVJ2R.js} +31 -15
  72. package/dist/chunks/{list-ITFJYYQ2.js → list-ADI55WKW.js} +13 -14
  73. package/dist/chunks/{list-KZETH3ZE.js → list-DYCZA2VX.js} +6 -6
  74. package/dist/chunks/{login-BQPJCJEZ.js → login-YCSIQG6B.js} +11 -11
  75. package/dist/chunks/{ls-UXUEP54B.js → ls-2TKUIUK4.js} +14 -15
  76. package/dist/chunks/{ls-YSFWSM6J.js → ls-EOMIQLRH.js} +14 -15
  77. package/dist/chunks/{ls-7GHDK4MD.js → ls-PQFDGOJL.js} +17 -18
  78. package/dist/chunks/{ls-DL2LA35C.js → ls-RZVTIP5U.js} +14 -15
  79. package/dist/chunks/{ls-ZZFLH7PK.js → ls-VIOMDUGW.js} +17 -18
  80. package/dist/chunks/{open-ADNJQN5E.js → open-JYPWOXQD.js} +7 -7
  81. package/dist/chunks/{permissions-72SZCBIY.js → permissions-SGJWGEVD.js} +6 -6
  82. package/dist/chunks/{publish-OOAGSEBM.js → publish-ZUQHJAXL.js} +5 -5
  83. package/dist/chunks/{push-B6TZDXNF.js → push-XMVKG5A5.js} +11 -11
  84. package/dist/chunks/{query-LZWS5TDH.js → query-ZLJZEGZB.js} +240 -52
  85. package/dist/chunks/{reorder-MRHFKPMK.js → reorder-NVHDWMRU.js} +5 -5
  86. package/dist/chunks/{reply-BKTJXO3B.js → reply-PUUPUQ3V.js} +9 -9
  87. package/dist/chunks/{resolve-BKVGSGPN.js → resolve-5U2LJVE6.js} +8 -8
  88. package/dist/chunks/{restore-USR7SKWV.js → restore-OXIUY2UI.js} +5 -5
  89. package/dist/chunks/{rm-2UO6BT3A.js → rm-3IOCBNPE.js} +9 -9
  90. package/dist/chunks/{rm-37MKKV3I.js → rm-BZNKJRXU.js} +8 -8
  91. package/dist/chunks/{rm-VY3OHKFH.js → rm-OUI4ZB5R.js} +8 -8
  92. package/dist/chunks/{rm-KUWPNZIS.js → rm-Z2KYJ7XT.js} +11 -11
  93. package/dist/chunks/{rule-inspect-JVDOOTWK.js → rule-inspect-ZBJJCDQV.js} +17 -25
  94. package/dist/chunks/{rules-NTBFZBIF.js → rules-HEGAXXUN.js} +10 -7
  95. package/dist/chunks/{schema-6EZ72OVH.js → schema-7GVL3BNP.js} +65 -33
  96. package/dist/chunks/schema-ZYIJYA2E.js +425 -0
  97. package/dist/chunks/{tags-HNPC63QA.js → tags-3SCWCMNQ.js} +3 -3
  98. package/dist/chunks/{types-QTOA2BTQ.js → types-AJHILHO5.js} +3 -5
  99. package/dist/chunks/{update-LUYWNZP3.js → update-YR2GCCJN.js} +40 -9
  100. package/dist/commands/build/index.js +282 -2932
  101. package/dist/commands/deploy/index.js +397 -84
  102. package/dist/commands/dev/index.js +339 -194
  103. package/dist/commands/env/index.js +101 -163
  104. package/dist/commands/link/index.js +17 -23
  105. package/dist/commands/list/index.js +11 -13
  106. package/dist/commands-bulk.js +10189 -4062
  107. package/dist/help.js +1 -1
  108. package/dist/index.js +141 -114
  109. package/dist/vc.js +18 -17
  110. package/dist/version.mjs +2 -1
  111. package/package.json +80 -77
  112. package/dist/chunks/chunk-2FMPLU44.js +0 -106
  113. package/dist/chunks/chunk-2MAPZXVV.js +0 -206
  114. package/dist/chunks/chunk-CPFNFVCL.js +0 -85
  115. package/dist/chunks/chunk-GFG6QDIE.js +0 -101
  116. package/dist/chunks/chunk-KBEX5MYS.js +0 -208
  117. package/dist/chunks/chunk-UE3JUVUZ.js +0 -1474
  118. package/dist/chunks/{chunk-BUZRVER7.js → chunk-P65EEFTR.js} +3 -3
  119. /package/dist/{commands/dev/next-dev-websocket-shim-preload.cjs → runtime-assets/node-preloads/next-dev-websocket.cjs} +0 -0
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-4CCY5OPH.js";
11
+ } from "./chunk-VE545BR3.js";
12
12
  import {
13
13
  require_dist
14
14
  } from "./chunk-OX7KI3LF.js";
@@ -0,0 +1,559 @@
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
+ loginCommand
9
+ } from "./chunk-SOKQBFF7.js";
10
+ import {
11
+ help
12
+ } from "./chunk-SJQEGGH7.js";
13
+ import {
14
+ login
15
+ } from "./chunk-VE545BR3.js";
16
+ import {
17
+ TelemetryClient
18
+ } from "./chunk-ECCWJHC6.js";
19
+ import {
20
+ printError
21
+ } from "./chunk-VAFU7DXZ.js";
22
+ import {
23
+ parseArguments
24
+ } from "./chunk-XLKFJPMT.js";
25
+ import {
26
+ getFlagsSpecification
27
+ } from "./chunk-SOFC4MLS.js";
28
+ import {
29
+ output_manager_default
30
+ } from "./chunk-OX7KI3LF.js";
31
+ import {
32
+ require_source
33
+ } from "./chunk-S7KYDPEM.js";
34
+ import {
35
+ __commonJS,
36
+ __toESM
37
+ } from "./chunk-TZ2YI2VH.js";
38
+
39
+ // ../../node_modules/.pnpm/ci-info@4.1.0/node_modules/ci-info/vendors.json
40
+ var require_vendors = __commonJS({
41
+ "../../node_modules/.pnpm/ci-info@4.1.0/node_modules/ci-info/vendors.json"(exports, module) {
42
+ module.exports = [
43
+ {
44
+ name: "Agola CI",
45
+ constant: "AGOLA",
46
+ env: "AGOLA_GIT_REF",
47
+ pr: "AGOLA_PULL_REQUEST_ID"
48
+ },
49
+ {
50
+ name: "Appcircle",
51
+ constant: "APPCIRCLE",
52
+ env: "AC_APPCIRCLE",
53
+ pr: {
54
+ env: "AC_GIT_PR",
55
+ ne: "false"
56
+ }
57
+ },
58
+ {
59
+ name: "AppVeyor",
60
+ constant: "APPVEYOR",
61
+ env: "APPVEYOR",
62
+ pr: "APPVEYOR_PULL_REQUEST_NUMBER"
63
+ },
64
+ {
65
+ name: "AWS CodeBuild",
66
+ constant: "CODEBUILD",
67
+ env: "CODEBUILD_BUILD_ARN",
68
+ pr: {
69
+ env: "CODEBUILD_WEBHOOK_EVENT",
70
+ any: [
71
+ "PULL_REQUEST_CREATED",
72
+ "PULL_REQUEST_UPDATED",
73
+ "PULL_REQUEST_REOPENED"
74
+ ]
75
+ }
76
+ },
77
+ {
78
+ name: "Azure Pipelines",
79
+ constant: "AZURE_PIPELINES",
80
+ env: "TF_BUILD",
81
+ pr: {
82
+ BUILD_REASON: "PullRequest"
83
+ }
84
+ },
85
+ {
86
+ name: "Bamboo",
87
+ constant: "BAMBOO",
88
+ env: "bamboo_planKey"
89
+ },
90
+ {
91
+ name: "Bitbucket Pipelines",
92
+ constant: "BITBUCKET",
93
+ env: "BITBUCKET_COMMIT",
94
+ pr: "BITBUCKET_PR_ID"
95
+ },
96
+ {
97
+ name: "Bitrise",
98
+ constant: "BITRISE",
99
+ env: "BITRISE_IO",
100
+ pr: "BITRISE_PULL_REQUEST"
101
+ },
102
+ {
103
+ name: "Buddy",
104
+ constant: "BUDDY",
105
+ env: "BUDDY_WORKSPACE_ID",
106
+ pr: "BUDDY_EXECUTION_PULL_REQUEST_ID"
107
+ },
108
+ {
109
+ name: "Buildkite",
110
+ constant: "BUILDKITE",
111
+ env: "BUILDKITE",
112
+ pr: {
113
+ env: "BUILDKITE_PULL_REQUEST",
114
+ ne: "false"
115
+ }
116
+ },
117
+ {
118
+ name: "CircleCI",
119
+ constant: "CIRCLE",
120
+ env: "CIRCLECI",
121
+ pr: "CIRCLE_PULL_REQUEST"
122
+ },
123
+ {
124
+ name: "Cirrus CI",
125
+ constant: "CIRRUS",
126
+ env: "CIRRUS_CI",
127
+ pr: "CIRRUS_PR"
128
+ },
129
+ {
130
+ name: "Codefresh",
131
+ constant: "CODEFRESH",
132
+ env: "CF_BUILD_ID",
133
+ pr: {
134
+ any: [
135
+ "CF_PULL_REQUEST_NUMBER",
136
+ "CF_PULL_REQUEST_ID"
137
+ ]
138
+ }
139
+ },
140
+ {
141
+ name: "Codemagic",
142
+ constant: "CODEMAGIC",
143
+ env: "CM_BUILD_ID",
144
+ pr: "CM_PULL_REQUEST"
145
+ },
146
+ {
147
+ name: "Codeship",
148
+ constant: "CODESHIP",
149
+ env: {
150
+ CI_NAME: "codeship"
151
+ }
152
+ },
153
+ {
154
+ name: "Drone",
155
+ constant: "DRONE",
156
+ env: "DRONE",
157
+ pr: {
158
+ DRONE_BUILD_EVENT: "pull_request"
159
+ }
160
+ },
161
+ {
162
+ name: "dsari",
163
+ constant: "DSARI",
164
+ env: "DSARI"
165
+ },
166
+ {
167
+ name: "Earthly",
168
+ constant: "EARTHLY",
169
+ env: "EARTHLY_CI"
170
+ },
171
+ {
172
+ name: "Expo Application Services",
173
+ constant: "EAS",
174
+ env: "EAS_BUILD"
175
+ },
176
+ {
177
+ name: "Gerrit",
178
+ constant: "GERRIT",
179
+ env: "GERRIT_PROJECT"
180
+ },
181
+ {
182
+ name: "Gitea Actions",
183
+ constant: "GITEA_ACTIONS",
184
+ env: "GITEA_ACTIONS"
185
+ },
186
+ {
187
+ name: "GitHub Actions",
188
+ constant: "GITHUB_ACTIONS",
189
+ env: "GITHUB_ACTIONS",
190
+ pr: {
191
+ GITHUB_EVENT_NAME: "pull_request"
192
+ }
193
+ },
194
+ {
195
+ name: "GitLab CI",
196
+ constant: "GITLAB",
197
+ env: "GITLAB_CI",
198
+ pr: "CI_MERGE_REQUEST_ID"
199
+ },
200
+ {
201
+ name: "GoCD",
202
+ constant: "GOCD",
203
+ env: "GO_PIPELINE_LABEL"
204
+ },
205
+ {
206
+ name: "Google Cloud Build",
207
+ constant: "GOOGLE_CLOUD_BUILD",
208
+ env: "BUILDER_OUTPUT"
209
+ },
210
+ {
211
+ name: "Harness CI",
212
+ constant: "HARNESS",
213
+ env: "HARNESS_BUILD_ID"
214
+ },
215
+ {
216
+ name: "Heroku",
217
+ constant: "HEROKU",
218
+ env: {
219
+ env: "NODE",
220
+ includes: "/app/.heroku/node/bin/node"
221
+ }
222
+ },
223
+ {
224
+ name: "Hudson",
225
+ constant: "HUDSON",
226
+ env: "HUDSON_URL"
227
+ },
228
+ {
229
+ name: "Jenkins",
230
+ constant: "JENKINS",
231
+ env: [
232
+ "JENKINS_URL",
233
+ "BUILD_ID"
234
+ ],
235
+ pr: {
236
+ any: [
237
+ "ghprbPullId",
238
+ "CHANGE_ID"
239
+ ]
240
+ }
241
+ },
242
+ {
243
+ name: "LayerCI",
244
+ constant: "LAYERCI",
245
+ env: "LAYERCI",
246
+ pr: "LAYERCI_PULL_REQUEST"
247
+ },
248
+ {
249
+ name: "Magnum CI",
250
+ constant: "MAGNUM",
251
+ env: "MAGNUM"
252
+ },
253
+ {
254
+ name: "Netlify CI",
255
+ constant: "NETLIFY",
256
+ env: "NETLIFY",
257
+ pr: {
258
+ env: "PULL_REQUEST",
259
+ ne: "false"
260
+ }
261
+ },
262
+ {
263
+ name: "Nevercode",
264
+ constant: "NEVERCODE",
265
+ env: "NEVERCODE",
266
+ pr: {
267
+ env: "NEVERCODE_PULL_REQUEST",
268
+ ne: "false"
269
+ }
270
+ },
271
+ {
272
+ name: "Prow",
273
+ constant: "PROW",
274
+ env: "PROW_JOB_ID"
275
+ },
276
+ {
277
+ name: "ReleaseHub",
278
+ constant: "RELEASEHUB",
279
+ env: "RELEASE_BUILD_ID"
280
+ },
281
+ {
282
+ name: "Render",
283
+ constant: "RENDER",
284
+ env: "RENDER",
285
+ pr: {
286
+ IS_PULL_REQUEST: "true"
287
+ }
288
+ },
289
+ {
290
+ name: "Sail CI",
291
+ constant: "SAIL",
292
+ env: "SAILCI",
293
+ pr: "SAIL_PULL_REQUEST_NUMBER"
294
+ },
295
+ {
296
+ name: "Screwdriver",
297
+ constant: "SCREWDRIVER",
298
+ env: "SCREWDRIVER",
299
+ pr: {
300
+ env: "SD_PULL_REQUEST",
301
+ ne: "false"
302
+ }
303
+ },
304
+ {
305
+ name: "Semaphore",
306
+ constant: "SEMAPHORE",
307
+ env: "SEMAPHORE",
308
+ pr: "PULL_REQUEST_NUMBER"
309
+ },
310
+ {
311
+ name: "Sourcehut",
312
+ constant: "SOURCEHUT",
313
+ env: {
314
+ CI_NAME: "sourcehut"
315
+ }
316
+ },
317
+ {
318
+ name: "Strider CD",
319
+ constant: "STRIDER",
320
+ env: "STRIDER"
321
+ },
322
+ {
323
+ name: "TaskCluster",
324
+ constant: "TASKCLUSTER",
325
+ env: [
326
+ "TASK_ID",
327
+ "RUN_ID"
328
+ ]
329
+ },
330
+ {
331
+ name: "TeamCity",
332
+ constant: "TEAMCITY",
333
+ env: "TEAMCITY_VERSION"
334
+ },
335
+ {
336
+ name: "Travis CI",
337
+ constant: "TRAVIS",
338
+ env: "TRAVIS",
339
+ pr: {
340
+ env: "TRAVIS_PULL_REQUEST",
341
+ ne: "false"
342
+ }
343
+ },
344
+ {
345
+ name: "Vela",
346
+ constant: "VELA",
347
+ env: "VELA",
348
+ pr: {
349
+ VELA_PULL_REQUEST: "1"
350
+ }
351
+ },
352
+ {
353
+ name: "Vercel",
354
+ constant: "VERCEL",
355
+ env: {
356
+ any: [
357
+ "NOW_BUILDER",
358
+ "VERCEL"
359
+ ]
360
+ },
361
+ pr: "VERCEL_GIT_PULL_REQUEST_ID"
362
+ },
363
+ {
364
+ name: "Visual Studio App Center",
365
+ constant: "APPCENTER",
366
+ env: "APPCENTER_BUILD_ID"
367
+ },
368
+ {
369
+ name: "Woodpecker",
370
+ constant: "WOODPECKER",
371
+ env: {
372
+ CI: "woodpecker"
373
+ },
374
+ pr: {
375
+ CI_BUILD_EVENT: "pull_request"
376
+ }
377
+ },
378
+ {
379
+ name: "Xcode Cloud",
380
+ constant: "XCODE_CLOUD",
381
+ env: "CI_XCODE_PROJECT",
382
+ pr: "CI_PULL_REQUEST_NUMBER"
383
+ },
384
+ {
385
+ name: "Xcode Server",
386
+ constant: "XCODE_SERVER",
387
+ env: "XCS"
388
+ }
389
+ ];
390
+ }
391
+ });
392
+
393
+ // ../../node_modules/.pnpm/ci-info@4.1.0/node_modules/ci-info/index.js
394
+ var require_ci_info = __commonJS({
395
+ "../../node_modules/.pnpm/ci-info@4.1.0/node_modules/ci-info/index.js"(exports) {
396
+ "use strict";
397
+ var vendors = require_vendors();
398
+ var env = process.env;
399
+ Object.defineProperty(exports, "_vendors", {
400
+ value: vendors.map(function(v) {
401
+ return v.constant;
402
+ })
403
+ });
404
+ exports.name = null;
405
+ exports.isPR = null;
406
+ exports.id = null;
407
+ vendors.forEach(function(vendor) {
408
+ const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env];
409
+ const isCI = envs.every(function(obj) {
410
+ return checkEnv(obj);
411
+ });
412
+ exports[vendor.constant] = isCI;
413
+ if (!isCI) {
414
+ return;
415
+ }
416
+ exports.name = vendor.name;
417
+ exports.isPR = checkPR(vendor);
418
+ exports.id = vendor.constant;
419
+ });
420
+ exports.isCI = !!(env.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
421
+ (env.BUILD_ID || // Jenkins, Cloudbees
422
+ env.BUILD_NUMBER || // Jenkins, TeamCity
423
+ env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari
424
+ env.CI_APP_ID || // Appflow
425
+ env.CI_BUILD_ID || // Appflow
426
+ env.CI_BUILD_NUMBER || // Appflow
427
+ env.CI_NAME || // Codeship and others
428
+ env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
429
+ env.RUN_ID || // TaskCluster, dsari
430
+ exports.name || false));
431
+ function checkEnv(obj) {
432
+ if (typeof obj === "string")
433
+ return !!env[obj];
434
+ if ("env" in obj) {
435
+ return env[obj.env] && env[obj.env].includes(obj.includes);
436
+ }
437
+ if ("any" in obj) {
438
+ return obj.any.some(function(k) {
439
+ return !!env[k];
440
+ });
441
+ }
442
+ return Object.keys(obj).every(function(k) {
443
+ return env[k] === obj[k];
444
+ });
445
+ }
446
+ function checkPR(vendor) {
447
+ switch (typeof vendor.pr) {
448
+ case "string":
449
+ return !!env[vendor.pr];
450
+ case "object":
451
+ if ("env" in vendor.pr) {
452
+ if ("any" in vendor.pr) {
453
+ return vendor.pr.any.some(function(key) {
454
+ return env[vendor.pr.env] === key;
455
+ });
456
+ } else {
457
+ return vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne;
458
+ }
459
+ } else if ("any" in vendor.pr) {
460
+ return vendor.pr.any.some(function(key) {
461
+ return !!env[key];
462
+ });
463
+ } else {
464
+ return checkEnv(vendor.pr);
465
+ }
466
+ default:
467
+ return null;
468
+ }
469
+ }
470
+ }
471
+ });
472
+
473
+ // src/commands/login/index.ts
474
+ var import_chalk = __toESM(require_source(), 1);
475
+
476
+ // src/util/telemetry/commands/login/index.ts
477
+ var LoginTelemetryClient = class extends TelemetryClient {
478
+ /**
479
+ * Tracks the state of the login process.
480
+ * - `started` when the user initiates the login process.
481
+ * - `canceled` when the user cancels the login process.
482
+ * - `error` when the user encounters an error during the login process.
483
+ * - `success` when the user successfully logs in.
484
+ */
485
+ trackState(...args) {
486
+ this.trackLoginState(...args);
487
+ }
488
+ };
489
+
490
+ // src/commands/login/index.ts
491
+ async function login2(client, options) {
492
+ let parsedArgs = null;
493
+ const flagsSpecification = getFlagsSpecification(loginCommand.options);
494
+ const telemetry = new LoginTelemetryClient({
495
+ opts: {
496
+ store: client.telemetryEventStore
497
+ }
498
+ });
499
+ try {
500
+ if (options.shouldParseArgs) {
501
+ parsedArgs = parseArguments(client.argv.slice(2), flagsSpecification);
502
+ }
503
+ } catch (error) {
504
+ printError(error);
505
+ return 1;
506
+ }
507
+ if (parsedArgs?.flags["--help"]) {
508
+ telemetry.trackCliFlagHelp("login");
509
+ output_manager_default.print(help(loginCommand, { columns: client.stderr.columns }));
510
+ return 0;
511
+ }
512
+ if (parsedArgs?.flags["--token"]) {
513
+ output_manager_default.error('`--token` may not be used with the "login" command');
514
+ return 2;
515
+ }
516
+ if (options.shouldParseArgs && parsedArgs) {
517
+ const obsoleteFlags = Object.keys(parsedArgs.flags).filter((flag) => {
518
+ const flagKey = flag.replace("--", "");
519
+ const option = loginCommand.options.find((o) => o.name === flagKey);
520
+ if (!option || typeof option === "number")
521
+ return;
522
+ return "deprecated" in option && option.deprecated;
523
+ });
524
+ if (obsoleteFlags.length) {
525
+ const flags = obsoleteFlags.map((f) => import_chalk.default.bold(f)).join(", ");
526
+ output_manager_default.warn(`The following flags are deprecated: ${flags}`);
527
+ }
528
+ const obsoleteArguments = parsedArgs.args.slice(1);
529
+ if (obsoleteArguments.length) {
530
+ const args = obsoleteArguments.map((a) => import_chalk.default.bold(a)).join(", ");
531
+ output_manager_default.warn(`The following arguments are deprecated: ${args}`);
532
+ }
533
+ if (obsoleteArguments.length || obsoleteFlags.length) {
534
+ output_manager_default.print(
535
+ `Read more in our ${output_manager_default.link("changelog", "https://vercel.com/changelog/new-vercel-cli-login-flow")}.
536
+ `
537
+ );
538
+ }
539
+ }
540
+ telemetry.trackState("started");
541
+ return await login(client, telemetry, options.shouldParseArgs);
542
+ }
543
+
544
+ // src/util/output/progress.ts
545
+ function progress(current, total, opts = {}) {
546
+ const { width = 20, complete = "=", incomplete = "-" } = opts;
547
+ if (total <= 0 || current < 0 || current > total) {
548
+ return null;
549
+ }
550
+ const unit = total / width;
551
+ const pos = Math.floor(current / unit);
552
+ return `${complete.repeat(pos)}${incomplete.repeat(width - pos)}`;
553
+ }
554
+
555
+ export {
556
+ progress,
557
+ require_ci_info,
558
+ login2 as login
559
+ };
@@ -6,17 +6,17 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveAlertsScope
9
- } from "./chunk-YDUINEII.js";
9
+ } from "./chunk-XZLI27ES.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
13
13
  validateAllProjectMutualExclusivity
14
- } from "./chunk-BUZRVER7.js";
14
+ } from "./chunk-P65EEFTR.js";
15
15
  import {
16
16
  AGENT_REASON,
17
17
  buildCommandWithGlobalFlags,
18
18
  outputAgentError
19
- } from "./chunk-TJJ562C5.js";
19
+ } from "./chunk-TJLBCLEX.js";
20
20
 
21
21
  // src/commands/alerts/rules/parse-scope.ts
22
22
  async function parseRulesFlagsAndScope(client, flags, jsonOutput, command = "alerts rules ls") {
@@ -6,15 +6,15 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  outputError
9
- } from "./chunk-BUZRVER7.js";
9
+ } from "./chunk-P65EEFTR.js";
10
10
  import {
11
11
  getLinkedProject,
12
12
  getProjectByNameOrId,
13
13
  getScope
14
- } from "./chunk-4CCY5OPH.js";
14
+ } from "./chunk-VE545BR3.js";
15
15
  import {
16
16
  printError
17
- } from "./chunk-KBEX5MYS.js";
17
+ } from "./chunk-VAFU7DXZ.js";
18
18
  import {
19
19
  ProjectNotFound,
20
20
  getCommandName,
@@ -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-4CCY5OPH.js";
9
+ } from "./chunk-VE545BR3.js";
10
10
  import {
11
11
  packageName,
12
12
  projectOption,
@@ -5,11 +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
+ require_strip_ansi,
8
9
  table
9
- } from "./chunk-KT4XXKJK.js";
10
- import {
11
- require_strip_ansi
12
- } from "./chunk-KBEX5MYS.js";
10
+ } from "./chunk-VAFU7DXZ.js";
13
11
  import {
14
12
  require_source
15
13
  } from "./chunk-S7KYDPEM.js";