vercel 58.9.4 → 58.10.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 (82) hide show
  1. package/dist/chunks/{add-XFGCONHF.js → add-5KFK4EFH.js} +6 -6
  2. package/dist/chunks/{add-ZZTRLRJT.js → add-NMYLVDBN.js} +2 -2
  3. package/dist/chunks/{add-GCIDCWH7.js → add-W4XR5GYX.js} +2 -2
  4. package/dist/chunks/{build-VVNU4BLE.js → build-BCMSG7TU.js} +2 -2
  5. package/dist/chunks/{chunk-NCPOQOZ2.js → chunk-2J7BL7IF.js} +2 -2
  6. package/dist/chunks/{chunk-UA6KSQA7.js → chunk-2SEBBSKD.js} +1 -1
  7. package/dist/chunks/{chunk-6RVEMCWL.js → chunk-5MERQE7H.js} +1 -1
  8. package/dist/chunks/{chunk-4ZDDOMUT.js → chunk-6SXIT6Q3.js} +2 -2
  9. package/dist/chunks/{chunk-473IQJL4.js → chunk-6WWATEWK.js} +1 -1
  10. package/dist/chunks/{chunk-6WHBYHIB.js → chunk-7RUZPHW7.js} +1 -1
  11. package/dist/chunks/{chunk-5KY7ORFF.js → chunk-AZCZV4XI.js} +1 -1
  12. package/dist/chunks/{chunk-IV3BQDT2.js → chunk-BZGIBXY6.js} +1 -1
  13. package/dist/chunks/{chunk-HDKQ66NL.js → chunk-CLUCO4RD.js} +92 -2
  14. package/dist/chunks/{chunk-TPNM2IBA.js → chunk-DQDAQYQI.js} +1 -1
  15. package/dist/chunks/{chunk-PSYZGH6M.js → chunk-ELJ56NBY.js} +1 -1
  16. package/dist/chunks/{chunk-F2PRLQ37.js → chunk-H25BISPQ.js} +4 -4
  17. package/dist/chunks/{chunk-3GTCSDQR.js → chunk-IBIZT5M4.js} +1 -34
  18. package/dist/chunks/{chunk-U2HFLQVO.js → chunk-KUZCVMVA.js} +3 -4
  19. package/dist/chunks/{chunk-5OWYFCOQ.js → chunk-L6BFCLXF.js} +9 -32
  20. package/dist/chunks/{chunk-R67YCGGV.js → chunk-MAZ2BUBX.js} +2 -2
  21. package/dist/chunks/{chunk-K43NT7QG.js → chunk-MGCBTAA7.js} +1 -1
  22. package/dist/chunks/{chunk-VJCN2M7S.js → chunk-N5YCPDWG.js} +1 -1
  23. package/dist/chunks/{chunk-QLZKPGI4.js → chunk-NDOZRKTB.js} +1 -1
  24. package/dist/chunks/{chunk-ZI4J4CQ4.js → chunk-PTZ6X4P4.js} +1 -1
  25. package/dist/chunks/{chunk-4EN73Q5Q.js → chunk-TNKTZDOL.js} +1 -1
  26. package/dist/chunks/{chunk-3RVAJBTW.js → chunk-U4LWFSR4.js} +1 -1
  27. package/dist/chunks/{chunk-HXZFIIDG.js → chunk-UDHYVIJL.js} +4 -4
  28. package/dist/chunks/{clear-FEV6EGAS.js → clear-54WX3NA2.js} +2 -2
  29. package/dist/chunks/{compile-vercel-config-QSZ7JDCG.js → compile-vercel-config-LSW4TWGX.js} +1 -1
  30. package/dist/chunks/{config-3BEFAQQU.js → config-WXQTPQW7.js} +2 -2
  31. package/dist/chunks/{delete-IYAGVXU6.js → delete-HQMI44SG.js} +2 -2
  32. package/dist/chunks/{delete-QYUDDZD2.js → delete-OGP3RVWM.js} +2 -2
  33. package/dist/chunks/{disable-D4WNCZ4Z.js → disable-HC266OB7.js} +2 -2
  34. package/dist/chunks/{discard-YFBRDG2N.js → discard-3RFIPLXY.js} +2 -2
  35. package/dist/chunks/{edit-TWPSJUE4.js → edit-NXPQFWM6.js} +3 -3
  36. package/dist/chunks/{edit-3IUCXLNZ.js → edit-TZOCRGG6.js} +2 -2
  37. package/dist/chunks/{enable-XJ7JMETR.js → enable-OGFRN4CG.js} +2 -2
  38. package/dist/chunks/{export-GJ6XQQFA.js → export-AEESZFZX.js} +2 -2
  39. package/dist/chunks/{image-SXRSCUP3.js → image-EIAO7LVN.js} +3 -3
  40. package/dist/chunks/{import-builders-QITJL2IG.js → import-builders-KCQLA2YR.js} +2 -2
  41. package/dist/chunks/{inspect-FAJ7BQOB.js → inspect-EM34BOTE.js} +3 -3
  42. package/dist/chunks/{inspect-H2HA6RZQ.js → inspect-HHSDXTII.js} +2 -2
  43. package/dist/chunks/{inspect-U5SNE5AC.js → inspect-MGIECVLH.js} +2 -2
  44. package/dist/chunks/{inspect-DXYEEYSF.js → inspect-RUGPLO7A.js} +2 -2
  45. package/dist/chunks/{inspect-SMDJWUBZ.js → inspect-TTHC6L7Q.js} +2 -2
  46. package/dist/chunks/{list-YR65RN5B.js → list-A74MGEOB.js} +2 -2
  47. package/dist/chunks/{list-MTOKP2AP.js → list-EOG3TYBE.js} +1 -1
  48. package/dist/chunks/{list-FONLZ3YO.js → list-GQDUIRBU.js} +3 -3
  49. package/dist/chunks/{login-DKKJWEM5.js → login-L4EWZOGH.js} +2 -2
  50. package/dist/chunks/{ls-LS475P45.js → ls-D5ESYWG5.js} +2 -2
  51. package/dist/chunks/{ls-DI6AQCB4.js → ls-F6WCPVB7.js} +2 -2
  52. package/dist/chunks/{ls-ORTO6EFA.js → ls-OJGSWVWO.js} +2 -2
  53. package/dist/chunks/{ls-4CRKYKH7.js → ls-OWHNAGNT.js} +2 -2
  54. package/dist/chunks/{ls-XO2VXFTI.js → ls-VBFBWSWD.js} +3 -3
  55. package/dist/chunks/{open-2P4ZZTJD.js → open-FHER5QV2.js} +2 -2
  56. package/dist/chunks/{permissions-PTW7BRVE.js → permissions-JSXC7BRD.js} +4 -4
  57. package/dist/chunks/{publish-IRGV2FST.js → publish-CM6ZGWIE.js} +2 -2
  58. package/dist/chunks/{push-3OY5CP5F.js → push-5NYG7HIR.js} +2 -2
  59. package/dist/chunks/{query-DLYCIOU6.js → query-5GQLF2BR.js} +1 -1
  60. package/dist/chunks/{reorder-J2TPPT62.js → reorder-5GCNY75W.js} +2 -2
  61. package/dist/chunks/{reply-QZWESDIB.js → reply-B2XCK5XR.js} +2 -2
  62. package/dist/chunks/{resolve-HSW2EFLZ.js → resolve-YQP5C2QY.js} +2 -2
  63. package/dist/chunks/{restore-DFLBJZFM.js → restore-VHX4JV5J.js} +2 -2
  64. package/dist/chunks/{rm-FAPEWTLO.js → rm-AUUT2YIT.js} +2 -2
  65. package/dist/chunks/{rm-G5JC3V3B.js → rm-OILUGCTW.js} +2 -2
  66. package/dist/chunks/{rm-QKGA6HFJ.js → rm-QVVQDCDX.js} +3 -3
  67. package/dist/chunks/{rm-NIRLLUDU.js → rm-VDFSX3LH.js} +2 -2
  68. package/dist/chunks/{rule-inspect-LKKYOQN7.js → rule-inspect-LKTUPW4B.js} +3 -3
  69. package/dist/chunks/{rules-DNPBXPCT.js → rules-J5JM5VFQ.js} +6 -6
  70. package/dist/chunks/{schema-E4EWRSGN.js → schema-OIKSCLDU.js} +1 -1
  71. package/dist/chunks/{tags-IO73I6MR.js → tags-AMTMNRLQ.js} +2 -2
  72. package/dist/chunks/{update-CFCAOSLN.js → update-AFL3GHKB.js} +6 -6
  73. package/dist/commands/build/index.js +10 -10
  74. package/dist/commands/deploy/index.js +12 -17
  75. package/dist/commands/dev/index.js +39 -13
  76. package/dist/commands/env/index.js +4 -4
  77. package/dist/commands/link/index.js +6 -6
  78. package/dist/commands/list/index.js +2 -2
  79. package/dist/commands-bulk.js +463 -147
  80. package/dist/index.js +8 -8
  81. package/dist/version.mjs +1 -1
  82. package/package.json +19 -19
