vercel 54.5.1 → 54.6.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.
Files changed (50) hide show
  1. package/dist/chunks/{add-LTKUOIRH.js → add-PABR7UDW.js} +4 -4
  2. package/dist/chunks/{chunk-APRQ4WOM.js → chunk-3ZDA2CNR.js} +1 -1
  3. package/dist/chunks/{chunk-XEYTEMBL.js → chunk-55ZHYOXR.js} +1 -1
  4. package/dist/chunks/{chunk-EARP53GN.js → chunk-5IH3CKCW.js} +1 -1
  5. package/dist/chunks/{chunk-P66MJG2R.js → chunk-BDBG7347.js} +1 -1
  6. package/dist/chunks/{chunk-B7343AJ4.js → chunk-DSVJF7BT.js} +2 -2
  7. package/dist/chunks/{chunk-R2C4MTKL.js → chunk-DUIYXUIB.js} +5 -5
  8. package/dist/chunks/{chunk-HQQ5VXCJ.js → chunk-F7OFM5NM.js} +1 -1
  9. package/dist/chunks/{chunk-UG5OAYHF.js → chunk-FJOUYHN4.js} +1 -1
  10. package/dist/chunks/{chunk-NN5CMMC2.js → chunk-HD3NJHWT.js} +1 -1
  11. package/dist/chunks/{chunk-OG2W73UH.js → chunk-HXCZ6ZNO.js} +1 -1
  12. package/dist/chunks/{chunk-6DYBMAPE.js → chunk-KSS3AMDU.js} +1 -1
  13. package/dist/chunks/{chunk-NJ3JN4BJ.js → chunk-KTMAZEOI.js} +2 -2
  14. package/dist/chunks/{chunk-ACQYPB26.js → chunk-L3BYKHWE.js} +3 -3
  15. package/dist/chunks/{chunk-5OGU2MKL.js → chunk-NVHKS2AA.js} +2 -2
  16. package/dist/chunks/{chunk-EQMRA3RA.js → chunk-OF7SJ4AC.js} +1 -1
  17. package/dist/chunks/{chunk-J6V7CB2T.js → chunk-TFLXDK24.js} +3 -3
  18. package/dist/chunks/{chunk-EP42IGC6.js → chunk-TKQCQ2Z4.js} +4 -4
  19. package/dist/chunks/{chunk-CWRL2B64.js → chunk-V2EPUZ7C.js} +42 -63
  20. package/dist/chunks/{chunk-2O23IWFZ.js → chunk-YV5W67AJ.js} +3 -3
  21. package/dist/chunks/{compile-vercel-config-JLD22EQF.js → compile-vercel-config-UWWV5Q74.js} +1 -1
  22. package/dist/chunks/{delete-ZJ65LJPR.js → delete-Z2TQELK6.js} +2 -2
  23. package/dist/chunks/{disable-55BFUWA3.js → disable-D7GG4H3R.js} +2 -2
  24. package/dist/chunks/{discard-GCFLECLA.js → discard-IIG3TUIT.js} +2 -2
  25. package/dist/chunks/{edit-2UXOWJYI.js → edit-DD2KENCR.js} +3 -3
  26. package/dist/chunks/{enable-V2PVTE7B.js → enable-UCYQRKCL.js} +2 -2
  27. package/dist/chunks/{export-6PJONV3Q.js → export-U4BZUMSZ.js} +2 -2
  28. package/dist/chunks/{inspect-UAT7WWFU.js → inspect-PYA4NFIT.js} +3 -3
  29. package/dist/chunks/{list-3TXV2JDY.js → list-QHVLSNFO.js} +3 -3
  30. package/dist/chunks/{list-PHUNLXFO.js → list-RDT3KISX.js} +2 -2
  31. package/dist/chunks/{ls-DL6Y2ECG.js → ls-E3EILWRU.js} +4 -4
  32. package/dist/chunks/{publish-WE5FWUGS.js → publish-HSIQS5SO.js} +2 -2
  33. package/dist/chunks/{query-R5DCNK4W.js → query-5SREWTMU.js} +2 -2
  34. package/dist/chunks/{reorder-Y7KUZIBT.js → reorder-QRLPE5HF.js} +2 -2
  35. package/dist/chunks/{restore-X4PYKEPU.js → restore-AI3YOHCB.js} +2 -2
  36. package/dist/chunks/{rm-A4HRBNZ5.js → rm-ZLDS7FJG.js} +4 -4
  37. package/dist/chunks/{rule-inspect-ZC2GT4MO.js → rule-inspect-2LDHZJ24.js} +4 -4
  38. package/dist/chunks/{rules-RMGHA3LC.js → rules-DTEFM3BW.js} +6 -6
  39. package/dist/chunks/{schema-PG3P2NP4.js → schema-G6O7BMIJ.js} +2 -2
  40. package/dist/chunks/{update-IIPJIUMA.js → update-A3O2FDGF.js} +4 -4
  41. package/dist/commands/build/index.js +521 -379
  42. package/dist/commands/deploy/index.js +10 -10
  43. package/dist/commands/dev/index.js +9 -16
  44. package/dist/commands/env/index.js +146 -80
  45. package/dist/commands/link/index.js +7 -7
  46. package/dist/commands/list/index.js +3 -3
  47. package/dist/commands-bulk.js +31 -31
  48. package/dist/index.js +11 -14
  49. package/dist/version.mjs +1 -1
  50. package/package.json +20 -20