@@ -8,21 +8,21 @@ import {
8
8
  parseCustomAlertQueryBody,
9
9
  resolveCustomAlertProjectName,
10
10
  setMissingCustomAlertProjectScope
11
- } from "./chunk-NCPOQOZ2.js";
11
+ } from "./chunk-2J7BL7IF.js";
12
12
  import {
13
13
  emitRulesArgParseError,
14
14
  handleRulesApiError,
15
15
  parseRulesFlagsAndScope,
16
16
  rulesCollectionPath
17
- } from "./chunk-6WHBYHIB.js";
17
+ } from "./chunk-7RUZPHW7.js";
18
18
  import {
19
19
  isCustomAlertRule
20
20
  } from "./chunk-TEQKKTJQ.js";
21
- import "./chunk-TPNM2IBA.js";
21
+ import "./chunk-DQDAQYQI.js";
22
22
  import "./chunk-A3NYPUKZ.js";
23
23
  import "./chunk-P65EEFTR.js";
24
24
  import "./chunk-FGDKMNEN.js";
25
- import "./chunk-R67YCGGV.js";
25
+ import "./chunk-MAZ2BUBX.js";
26
26
  import "./chunk-JKQWQA2T.js";
27
27
  import "./chunk-RQ7H43CJ.js";
28
28
  import {
@@ -31,9 +31,9 @@ import {
31
31
  import {
32
32
  rulesAddSubcommand
33
33
  } from "./chunk-UMA66MKW.js";
34
- import "./chunk-K43NT7QG.js";
34
+ import "./chunk-MGCBTAA7.js";
35
35
  import "./chunk-KT4XXKJK.js";
36
- import "./chunk-3GTCSDQR.js";
36
+ import "./chunk-IBIZT5M4.js";
37
37
  import "./chunk-ECCWJHC6.js";
38
38
  import {
39
39
  AGENT_REASON,
@@ -9,7 +9,7 @@ import {
9
9
  handleVcrApiError,
10
10
  resolveVcrScope,
11
11
  validateVcrJsonOutput
12
- } from "./chunk-473IQJL4.js";
12
+ } from "./chunk-6WWATEWK.js";
13
13
  import "./chunk-G75NFPIT.js";
14
14
  import {
15
15
  outputError
@@ -22,7 +22,7 @@ import "./chunk-B3JTF4CF.js";
22
22
  import "./chunk-A5KP5HAI.js";
23
23
  import "./chunk-J6LK45HT.js";
24
24
  import "./chunk-R6IGDGX3.js";
25
- import "./chunk-3GTCSDQR.js";
25
+ import "./chunk-IBIZT5M4.js";
26
26
  import "./chunk-ECCWJHC6.js";
27
27
  import {
28
28
  AGENT_REASON,
@@ -17,7 +17,7 @@ import {
17
17
  emitVcrArgParseError,
18
18
  resolveVcrScope,
19
19
  validateVcrJsonOutput
20
- } from "./chunk-473IQJL4.js";
20
+ } from "./chunk-6WWATEWK.js";
21
21
  import "./chunk-G75NFPIT.js";
22
22
  import {
23
23
  outputError
@@ -27,7 +27,7 @@ import {
27
27
  permissionsAddSubcommand
28
28
  } from "./chunk-J6LK45HT.js";
29
29
  import "./chunk-R6IGDGX3.js";
30
- import "./chunk-3GTCSDQR.js";
30
+ import "./chunk-IBIZT5M4.js";
31
31
  import "./chunk-ECCWJHC6.js";
32
32
  import {
33
33
  AGENT_REASON,
@@ -23,7 +23,7 @@ import {
23
23
  runEngine,
24
24
  splitPassthrough,
25
25
  validateVcrChoice
26
- } from "./chunk-473IQJL4.js";
26
+ } from "./chunk-6WWATEWK.js";
27
27
  import "./chunk-G75NFPIT.js";
28
28
  import {
29
29
  outputError
@@ -36,7 +36,7 @@ import "./chunk-B3JTF4CF.js";
36
36
  import "./chunk-A5KP5HAI.js";
37
37
  import "./chunk-J6LK45HT.js";
38
38
  import "./chunk-R6IGDGX3.js";
39
- import "./chunk-3GTCSDQR.js";
39
+ import "./chunk-IBIZT5M4.js";
40
40
  import "./chunk-ECCWJHC6.js";
41
41
  import {
42
42
  AGENT_REASON,
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  isJSONObject
9
- } from "./chunk-R67YCGGV.js";
9
+ } from "./chunk-MAZ2BUBX.js";
10
10
  import {
11
11
  getProjectByNameOrId
12
- } from "./chunk-3GTCSDQR.js";
12
+ } from "./chunk-IBIZT5M4.js";
13
13
  import {
14
14
  AGENT_REASON,
15
15
  outputAgentError
@@ -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-3GTCSDQR.js";
9
+ } from "./chunk-IBIZT5M4.js";
10
10
  import {
11
11
  packageName,
12
12
  projectOption,
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-3GTCSDQR.js";
11
+ } from "./chunk-IBIZT5M4.js";
12
12
  import {
13
13
  require_dist
14
14
  } from "./chunk-OX7KI3LF.js";
@@ -8,7 +8,7 @@ import {
8
8
  getLocalPathConfig,
9
9
  isPromptBackError,
10
10
  isPromptCanceledError
11
- } from "./chunk-K43NT7QG.js";
11
+ } from "./chunk-MGCBTAA7.js";
12
12
  import {
13
13
  table
14
14
  } from "./chunk-KT4XXKJK.js";
@@ -49,7 +49,7 @@ import {
49
49
  selectAndParseRemoteUrl,
50
50
  selectOrg,
51
51
  writeServicesConfig
52
- } from "./chunk-3GTCSDQR.js";
52
+ } from "./chunk-IBIZT5M4.js";
53
53
  import {
54
54
  printError
55
55
  } from "./chunk-KBEX5MYS.js";
@@ -20,7 +20,7 @@ import {
20
20
  getLinkedProject,
21
21
  getProjectByNameOrId,
22
22
  getScope
23
- } from "./chunk-3GTCSDQR.js";
23
+ } from "./chunk-IBIZT5M4.js";
24
24
  import {
25
25
  AGENT_REASON,
26
26
  buildCommandWithGlobalFlags,
@@ -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-TPNM2IBA.js";
9
+ } from "./chunk-DQDAQYQI.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -8,7 +8,7 @@ import {
8
8
  formatCondition,