@@ -9,8 +9,8 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesCollectionPath
12
- } from "./chunk-NN5CMMC2.js";
13
- import "./chunk-5OGU2MKL.js";
12
+ } from "./chunk-HD3NJHWT.js";
13
+ import "./chunk-NVHKS2AA.js";
14
14
  import "./chunk-HTOH3MSD.js";
15
15
  import {
16
16
  validateJsonOutput
@@ -21,8 +21,8 @@ import {
21
21
  import {
22
22
  AGENT_REASON
23
23
  } from "./chunk-L6Q2EQPI.js";
24
- import "./chunk-P66MJG2R.js";
25
- import "./chunk-CWRL2B64.js";
24
+ import "./chunk-BDBG7347.js";
25
+ import "./chunk-V2EPUZ7C.js";
26
26
  import "./chunk-4CIXZOP4.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-CWRL2B64.js";
11
+ } from "./chunk-V2EPUZ7C.js";
12
12
  import {
13
13
  require_dist
14
14
  } from "./chunk-ZQKJVHXY.js";
@@ -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-CWRL2B64.js";
9
+ } from "./chunk-V2EPUZ7C.js";
10
10
  import {
11
11
  packageName
12
12
  } from "./chunk-UGXBNJMO.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-L6Q2EQPI.js";
11
11
  import {
12
12
  getLinkedProject
13
- } from "./chunk-CWRL2B64.js";
13
+ } from "./chunk-V2EPUZ7C.js";
14
14
  import {
15
15
  buildCommandWithYes,
16
16
  outputAgentError
@@ -11,7 +11,7 @@ import {
11
11
  getTeamById,
12
12
  getUser,
13
13
  getVercelDirectory
14
- } from "./chunk-CWRL2B64.js";
14
+ } from "./chunk-V2EPUZ7C.js";
15
15
  import {
16
16
  TeamDeleted
17
17
  } from "./chunk-UGXBNJMO.js";
@@ -7,12 +7,12 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  printProjectNotFoundError,
9
9
  setupAndLink
10
- } from "./chunk-J6V7CB2T.js";
10
+ } from "./chunk-TFLXDK24.js";
11
11
  import {
12
12
  getLinkedProject,
13
13
  param,
14
14
  resolveProjectCwd
15
- } from "./chunk-CWRL2B64.js";
15
+ } from "./chunk-V2EPUZ7C.js";
16
16
  import {
17
17
  buildCommandWithYes,
18
18
  outputActionRequired
@@ -9,7 +9,7 @@ import {
9
9
  printIndications,
10
10
  require_dist as require_dist2,
11
11
  sleep
12
- } from "./chunk-2O23IWFZ.js";
12
+ } from "./chunk-YV5W67AJ.js";
13
13
  import {
14
14
  suggestNextCommands
15
15
  } from "./chunk-LOS7HHU3.js";
@@ -19,23 +19,23 @@ import {
19
19
  } from "./chunk-NYJXGEIR.js";
20
20
  import {
21
21
  CommandTimeout
22
- } from "./chunk-NJ3JN4BJ.js";
22
+ } from "./chunk-KTMAZEOI.js";
23
23
  import {
24
24
  ua_default
25
25
  } from "./chunk-76ZNZKIN.js";
26
26
  import {
27
27
  showPluginTipIfNeeded
28
- } from "./chunk-EQMRA3RA.js";
28
+ } from "./chunk-OF7SJ4AC.js";
29
29
  import {
30
30
  getScope
31
- } from "./chunk-P66MJG2R.js";
31
+ } from "./chunk-BDBG7347.js";
32
32
  import {
33
33
  getProjectByNameOrId,
34
34
  param,
35
35
  printAlignedLabel,
36
36
  require_dist as require_dist3,
37
37
  require_pluralize
38
- } from "./chunk-CWRL2B64.js";
38
+ } from "./chunk-V2EPUZ7C.js";
39
39
  import {
40
40
  require_ms,
41
41
  stamp_default
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR,
9
9
  isVercelTomlEnabled
10
- } from "./chunk-CWRL2B64.js";
10
+ } from "./chunk-V2EPUZ7C.js";
11
11
  import {
12
12
  parseArguments
13
13
  } from "./chunk-H33IJ7OP.js";
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatCondition,
9
9
  formatTransform
10
- } from "./chunk-EARP53GN.js";
10
+ } from "./chunk-5IH3CKCW.js";
11
11
  import {
12
12
  output_manager_default
13
13
  } from "./chunk-ZQKJVHXY.js";
@@ -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-5OGU2MKL.js";
9
+ } from "./chunk-NVHKS2AA.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -18,7 +18,7 @@ import {
18
18
  require_lib,
19
19
  require_minimatch,
20
20
  require_pluralize
21
- } from "./chunk-CWRL2B64.js";
21
+ } from "./chunk-V2EPUZ7C.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
  STANDARD_ENVIRONMENTS
9
- } from "./chunk-CWRL2B64.js";
9
+ } from "./chunk-V2EPUZ7C.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
@@ -25,10 +25,10 @@ import {
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-EQMRA3RA.js";
28
+ } from "./chunk-OF7SJ4AC.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-CWRL2B64.js";
31
+ } from "./chunk-V2EPUZ7C.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -8,17 +8,17 @@ import {
8
8
  getUpdateCommand,
9
9
  isGlobal,
10
10
  isNativeBinaryInstall
11
- } from "./chunk-XEYTEMBL.js";
11
+ } from "./chunk-55ZHYOXR.js";
12
12
  import {
13
13
  getGlobalPathConfig,
14
14
  login,
15
15
  writeToConfigFile
16
- } from "./chunk-2O23IWFZ.js";
16
+ } from "./chunk-YV5W67AJ.js";
17
17
  import {
18
18
  apiCommand,
19
19
  listSubcommand2 as listSubcommand,
20
20
  loginCommand
21
- } from "./chunk-NJ3JN4BJ.js";
21
+ } from "./chunk-KTMAZEOI.js";
22
22
  import {
23
23
  help
24
24
  } from "./chunk-TTOZFGDX.js";
@@ -12,11 +12,11 @@ import {
12
12
  } from "./chunk-L6Q2EQPI.js";