9
9
  formatTransform,
10
10
  isTargetTransform
11
- } from "./chunk-IV3BQDT2.js";
11
+ } from "./chunk-BZGIBXY6.js";
12
12
  import {
13
13
  output_manager_default
14
14
  } from "./chunk-OX7KI3LF.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveProjectContext
9
- } from "./chunk-3GTCSDQR.js";
9
+ } from "./chunk-IBIZT5M4.js";
10
10
  import {
11
11
  AGENT_REASON,
12
12
  AGENT_STATUS,
@@ -31,10 +31,10 @@ import {
31
31
  import {
32
32
  buildCommand,
33
33
  pullCommand
34
- } from "./chunk-UA6KSQA7.js";
34
+ } from "./chunk-2SEBBSKD.js";
35
35
  import {
36
36
  envCommand
37
- } from "./chunk-3GTCSDQR.js";
37
+ } from "./chunk-IBIZT5M4.js";
38
38
  import {
39
39
  confirmOption,
40
40
  deploymentOption,
@@ -10659,6 +10659,94 @@ var getSubcommand3 = {
10659
10659
  ],
10660
10660
  examples: []
10661
10661
  };
10662
+ var putImageSubcommand = {
10663
+ name: "put-image",
10664
+ aliases: [],
10665
+ description: "Optimize an image with Vercel Image Optimization and store the result in the Blob store (requires OIDC credentials)",
10666
+ arguments: [
10667
+ {
10668
+ name: "pathToFileOrUrl",
10669
+ required: true
10670
+ }
10671
+ ],
10672
+ options: [
10673
+ accessOption,
10674
+ {
10675
+ name: "width",
10676
+ shorthand: "w",
10677
+ type: Number,
10678
+ deprecated: false,
10679
+ description: "Width of the optimized image in pixels, between 1 and 8192 (required)",
10680
+ argument: "NUMBER"
10681
+ },
10682
+ {
10683
+ name: "quality",
10684
+ shorthand: "q",
10685
+ type: Number,
10686
+ deprecated: false,
10687
+ description: "Quality of the optimized image, between 1 and 100 (default: 75)",
10688
+ argument: "NUMBER"
10689
+ },
10690
+ {
10691
+ name: "format",
10692
+ shorthand: "F",
10693
+ type: String,
10694
+ deprecated: false,
10695
+ description: "Output format: jpeg, png, webp, or avif. Keeps the original format when omitted",
10696
+ argument: "FORMAT",
10697
+ choices: ["jpeg", "png", "webp", "avif"]
10698
+ },
10699
+ {
10700
+ name: "pathname",
10701
+ shorthand: "p",
10702
+ type: String,
10703
+ deprecated: false,
10704
+ description: "Pathname to store the optimized image at in the Blob store (required)",
10705
+ argument: "String"
10706
+ },
10707
+ {
10708
+ name: "add-random-suffix",
10709
+ shorthand: "r",
10710
+ type: Boolean,
10711
+ deprecated: false,
10712
+ description: "Add a random suffix to the file name (default: false)",
10713
+ argument: "Boolean"
10714
+ },
10715
+ {
10716
+ name: "cache-control-max-age",
10717
+ shorthand: "c",
10718
+ type: Number,
10719
+ deprecated: false,
10720
+ description: "Max-age of the cache-control header directive (default: 2592000 = 30 days)",
10721
+ argument: "Number"
10722
+ },
10723
+ {
10724
+ name: "allow-overwrite",
10725
+ shorthand: null,
10726
+ type: Boolean,
10727
+ deprecated: false,
10728
+ description: "Overwrite the file if it already exists (default: false)",
10729
+ argument: "Boolean"
10730
+ },
10731
+ {
10732
+ name: "json",
10733
+ shorthand: null,
10734
+ type: Boolean,
10735
+ deprecated: false,
10736
+ description: "Output the stored blob as JSON"
10737
+ }
10738
+ ],
10739
+ examples: [
10740
+ {
10741
+ name: "Optimize a local image and upload it",
10742
+ value: "vercel blob put-image photo.png --pathname images/photo.png --width 1200 --access public"
10743
+ },
10744
+ {
10745
+ name: "Optimize an image from a public URL and convert it to WebP",
10746
+ value: "vercel blob put-image https://example.com/hero.png --pathname images/hero.webp --width 800 --quality 60 --format webp --access public"
10747
+ }
10748
+ ]
10749
+ };
10662
10750
  var signedTokenSubcommand = {
10663
10751
  name: "signed-token",
10664
10752
  aliases: [],
@@ -10974,6 +11062,7 @@ var blobCommand = {
10974
11062
  subcommands: [
10975
11063
  listSubcommand20,
10976
11064
  putSubcommand,
11065
+ putImageSubcommand,
10977
11066
  getSubcommand3,
10978
11067
  delSubcommand,
10979
11068
  copySubcommand,
@@ -11507,6 +11596,7 @@ export {
11507
11596
  delSubcommand,
11508
11597
  copySubcommand,
11509
11598
  getSubcommand3,
11599
+ putImageSubcommand,
11510
11600
  signedTokenSubcommand,
11511
11601
  presignSubcommand,
11512
11602
  createStoreSubcommand,
@@ -11,7 +11,7 @@ import {
11
11
  getLinkedProject,
12
12
  getProjectByNameOrId,
13
13
  getScope
14
- } from "./chunk-3GTCSDQR.js";
14
+ } from "./chunk-IBIZT5M4.js";
15
15
  import {
16
16
  AGENT_REASON,
17
17
  buildCommandWithGlobalFlags,
@@ -9,7 +9,7 @@ import {
9
9
  require_dist as require_dist2,
10
10
  require_dist3,
11
11
  require_lib
12
- } from "./chunk-3GTCSDQR.js";
12
+ } from "./chunk-IBIZT5M4.js";
13
13
  import {
14
14
  output_manager_default,
15
15
  require_dist
@@ -7,13 +7,13 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getUpdateCommandInfo,
9
9
  isGlobal
10
- } from "./chunk-QLZKPGI4.js";
10
+ } from "./chunk-NDOZRKTB.js";
11
11
  import {
12
12
  progress
13
13
  } from "./chunk-I2XE3GMB.js";
14
14
  import {
15
15
  writeToConfigFile
16
- } from "./chunk-R67YCGGV.js";
16
+ } from "./chunk-MAZ2BUBX.js";
17
17
  import {
18
18
  getGlobalPathConfig
19
19
  } from "./chunk-JKQWQA2T.js";
@@ -24,7 +24,7 @@ import {
24
24
  apiCommand,
25
25
  listSubcommand4 as listSubcommand,
26
26
  loginCommand
27
- } from "./chunk-HDKQ66NL.js";
27
+ } from "./chunk-CLUCO4RD.js";
28
28
  import {
29
29
  require_semver
30
30
  } from "./chunk-IB5L4LKZ.js";