13
13
  import {
14
14
  getScope
15
- } from "./chunk-P66MJG2R.js";
15
+ } from "./chunk-BDBG7347.js";
16
16
  import {
17
17
  getLinkedProject,
18
18
  getProjectByNameOrId
19
- } from "./chunk-CWRL2B64.js";
19
+ } from "./chunk-V2EPUZ7C.js";
20
20
  import {
21
21
  buildCommandWithGlobalFlags,
22
22
  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-CWRL2B64.js";
9
+ } from "./chunk-V2EPUZ7C.js";
10
10
  import {
11
11
  projectOption,
12
12
  yesOption
@@ -10,10 +10,10 @@ import {
10
10
  } from "./chunk-L6Q2EQPI.js";
11
11
  import {
12
12
  getLocalPathConfig
13
- } from "./chunk-HQQ5VXCJ.js";
13
+ } from "./chunk-F7OFM5NM.js";
14
14
  import {
15
15
  getScope
16
- } from "./chunk-P66MJG2R.js";
16
+ } from "./chunk-BDBG7347.js";
17
17
  import {
18
18
  VERCEL_DIR_PROJECT,
19
19
  VERCEL_DIR_README,
@@ -47,7 +47,7 @@ import {
47
47
  selectAndParseRemoteUrl,
48
48
  selectOrg,
49
49
  writeServicesConfig
50
- } from "./chunk-CWRL2B64.js";
50
+ } from "./chunk-V2EPUZ7C.js";
51
51
  import {
52
52
  buildCommandWithGlobalFlags,
53
53
  outputAgentError,
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-APRQ4WOM.js";
9
+ } from "./chunk-3ZDA2CNR.js";
10
10
  import {
11
11
  ensureLink
12
- } from "./chunk-B7343AJ4.js";
12
+ } from "./chunk-DSVJF7BT.js";
13
13
  import {
14
14
  autoInstallVercelPlugin,
15
15
  pullCommand
16
- } from "./chunk-EQMRA3RA.js";
16
+ } from "./chunk-OF7SJ4AC.js";
17
17
  import {
18
18
  help
19
19
  } from "./chunk-TTOZFGDX.js";
@@ -23,7 +23,7 @@ import {
23
23
  envPullCommandLogic,
24
24
  humanizePath,
25
25
  parseTarget
26
- } from "./chunk-CWRL2B64.js";
26
+ } from "./chunk-V2EPUZ7C.js";
27
27
  import {
28
28
  TelemetryClient
29
29
  } from "./chunk-4CIXZOP4.js";
@@ -23974,23 +23974,12 @@ var require_resolve2 = __commonJS({
23974
23974
  for (const service of resolved) {
23975
23975
  if (!service.env)
23976
23976
  continue;
23977
- validateEnvRefs(
23978
- service.env,
23979
- `Service "${service.name}" env`,
23980
- servicesByName,
23981
- errors,
23982
- service.name
23983
- );
23984
- }
23985
- if (options.rootEnv) {
23986
- validateEnvRefs(options.rootEnv, "env", servicesByName, errors);
23987
- for (const service of resolved) {
23988
- service.env = { ...options.rootEnv, ...service.env ?? {} };
23989
- }
23977
+ validateEnvRefs(service.env, service.name, servicesByName, errors);
23990
23978
  }
23991
23979
  return { services: resolved, errors };
23992
23980
  }
23993
- function validateEnvRefs(env, pathPrefix, servicesByName, errors, serviceName) {
23981
+ function validateEnvRefs(env, serviceName, servicesByName, errors) {
23982
+ const pathPrefix = `Service "${serviceName}" env`;
23994
23983
  for (const [envVarName, envVar] of Object.entries(env)) {
23995
23984
  if (envVar.type !== "service-ref")
23996
23985
  continue;
@@ -24000,7 +23989,7 @@ var require_resolve2 = __commonJS({
24000
23989
  errors.push({
24001
23990
  code: "UNKNOWN_SERVICE_REF",
24002
23991
  message: `${pathPrefix}["${envVarName}"] references unknown service "${refName}".`,
24003
- ...serviceName ? { serviceName } : {}
23992
+ serviceName
24004
23993
  });
24005
23994
  continue;
24006
23995
  }
@@ -24008,7 +23997,7 @@ var require_resolve2 = __commonJS({
24008
23997
  errors.push({
24009
23998
  code: "INVALID_SERVICE_REF_TYPE",
24010
23999
  message: `${pathPrefix}["${envVarName}"] references service "${refName}" which is a ${target.type} service and has no URL. Only web services can be referenced.`,
24011
- ...serviceName ? { serviceName } : {}
24000
+ serviceName
24012
24001
  });
24013
24002
  }
24014
24003
  }
@@ -27925,12 +27914,6 @@ var require_detect_services = __commonJS({
27925
27914
  workers: []
27926
27915
  };
27927
27916
  }
27928
- function isEnvVars(env) {
27929
- if (!env)
27930
- return false;
27931
- const first = Object.values(env)[0];
27932
- return typeof first === "object" && first !== null;
27933
- }
27934
27917
  function withResolvedResult(resolved, inferred = null) {
27935
27918
  return {
27936
27919
  services: resolved.services,
@@ -27973,7 +27956,13 @@ var require_detect_services = __commonJS({
27973
27956
  return inferredConfig;
27974
27957
  }
27975
27958
  async function detectServices3(options) {
27976
- const { fs: fs5, workPath, detectEntrypoint } = options;
27959
+ const {
27960
+ fs: fs5,
27961
+ workPath,
27962
+ detectEntrypoint,
27963
+ configuredServices: providedConfiguredServices,
27964
+ configuredServicesType
27965
+ } = options;
27977
27966
  const scopedFs = workPath ? fs5.chdir(workPath) : fs5;
27978
27967
  const { config: vercelConfig, error: configError } = await (0, import_utils4.readVercelConfig)(scopedFs);
27979
27968
  if (configError) {
@@ -27986,8 +27975,9 @@ var require_detect_services = __commonJS({
27986
27975
  warnings: []
27987
27976
  });
27988
27977
  }
27989
- const hasNonEmptyPublicServicesConfig = vercelConfig?.services && Object.keys(vercelConfig.services).length > 0;
27990
- const configuredServices = hasNonEmptyPublicServicesConfig ? vercelConfig.services : vercelConfig?.experimentalServices;
27978
+ const hasProvidedConfiguredServices = providedConfiguredServices && Object.keys(providedConfiguredServices).length > 0;
27979
+ const hasNonEmptyPublicServicesConfig = hasProvidedConfiguredServices && configuredServicesType === "services" || !hasProvidedConfiguredServices && vercelConfig?.services && Object.keys(vercelConfig.services).length > 0;
27980
+ const configuredServices = hasProvidedConfiguredServices ? providedConfiguredServices : hasNonEmptyPublicServicesConfig ? vercelConfig?.services : vercelConfig?.experimentalServices;
27991
27981
  const hasConfiguredServices = configuredServices && Object.keys(configuredServices).length > 0;
27992
27982
  if (!hasConfiguredServices) {
27993
27983
  const detectors = [
@@ -28023,8 +28013,7 @@ var require_detect_services = __commonJS({
28023
28013
  {
28024
28014
  requireFileEntrypointForBackendRuntimes: Boolean(
28025
28015
  hasNonEmptyPublicServicesConfig
28026
- ),
28027
- rootEnv: isEnvVars(vercelConfig?.env) ? vercelConfig?.env : void 0
28016
+ )
28028
28017
  }
28029
28018
  );
28030
28019
  const routes = generateServicesRoutes2(result.services);
@@ -28450,7 +28439,12 @@ var require_get_services_builders = __commonJS({
28450
28439
  return env === "1" || env?.toLowerCase() === "true";
28451
28440
  }
28452
28441
  async function getServicesBuilders2(options) {
28453
- const { workPath, configuredServices, projectFramework } = options;
28442
+ const {
28443
+ workPath,
28444
+ configuredServices,
28445
+ configuredServicesType,
28446
+ projectFramework
28447
+ } = options;
28454
28448
  const hasServiceDefinitions = configuredServices != null && Object.keys(configuredServices).length > 0;
28455
28449
  if (projectFramework === "services" && !hasServiceDefinitions && !isExperimentalServicesAutoDetectionEnabled()) {
28456
28450
  return {
@@ -28489,7 +28483,11 @@ var require_get_services_builders = __commonJS({
28489
28483
  };
28490
28484
  }
28491
28485
  const fs5 = new import_local_file_system_detector.LocalFileSystemDetector(workPath);
28492
- const result = await (0, import_detect_services2.detectServices)({ fs: fs5 });
28486
+ const result = await (0, import_detect_services2.detectServices)({
28487
+ fs: fs5,
28488
+ configuredServices,
28489
+ configuredServicesType
28490
+ });
28493
28491
  const warningResponses = result.warnings.map((w) => ({
28494
28492
  code: w.code,
28495
28493
  message: w.message
@@ -28650,11 +28648,13 @@ var require_detect_builders = __commonJS({
28650
28648
  const { services, experimentalServices, projectSettings = {} } = options;
28651
28649
  const { framework } = projectSettings;
28652
28650
  const configuredServices = services ?? experimentalServices;
28651
+ const configuredServicesType = services != null ? "services" : "experimentalServices";
28653
28652
  const hasServicesConfig = configuredServices != null && typeof configuredServices === "object";
28654
28653
  if (hasServicesConfig || framework === "services") {
28655
28654
  return (0, import_get_services_builders.getServicesBuilders)({
28656
28655
  workPath: options.workPath,
28657
28656
  configuredServices,
28657
+ configuredServicesType,
28658
28658
  projectFramework: framework
28659
28659
  });
28660
28660
  }
@@ -36631,7 +36631,7 @@ var require_package = __commonJS({
36631
36631
  "../client/package.json"(exports, module) {
36632
36632
  module.exports = {
36633
36633
  name: "@vercel/client",
36634
- version: "17.5.5",
36634
+ version: "17.5.6",
36635
36635
  main: "dist/index.js",
36636
36636
  typings: "dist/index.d.ts",
36637
36637
  homepage: "https://vercel.com",
@@ -52795,13 +52795,7 @@ var parseEnv = (env) => {
52795
52795
  return o;
52796
52796
  }, startingDict);
52797
52797
  }
52798
- const result = {};
52799
- for (const [key, value] of Object.entries(env)) {
52800
- if (typeof value === "string") {
52801
- result[key] = value;
52802
- }
52803
- }
52804
- return result;
52798
+ return env;
52805
52799
  };
52806
52800
 
52807
52801
  // src/util/env/diff-env-files.ts
@@ -53808,38 +53802,24 @@ var envVarNamesSchema = {
53808
53802
  maxLength: 256
53809
53803
  };
53810
53804
  var envVarSchema = {
53811
- oneOf: [
53812
- {
53813
- type: "object",
53814
- additionalProperties: false,
53815
- required: ["type", "service"],
53816
- properties: {
53817
- type: { const: "service-ref" },
53818
- service: {
53819
- type: "string",
53820
- minLength: 1,
53821
- maxLength: 64,
53822
- pattern: "^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$"
53823
- }
53824
- }
53805
+ type: "object",
53806
+ additionalProperties: false,
53807
+ required: ["type", "service"],
53808
+ properties: {
53809
+ type: { const: "service-ref" },
53810
+ service: {
53811
+ type: "string",
53812
+ minLength: 1,
53813
+ maxLength: 64,
53814
+ pattern: "^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$"
53825
53815
  }
53826
- ]
53816
+ }
53827
53817
  };
53828
53818
  var envVarRecordSchema = {
53829
53819
  type: "object",
53830
53820
  additionalProperties: envVarSchema,
53831
53821
  propertyNames: envVarNamesSchema
53832
53822
  };
53833
- var topLevelEnvSchema = {
53834
- oneOf: [
53835
- {
53836
- type: "object",
53837
- additionalProperties: { type: "string" },
53838
- propertyNames: envVarNamesSchema
53839
- },
53840
- envVarRecordSchema
53841
- ]
53842
- };
53843
53823
  var experimentalServicesCommonProperties = {
53844
53824
  entrypoint: {
53845
53825
  type: "string",
@@ -54155,7 +54135,6 @@ var vercelConfigSchema = {
54155
54135
  images: imagesSchema,
54156
54136
  crons: cronsSchema,
54157
54137
  bunVersion: { type: "string" },
54158
- env: topLevelEnvSchema,
54159
54138
  services: servicesSchema,
54160
54139
  experimentalServices: experimentalServicesSchema,
54161
54140
  experimentalServiceGroups: experimentalServiceGroupsSchema
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-76ZNZKIN.js";
13
13
  import {
14
14
  getLocalPathConfig
15
- } from "./chunk-HQQ5VXCJ.js";
15
+ } from "./chunk-F7OFM5NM.js";
16
16
  import {
17
17
  autoInstallVercelPlugin
18
- } from "./chunk-EQMRA3RA.js";
18
+ } from "./chunk-OF7SJ4AC.js";
19
19
  import {
20
20
  DEFAULT_VERCEL_CONFIG_FILENAME,
21
21
  VERCEL_CONFIG_EXTENSIONS,
@@ -39,7 +39,7 @@ import {
39
39
  useKeypress,
40
40
  usePrefix,
41
41
  useState
42
- } from "./chunk-CWRL2B64.js";
42
+ } from "./chunk-V2EPUZ7C.js";
43
43
  import {
44
44
  require_load_json_file
45
45
  } from "./chunk-4CIXZOP4.js";
@@ -11,7 +11,7 @@ import {
11
11
  findSourceVercelConfigFile,
12
12
  getVercelConfigPath,
13
13
  normalizeConfig
14
- } from "./chunk-CWRL2B64.js";
14
+ } from "./chunk-V2EPUZ7C.js";
15
15
  import "./chunk-4CIXZOP4.js";
16
16
  import "./chunk-ULXHXZCZ.js";
17
17
  import "./chunk-CO5D46AG.js";
@@ -15,7 +15,7 @@ import {
15
15
  parseSubcommandArgs,
16
16
  resolveRoutes,
17
17
  withGlobalFlags
18
- } from "./chunk-EARP53GN.js";
18
+ } from "./chunk-5IH3CKCW.js";
19
19
  import {
20
20
  deleteSubcommand
21
21
  } from "./chunk-5EKBCYHA.js";
@@ -23,7 +23,7 @@ import {
23
23
  AGENT_REASON,
24
24
  AGENT_STATUS
25
25
  } from "./chunk-L6Q2EQPI.js";
26
- import "./chunk-CWRL2B64.js";
26
+ import "./chunk-V2EPUZ7C.js";
27
27
  import "./chunk-4CIXZOP4.js";
28
28
  import {
29
29
  outputAgentError
@@ -17,12 +17,12 @@ import {
17
17
  parseSubcommandArgs,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-EARP53GN.js";
20
+ } from "./chunk-5IH3CKCW.js";
21
21
  import {
22
22
  disableSubcommand
23
23
  } from "./chunk-5EKBCYHA.js";
24
24
  import "./chunk-L6Q2EQPI.js";
25
- import "./chunk-CWRL2B64.js";
25
+ import "./chunk-V2EPUZ7C.js";
26
26
  import "./chunk-4CIXZOP4.js";
27
27
  import {
28
28
  outputAgentError
@@ -17,12 +17,12 @@ import {
17
17
  parseSubcommandArgs,
18
18
  printDiffSummary,
19
19
  withGlobalFlags
20
- } from "./chunk-EARP53GN.js";
20
+ } from "./chunk-5IH3CKCW.js";
21
21
  import {
22
22
  discardSubcommand
23
23
  } from "./chunk-5EKBCYHA.js";
24
24
  import "./chunk-L6Q2EQPI.js";
25
- import "./chunk-CWRL2B64.js";
25
+ import "./chunk-V2EPUZ7C.js";
26
26
  import "./chunk-4CIXZOP4.js";
27
27
  import {
28
28
  outputAgentError
@@ -19,7 +19,7 @@ import {
19
19
  printRouteConfig,
20
20
  routingRuleToCurrentRoute,
21
21
  runInteractiveEditLoop
22
- } from "./chunk-UG5OAYHF.js";
22
+ } from "./chunk-FJOUYHN4.js";
23
23
  import {
24
24
  getRouteVersions
25
25
  } from "./chunk-AHU7WNL2.js";
@@ -31,12 +31,12 @@ import {
31
31
  resolveRoute,
32
32
  shellQuoteRouteIdentifierForSuggestion,
33
33
  withGlobalFlags
34
- } from "./chunk-EARP53GN.js";
34
+ } from "./chunk-5IH3CKCW.js";
35
35
  import {
36
36
  editSubcommand
37
37
  } from "./chunk-5EKBCYHA.js";
38
38
  import "./chunk-L6Q2EQPI.js";
39
- import "./chunk-CWRL2B64.js";
39
+ import "./chunk-V2EPUZ7C.js";
40
40
  import "./chunk-4CIXZOP4.js";
41
41
  import {
42
42
  outputAgentError
@@ -17,12 +17,12 @@ import {
17
17
  parseSubcommandArgs,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-EARP53GN.js";
20
+ } from "./chunk-5IH3CKCW.js";
21
21
  import {
22
22
  enableSubcommand
23
23
  } from "./chunk-5EKBCYHA.js";
24
24
  import "./chunk-L6Q2EQPI.js";
25
- import "./chunk-CWRL2B64.js";
25
+ import "./chunk-V2EPUZ7C.js";
26
26
  import "./chunk-4CIXZOP4.js";
27
27
  import {
28
28
  outputAgentError
@@ -9,12 +9,12 @@ import {
9
9
  getRoutes,
10
10
  parseSubcommandArgs,
11
11
  withGlobalFlags
12
- } from "./chunk-EARP53GN.js";
12
+ } from "./chunk-5IH3CKCW.js";
13
13
  import {
14
14
  exportSubcommand
15
15
  } from "./chunk-5EKBCYHA.js";
16
16
  import "./chunk-L6Q2EQPI.js";
17
- import "./chunk-CWRL2B64.js";
17
+ import "./chunk-V2EPUZ7C.js";
18
18
  import "./chunk-4CIXZOP4.js";
19
19
  import {
20
20
  outputAgentError
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  emitAlertsScopeError
9
- } from "./chunk-5OGU2MKL.js";
9
+ } from "./chunk-NVHKS2AA.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -24,11 +24,11 @@ import {
24
24
  } from "./chunk-L6Q2EQPI.js";
25
25
  import {
26
26
  getScope
27
- } from "./chunk-P66MJG2R.js";
27
+ } from "./chunk-BDBG7347.js";
28
28
  import {
29
29
  getLinkedProject,
30
30
  getProjectByNameOrId
31
- } from "./chunk-CWRL2B64.js";
31
+ } from "./chunk-V2EPUZ7C.js";
32
32
  import "./chunk-4CIXZOP4.js";
33
33
  import {
34
34
  buildCommandWithGlobalFlags,