@@ -37,7 +37,7 @@ import {
37
37
  require_mkdirp,
38
38
  require_pump,
39
39
  require_tar_stream
40
- } from "./chunk-3GTCSDQR.js";
40
+ } from "./chunk-IBIZT5M4.js";
41
41
  import {
42
42
  TelemetryClient,
43
43
  isNativeBinaryInstall
@@ -58946,7 +58946,7 @@ function createDetectEntrypoint(projectRoot) {
58946
58946
  };
58947
58947
  }
58948
58948
  async function loadBuilderDetectEntrypoint(name, projectRoot) {
58949
- const { importBuilders } = await import("./import-builders-QITJL2IG.js");
58949
+ const { importBuilders } = await import("./import-builders-KCQLA2YR.js");
58950
58950
  const builders = await importBuilders(/* @__PURE__ */ new Set([name]), projectRoot);
58951
58951
  const loaded = builders.get(name);
58952
58952
  if (!loaded) {
@@ -59170,9 +59170,6 @@ var VERCEL_DIR_REPO = "repo.json";
59170
59170
  function isOwnerLookupUnavailableLink(link) {
59171
59171
  return "ownerLookupUnavailable" in link && link.ownerLookupUnavailable === true;
59172
59172
  }
59173
- function isOrgSlugUnavailableLink(link) {
59174
- return "orgSlugUnavailable" in link && link.orgSlugUnavailable === true;
59175
- }
59176
59173
  function isOwnerLookupUnavailableError(error) {
59177
59174
  return isAPIError(error) && error.status === 403 && error.code === "team_unauthorized";
59178
59175
  }
@@ -59280,7 +59277,6 @@ async function getProjectLinkFromRepoLink(client, path, projectName, projectName
59280
59277
  repoRoot: repoLink.rootPath,
59281
59278
  orgId,
59282
59279
  projectId: project.id,
59283
- projectName: project.name,
59284
59280
  projectRootDirectory: project.directory
59285
59281
  };
59286
59282
  }
@@ -59412,34 +59408,6 @@ async function getLinkedProject(client, options = {}) {
59412
59408
  if (!link) {
59413
59409
  return { status: "not_linked", org: null, project: null, orgId };
59414
59410
  }
59415
- if (options.skipRemoteLookup && link.projectName) {
59416
- const settings = link.settings;
59417
- const project2 = {
59418
- ...settings,
59419
- id: link.projectId,
59420
- accountId: link.orgId,
59421
- name: link.projectName,
59422
- createdAt: settings?.createdAt ?? 0,
59423
- updatedAt: settings?.createdAt ?? 0,
59424
- rootDirectory: link.projectRootDirectory ?? settings?.rootDirectory ?? null
59425
- };
59426
- const localProjectLink = {
59427
- status: "linked",
59428
- org: {
59429
- type: link.orgId.startsWith("team_") ? "team" : "user",
59430
- id: link.orgId,
59431
- slug: ""
59432
- },
59433
- project: project2,
59434
- repoRoot: link.repoRoot,
59435
- orgSlugUnavailable: true
59436
- };
59437
- return {
59438
- ...localProjectLink,
59439
- projectRootDirectory: link.projectRootDirectory,
59440
- orgId: link.orgId
59441
- };
59442
- }
59443
59411
  output_manager_default.spinner("Retrieving project\u2026", 1e3);
59444
59412
  let org = null;
59445
59413
  let project = null;
@@ -60064,7 +60032,6 @@ export {
60064
60032
  VERCEL_DIR_README,
60065
60033
  VERCEL_DIR_PROJECT,
60066
60034
  isOwnerLookupUnavailableLink,
60067
- isOrgSlugUnavailableLink,
60068
60035
  getVercelDirectory,
60069
60036
  getProjectLink,
60070
60037
  getLinkFromDir,
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  setupAndLink
9
- } from "./chunk-4ZDDOMUT.js";
9
+ } from "./chunk-6SXIT6Q3.js";
10
10
  import {
11
11
  detectExplicitScope,
12
12
  getLinkedProject,
13
13
  param,
14
14
  printProjectNotFoundError,
15
15
  resolveProjectCwd
16
- } from "./chunk-3GTCSDQR.js";
16
+ } from "./chunk-IBIZT5M4.js";
17
17
  import {
18
18
  buildCommandWithYes,
19
19
  outputActionRequired
@@ -41,8 +41,7 @@ async function ensureLink(commandName, client, cwd, opts = {}) {
41
41
  projectName: opts.projectName,
42
42
  projectNameIsExplicit: Boolean(opts.projectName && opts.failIfNotFound),
43
43
  scopeIsExplicit: detectExplicitScope(client),
44
- allowOwnerLookupFallback: opts.allowOwnerLookupFallback,
45
- skipRemoteLookup: opts.skipRemoteLookup
44
+ allowOwnerLookupFallback: opts.allowOwnerLookupFallback
46
45
  });
47
46
  }
48
47
  opts.link = link;
@@ -15,13 +15,13 @@ import {
15
15
  printIndications,
16
16
  require_dist as require_dist2,
17
17
  sleep
18
- } from "./chunk-R67YCGGV.js";
18
+ } from "./chunk-MAZ2BUBX.js";
19
19
  import {
20
20
  suggestNextCommands
21
21
  } from "./chunk-XBN2O34P.js";
22
22
  import {
23
23
  CommandTimeout
24
- } from "./chunk-HDKQ66NL.js";
24
+ } from "./chunk-CLUCO4RD.js";
25
25
  import {
26
26
  showPluginTipIfNeeded
27
27
  } from "./chunk-HT2XWSAJ.js";
@@ -38,7 +38,7 @@ import {
38
38
  require_dist as require_dist3,
39
39
  require_pluralize,
40
40
  ua_default
41
- } from "./chunk-3GTCSDQR.js";
41
+ } from "./chunk-IBIZT5M4.js";
42
42
  import {
43
43
  require_ms
44
44
  } from "./chunk-GGP5R3FU.js";
@@ -1171,7 +1171,6 @@ async function processDeployment({
1171
1171
  manual,
1172
1172
  jsonOutput,
1173
1173
  linkedProject,
1174
- linkedProjectIsPartial,
1175
1174
  ...args
1176
1175
  }) {
1177
1176
  const {
@@ -1217,9 +1216,7 @@ async function processDeployment({
1217
1216
  manual,
1218
1217
  aliasAssignedSignal: aliasAssignedController.signal
1219
1218
  };
1220
- const deployingSpinnerVal = isSettingUpProject ? "Setting up project" : `Deploying ${import_chalk2.default.bold(
1221
- org.slug ? `${org.slug}/${projectName}` : projectName
1222
- )}`;
1219
+ const deployingSpinnerVal = isSettingUpProject ? "Setting up project" : `Deploying ${import_chalk2.default.bold(`${org.slug}/${projectName}`)}`;
1223
1220
  output_manager_default.spinner(deployingSpinnerVal, 0);
1224
1221
  const indications = [];
1225
1222
  let abortController;
@@ -1227,27 +1224,9 @@ async function processDeployment({
1227
1224
  abortController?.abort();
1228
1225
  output_manager_default.stopSpinner();
1229
1226
  }
1230
- const linkedProjectLookup = linkedProjectIsPartial && linkedProject && !noWait ? getProjectByNameOrId(
1231
- client,
1232
- linkedProject.id,
1233
- linkedProject.accountId
1234
- ).then(
1235
- (project2) => ({ project: project2 }),
1236
- (error) => ({ error })
1237
- ) : void 0;
1238
1227
  let rollingRelease = linkedProject?.rollingRelease;
1239
- let project = linkedProjectLookup ? void 0 : linkedProject;
1228
+ let project = linkedProject;
1240
1229
  let latestLogMessage = "";
1241
- async function resolveProject() {
1242
- if (!linkedProjectLookup) {
1243
- return getProjectByNameOrId(client, projectName);
1244
- }
1245
- const result = await linkedProjectLookup;
1246
- if ("error" in result) {
1247
- throw result.error;
1248
- }
1249
- return result.project;
1250
- }
1251
1230
  try {
1252
1231
  for await (const event of (0, import_client.createDeployment)(clientOptions, requestBody)) {
1253
1232
  if (["tip", "notice", "warning"].includes(event.type)) {
@@ -1372,8 +1351,8 @@ async function processDeployment({
1372
1351
  stopSpinner();
1373
1352
  return event.payload;
1374
1353
  }
1375
- if (project === void 0 && (!linkedProjectLookup || event.type === "ready")) {
1376
- project = await resolveProject();
1354
+ if (project === void 0) {
1355
+ project = await getProjectByNameOrId(client, projectName);
1377
1356
  rollingRelease = project?.rollingRelease;
1378
1357
  }
1379
1358
  if (event.type === "ready" && rollingRelease) {
@@ -1523,8 +1502,7 @@ var Now = class {
1523
1502
  agentName,
1524
1503
  manual,
1525
1504
  jsonOutput = false,
1526
- linkedProject,
1527
- linkedProjectIsPartial
1505
+ linkedProject
1528
1506
  }, org, isSettingUpProject, archive) {
1529
1507
  const requestBody = {
1530
1508
  ...nowConfig,
@@ -1564,8 +1542,7 @@ var Now = class {
1564
1542
  bulkRedirectsPath: nowConfig.bulkRedirectsPath,
1565
1543
  manual,
1566
1544
  jsonOutput,
1567
- linkedProject,
1568
- linkedProjectIsPartial
1545
+ linkedProject
1569
1546
  });
1570
1547
  if (deployment && deployment.warnings) {
1571
1548
  let sizeExceeded = 0;
@@ -12,7 +12,7 @@ import {
12
12
  PromptBackError,
13
13
  PromptCanceledError,
14
14
  getLocalPathConfig
15
- } from "./chunk-K43NT7QG.js";
15
+ } from "./chunk-MGCBTAA7.js";
16
16
  import {
17
17
  DEFAULT_VERCEL_CONFIG_FILENAME,
18
18
  VERCEL_CONFIG_EXTENSIONS,
@@ -39,7 +39,7 @@ import {
39
39
  useKeypress,
40
40
  usePrefix,
41
41
  useState
42
- } from "./chunk-3GTCSDQR.js";
42
+ } from "./chunk-IBIZT5M4.js";
43
43
  import {
44
44
  require_load_json_file
45
45
  } from "./chunk-ECCWJHC6.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR
9
- } from "./chunk-3GTCSDQR.js";
9
+ } from "./chunk-IBIZT5M4.js";
10
10
  import {
11
11
  parseArguments
12
12
  } from "./chunk-XLKFJPMT.js";
@@ -18,7 +18,7 @@ import {
18
18
  require_lib,
19
19
  require_minimatch,
20
20
  require_pluralize
21
- } from "./chunk-3GTCSDQR.js";
21
+ } from "./chunk-IBIZT5M4.js";
22
22
  import {
23
23
  CantParseJSONFile,
24
24
  cmd,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-3GTCSDQR.js";
9
+ } from "./chunk-IBIZT5M4.js";
10
10
  import {
11
11
  isNativeBinaryInstall
12
12
  } from "./chunk-ECCWJHC6.js";
@@ -11,7 +11,7 @@ import {
11
11
  getLinkedProject,
12
12
  getProjectByNameOrId,
13
13
  getScope
14
- } from "./chunk-3GTCSDQR.js";
14
+ } from "./chunk-IBIZT5M4.js";
15
15
  import {
16
16
  printError
17
17
  } from "./chunk-KBEX5MYS.js";
@@ -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-3GTCSDQR.js";
9
+ } from "./chunk-IBIZT5M4.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
  ALIGNED_LABEL_WIDTH
9
- } from "./chunk-3GTCSDQR.js";
9
+ } from "./chunk-IBIZT5M4.js";
10
10
  import {
11
11
  require_ms
12
12
  } from "./chunk-GGP5R3FU.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-6RVEMCWL.js";
9
+ } from "./chunk-5MERQE7H.js";
10
10
  import {
11
11
  autoInstallVercelPlugin
12
12
  } from "./chunk-HT2XWSAJ.js";
@@ -15,10 +15,10 @@ import {
15
15
  } from "./chunk-64IF634X.js";
16
16
  import {
17
17
  ensureLink
18
- } from "./chunk-U2HFLQVO.js";
18
+ } from "./chunk-KUZCVMVA.js";
19
19
  import {
20
20
  pullCommand
21
- } from "./chunk-UA6KSQA7.js";
21
+ } from "./chunk-2SEBBSKD.js";
22
22
  import {
23
23
  help
24
24
  } from "./chunk-ZX2FSPWV.js";
@@ -28,7 +28,7 @@ import {
28
28
  envPullCommandLogic,
29
29
  humanizePath,
30
30
  parseTarget
31
- } from "./chunk-3GTCSDQR.js";
31
+ } from "./chunk-IBIZT5M4.js";
32
32
  import {
33
33
  TelemetryClient
34
34
  } from "./chunk-ECCWJHC6.js";