vercel 51.8.0 → 52.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 (51) hide show
  1. package/dist/chunks/{add-6TAGTCM2.js → add-32PTAGQE.js} +4 -4
  2. package/dist/chunks/{chunk-R4ZPBOD7.js → chunk-2OPPBD5D.js} +76 -6
  3. package/dist/chunks/{chunk-UP2QQYRS.js → chunk-3Q7JX627.js} +2 -2
  4. package/dist/chunks/{chunk-KM6BIRA3.js → chunk-BNSXPMDP.js} +1 -1
  5. package/dist/chunks/{chunk-AQ4L3FS4.js → chunk-EG4NYQUS.js} +1 -1
  6. package/dist/chunks/{chunk-DQPDIHII.js → chunk-FOWUL5QD.js} +1 -1
  7. package/dist/chunks/{chunk-KUY7VLTK.js → chunk-FVWOH3F3.js} +1 -1
  8. package/dist/chunks/{chunk-BNVEZBEW.js → chunk-GJEZXG32.js} +4 -4
  9. package/dist/chunks/{chunk-BQI2CW7A.js → chunk-HUUTUVP5.js} +5 -5
  10. package/dist/chunks/{chunk-5VQMJCHT.js → chunk-I5IBRE7Q.js} +2 -2
  11. package/dist/chunks/{chunk-HRVQZZ3Q.js → chunk-JJBN66Y6.js} +1 -1
  12. package/dist/chunks/{chunk-UBOSX7RM.js → chunk-K7R6WOLC.js} +1 -1
  13. package/dist/chunks/{chunk-Y3HAJQCS.js → chunk-LY3PUG7C.js} +3 -3
  14. package/dist/chunks/{chunk-6WHQFFN2.js → chunk-OP4YIHHX.js} +1 -1
  15. package/dist/chunks/{chunk-H2PHTCJL.js → chunk-PEB65MJA.js} +2 -2
  16. package/dist/chunks/{chunk-45TDB64X.js → chunk-QQWE4QMB.js} +1 -1
  17. package/dist/chunks/{chunk-IHOJDWAH.js → chunk-UC4NDDAU.js} +4 -4
  18. package/dist/chunks/{chunk-SKXUP3WW.js → chunk-US5SYA7N.js} +1 -1
  19. package/dist/chunks/{chunk-CUCRUPRY.js → chunk-V67XYW74.js} +1 -1
  20. package/dist/chunks/{chunk-U7MQBM3F.js → chunk-VPI2ZRPP.js} +20 -3
  21. package/dist/chunks/{chunk-N5IS4YW4.js → chunk-YLGCZTHB.js} +21 -3
  22. package/dist/chunks/{compile-vercel-config-3LQ66C4J.js → compile-vercel-config-RAC75XPY.js} +1 -1
  23. package/dist/chunks/{delete-57Y647IJ.js → delete-VBCRT33S.js} +2 -2
  24. package/dist/chunks/{disable-E7QAIMBG.js → disable-4AGI6NFV.js} +2 -2
  25. package/dist/chunks/{discard-6JNSEHUD.js → discard-JUCF555L.js} +2 -2
  26. package/dist/chunks/{edit-XKOVDTOO.js → edit-NNTNLAVV.js} +3 -3
  27. package/dist/chunks/{enable-HXRMVTBB.js → enable-DCCSTYJV.js} +2 -2
  28. package/dist/chunks/{export-MRADQNKX.js → export-2VCMSLPY.js} +2 -2
  29. package/dist/chunks/{inspect-AOOSX4VO.js → inspect-TGMNTP57.js} +3 -3
  30. package/dist/chunks/{list-LQ4BDCK7.js → list-2EQRO64T.js} +2 -2
  31. package/dist/chunks/{list-YIDM3OOG.js → list-JQLSGKZN.js} +3 -3
  32. package/dist/chunks/{ls-7GZP6WNF.js → ls-XCMOFSVP.js} +4 -4
  33. package/dist/chunks/{publish-VPLDS2W7.js → publish-JY65X2KM.js} +2 -2
  34. package/dist/chunks/{query-SRFELIAP.js → query-ID2PPUU6.js} +2 -2
  35. package/dist/chunks/{reorder-UWAXWRXX.js → reorder-HYBSLO2T.js} +2 -2
  36. package/dist/chunks/{restore-YHQNMAGI.js → restore-33F7XKHU.js} +2 -2
  37. package/dist/chunks/{rm-HA373E4I.js → rm-D4MBLVAI.js} +4 -4
  38. package/dist/chunks/{rule-inspect-WMR7SVJY.js → rule-inspect-ZQQK2DV3.js} +4 -4
  39. package/dist/chunks/{rules-CPRD5HRH.js → rules-R2BZLO6I.js} +6 -6
  40. package/dist/chunks/{schema-AGVIOWAU.js → schema-3G43CXHB.js} +2 -2
  41. package/dist/chunks/{update-K5GTSDIT.js → update-MI26ZSNY.js} +4 -4
  42. package/dist/commands/build/index.js +9 -9
  43. package/dist/commands/deploy/index.js +10 -10
  44. package/dist/commands/dev/index.js +8 -8
  45. package/dist/commands/env/index.js +86 -7
  46. package/dist/commands/link/index.js +6 -6
  47. package/dist/commands/list/index.js +3 -3
  48. package/dist/commands-bulk.js +274 -89
  49. package/dist/index.js +9 -9
  50. package/dist/version.mjs +1 -1
  51. package/package.json +20 -20
@@ -9,10 +9,10 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesCollectionPath
12
- } from "./chunk-DQPDIHII.js";
13
- import "./chunk-UP2QQYRS.js";
12
+ } from "./chunk-FOWUL5QD.js";
13
+ import "./chunk-3Q7JX627.js";
14
14
  import "./chunk-HTOH3MSD.js";
15
- import "./chunk-CUCRUPRY.js";
15
+ import "./chunk-V67XYW74.js";
16
16
  import {
17
17
  validateJsonOutput
18
18
  } from "./chunk-XPKWKPWA.js";
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  AGENT_REASON
24
24
  } from "./chunk-E3NE4SKN.js";
25
- import "./chunk-U7MQBM3F.js";
25
+ import "./chunk-VPI2ZRPP.js";
26
26
  import "./chunk-U3WLEFHU.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
@@ -25,10 +25,10 @@ import {
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-UBOSX7RM.js";
28
+ } from "./chunk-K7R6WOLC.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-U7MQBM3F.js";
31
+ } from "./chunk-VPI2ZRPP.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -1396,13 +1396,78 @@ var listSubcommand4 = {
1396
1396
  }
1397
1397
  ]
1398
1398
  };
1399
+ var tokenSubcommand = {
1400
+ name: "token",
1401
+ aliases: [],
1402
+ description: "Get a token for a Connex client (accepts a client ID like scl_abc or a UID like slack/my-bot)",
1403
+ arguments: [
1404
+ {
1405
+ name: "id",
1406
+ required: true
1407
+ }
1408
+ ],
1409
+ options: [
1410
+ {
1411
+ name: "subject",
1412
+ shorthand: "s",
1413
+ type: String,
1414
+ argument: "TYPE",
1415
+ deprecated: false,
1416
+ description: `Subject type: "user" (default, acts on behalf of you) or "app" (uses the client's default installation)`
1417
+ },
1418
+ {
1419
+ name: "installation-id",
1420
+ shorthand: null,
1421
+ type: String,
1422
+ argument: "ID",
1423
+ deprecated: false,
1424
+ description: "Target a specific installation (only useful with --subject app; defaults to the client's default installation)"
1425
+ },
1426
+ {
1427
+ name: "scopes",
1428
+ shorthand: null,
1429
+ type: String,
1430
+ argument: "SCOPES",
1431
+ deprecated: false,
1432
+ description: "Scopes (comma- or space-separated)"
1433
+ },
1434
+ yesOption,
1435
+ formatOption
1436
+ ],
1437
+ examples: [
1438
+ {
1439
+ name: "Get a user token by client ID",
1440
+ value: `${packageName} connex token scl_abc123`
1441
+ },
1442
+ {
1443
+ name: "Get a token by client UID",
1444
+ value: `${packageName} connex token slack/my-bot`
1445
+ },
1446
+ {
1447
+ name: "Get an app token (default installation)",
1448
+ value: `${packageName} connex token scl_abc123 --subject app`
1449
+ },
1450
+ {
1451
+ name: "Get an app token for a specific installation",
1452
+ value: `${packageName} connex token scl_abc123 --subject app --installation-id inst_1`
1453
+ },
1454
+ {
1455
+ name: "Open the browser automatically if authorization/installation is required",
1456
+ value: `${packageName} connex token scl_abc123 --yes`
1457
+ },
1458
+ {
1459
+ name: "Output as JSON (includes expiresAt, installationId, etc.)",
1460
+ value: `${packageName} connex token scl_abc123 --format=json`
1461
+ }
1462
+ ]
1463
+ };
1399
1464
  var connexCommand = {
1400
1465
  name: "connex",
1401
1466
  aliases: [],
1402
1467
  description: "Manage Vercel Connect clients",
1403
1468
  arguments: [],
1404
1469
  options: [],
1405
- subcommands: [createSubcommand2, listSubcommand4],
1470
+ subcommands: [createSubcommand2, listSubcommand4, tokenSubcommand],
1406
1471
  examples: [
1407
1472
  {
1408
1473
  name: "Create a Slack app",
@@ -1411,6 +1476,10 @@ var connexCommand = {
1411
1476
  {
1412
1477
  name: "List Connex clients on the current team",
1413
1478
  value: `${packageName} connex list`
1479
+ },
1480
+ {
1481
+ name: "Get a token",
1482
+ value: `${packageName} connex token scl_abc123`
1414
1483
  }
1415
1484
  ]
1416
1485
  };
@@ -5540,7 +5609,7 @@ var renameSubcommand = {
5540
5609
  }
5541
5610
  ]
5542
5611
  };
5543
- var tokenSubcommand = {
5612
+ var tokenSubcommand2 = {
5544
5613
  name: "token",
5545
5614
  aliases: [],
5546
5615
  description: "Get a development OIDC token for a project",
@@ -5863,7 +5932,7 @@ var projectCommand = {
5863
5932
  speedInsightsSubcommand,
5864
5933
  renameSubcommand,
5865
5934
  removeSubcommand11,
5866
- tokenSubcommand
5935
+ tokenSubcommand2
5867
5936
  ],
5868
5937
  options: [],
5869
5938
  examples: []
@@ -7724,6 +7793,7 @@ export {
7724
7793
  certsCommand,
7725
7794
  createSubcommand2,
7726
7795
  listSubcommand4,
7796
+ tokenSubcommand,
7727
7797
  connexCommand,
7728
7798
  contractCommand,
7729
7799
  addSubcommand3 as addSubcommand2,
@@ -7862,7 +7932,7 @@ export {
7862
7932
  listSubcommand12,
7863
7933
  removeSubcommand11,
7864
7934
  renameSubcommand,
7865
- tokenSubcommand,
7935
+ tokenSubcommand2,
7866
7936
  accessSummarySubcommand,
7867
7937
  membersSubcommand,
7868
7938
  protectionSubcommand,
@@ -9,14 +9,14 @@ import {
9
9
  } from "./chunk-HTOH3MSD.js";
10
10
  import {
11
11
  getScope
12
- } from "./chunk-CUCRUPRY.js";
12
+ } from "./chunk-V67XYW74.js";
13
13
  import {
14
14
  AGENT_REASON
15
15
  } from "./chunk-E3NE4SKN.js";
16
16
  import {
17
17
  getLinkedProject,
18
18
  getProjectByNameOrId
19
- } from "./chunk-U7MQBM3F.js";
19
+ } from "./chunk-VPI2ZRPP.js";
20
20
  import {
21
21
  buildCommandWithGlobalFlags,
22
22
  outputAgentError
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-E3NE4SKN.js";
11
11
  import {
12
12
  getLinkedProject
13
- } from "./chunk-U7MQBM3F.js";
13
+ } from "./chunk-VPI2ZRPP.js";
14
14
  import {
15
15
  buildCommandWithYes,
16
16
  outputAgentError
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_end_of_stream,
9
9
  require_once
10
- } from "./chunk-U7MQBM3F.js";
10
+ } from "./chunk-VPI2ZRPP.js";
11
11
  import {
12
12
  require_signal_exit
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-UP2QQYRS.js";
9
+ } from "./chunk-3Q7JX627.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR,
9
9
  isVercelTomlEnabled
10
- } from "./chunk-U7MQBM3F.js";
10
+ } from "./chunk-VPI2ZRPP.js";
11
11
  import {
12
12
  getArgs
13
13
  } from "./chunk-RFMC2QXQ.js";
@@ -6,21 +6,21 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getUpdateCommand
9
- } from "./chunk-SKXUP3WW.js";
9
+ } from "./chunk-US5SYA7N.js";
10
10
  import {
11
11
  login
12
- } from "./chunk-Y3HAJQCS.js";
12
+ } from "./chunk-LY3PUG7C.js";
13
13
  import {
14
14
  apiCommand,
15
15
  listSubcommand2 as listSubcommand,
16
16
  loginCommand
17
- } from "./chunk-R4ZPBOD7.js";
17
+ } from "./chunk-2OPPBD5D.js";
18
18
  import {
19
19
  help
20
20
  } from "./chunk-LDXYSGPZ.js";
21
21
  import {
22
22
  global_path_default
23
- } from "./chunk-U7MQBM3F.js";
23
+ } from "./chunk-VPI2ZRPP.js";
24
24
  import {
25
25
  TelemetryClient
26
26
  } from "./chunk-U3WLEFHU.js";
@@ -9,7 +9,7 @@ import {
9
9
  printIndications,
10
10
  require_dist as require_dist2,
11
11
  sleep
12
- } from "./chunk-Y3HAJQCS.js";
12
+ } from "./chunk-LY3PUG7C.js";
13
13
  import {
14
14
  suggestNextCommands
15
15
  } from "./chunk-LOS7HHU3.js";
@@ -19,23 +19,23 @@ import {
19
19
  } from "./chunk-N45K6NXC.js";
20
20
  import {
21
21
  getScope
22
- } from "./chunk-CUCRUPRY.js";
22
+ } from "./chunk-V67XYW74.js";
23
23
  import {
24
24
  CommandTimeout
25
- } from "./chunk-R4ZPBOD7.js";
25
+ } from "./chunk-2OPPBD5D.js";
26
26
  import {
27
27
  ua_default
28
28
  } from "./chunk-4PQA6H63.js";
29
29
  import {
30
30
  showPluginTipIfNeeded
31
- } from "./chunk-UBOSX7RM.js";
31
+ } from "./chunk-K7R6WOLC.js";
32
32
  import {
33
33
  getProjectByNameOrId,
34
34
  param,
35
35
  require_dist as require_dist3,
36
36
  require_lib3 as require_lib,
37
37
  require_pluralize
38
- } from "./chunk-U7MQBM3F.js";
38
+ } from "./chunk-VPI2ZRPP.js";
39
39
  import {
40
40
  require_ms,
41
41
  stamp_default
@@ -6,12 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  setupAndLink
9
- } from "./chunk-H2PHTCJL.js";
9
+ } from "./chunk-PEB65MJA.js";
10
10
  import {
11
11
  getLinkedProject,
12
12
  param,
13
13
  resolveProjectCwd
14
- } from "./chunk-U7MQBM3F.js";
14
+ } from "./chunk-VPI2ZRPP.js";
15
15
  import {
16
16
  buildCommandWithYes,
17
17
  outputActionRequired
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatCondition,
9
9
  formatTransform
10
- } from "./chunk-KM6BIRA3.js";
10
+ } from "./chunk-BNSXPMDP.js";
11
11
  import {
12
12
  output_manager_default
13
13
  } from "./chunk-ZQKJVHXY.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  getEnvTargetPlaceholder,
12
12
  global_path_default
13
- } from "./chunk-U7MQBM3F.js";
13
+ } from "./chunk-VPI2ZRPP.js";
14
14
  import {
15
15
  yesOption
16
16
  } from "./chunk-RFMC2QXQ.js";
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-4PQA6H63.js";
13
13
  import {
14
14
  getLocalPathConfig
15
- } from "./chunk-KUY7VLTK.js";
15
+ } from "./chunk-FVWOH3F3.js";
16
16
  import {
17
17
  autoInstallVercelPlugin
18
- } from "./chunk-UBOSX7RM.js";
18
+ } from "./chunk-K7R6WOLC.js";
19
19
  import {
20
20
  DEFAULT_VERCEL_CONFIG_FILENAME,
21
21
  VERCEL_CONFIG_EXTENSIONS,
@@ -41,7 +41,7 @@ import {
41
41
  useKeypress,
42
42
  usePrefix,
43
43
  useState
44
- } from "./chunk-U7MQBM3F.js";
44
+ } from "./chunk-VPI2ZRPP.js";
45
45
  import {
46
46
  require_load_json_file,
47
47
  require_write_json_file
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-U7MQBM3F.js";
11
+ } from "./chunk-VPI2ZRPP.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
  getLocalPathConfig
9
- } from "./chunk-KUY7VLTK.js";
9
+ } from "./chunk-FVWOH3F3.js";
10
10
  import {
11
11
  table
12
12
  } from "./chunk-GE6G37P4.js";
@@ -37,7 +37,7 @@ import {
37
37
  selectAndParseRemoteUrl,
38
38
  selectOrg,
39
39
  writeServicesConfig
40
- } from "./chunk-U7MQBM3F.js";
40
+ } from "./chunk-VPI2ZRPP.js";
41
41
  import {
42
42
  printError
43
43
  } from "./chunk-RFMC2QXQ.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-U7MQBM3F.js";
9
+ } from "./chunk-VPI2ZRPP.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
@@ -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-6WHQFFN2.js";
9
+ } from "./chunk-OP4YIHHX.js";
10
10
  import {
11
11
  ensureLink
12
- } from "./chunk-5VQMJCHT.js";
12
+ } from "./chunk-I5IBRE7Q.js";
13
13
  import {
14
14
  autoInstallVercelPlugin,
15
15
  pullCommand
16
- } from "./chunk-UBOSX7RM.js";
16
+ } from "./chunk-K7R6WOLC.js";
17
17
  import {
18
18
  help
19
19
  } from "./chunk-LDXYSGPZ.js";
@@ -23,7 +23,7 @@ import {
23
23
  envPullCommandLogic,
24
24
  humanizePath,
25
25
  parseTarget
26
- } from "./chunk-U7MQBM3F.js";
26
+ } from "./chunk-VPI2ZRPP.js";
27
27
  import {
28
28
  TelemetryClient
29
29
  } from "./chunk-U3WLEFHU.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-U7MQBM3F.js";
9
+ } from "./chunk-VPI2ZRPP.js";
10
10
  import {
11
11
  packageName
12
12
  } from "./chunk-ECRBC4HL.js";
@@ -11,7 +11,7 @@ import {
11
11
  getTeamById,
12
12
  getUser,
13
13
  getVercelDirectory
14
- } from "./chunk-U7MQBM3F.js";
14
+ } from "./chunk-VPI2ZRPP.js";
15
15
  import {
16
16
  TeamDeleted
17
17
  } from "./chunk-ECRBC4HL.js";
@@ -25207,7 +25207,19 @@ var require_detect_builders = __commonJS({
25207
25207
  var import_build_utils5 = __require("@vercel/build-utils");
25208
25208
  var import_get_services_builders = require_get_services_builders();
25209
25209
  var REGEX_MIDDLEWARE_FILES = "middleware.[jt]s";
25210
- var REGEX_VERCEL_PLATFORM_FILES = `api/**,package.json,${REGEX_MIDDLEWARE_FILES}`;
25210
+ var REGEX_VERCEL_PLATFORM_FILES = [
25211
+ "api/**",
25212
+ "node_modules/**",
25213
+ REGEX_MIDDLEWARE_FILES,
25214
+ "package.json",
25215
+ "package-lock.json",
25216
+ "yarn.lock",
25217
+ "pnpm-lock.yaml",
25218
+ "bun.lock",
25219
+ "bun.lockb",
25220
+ ".gitignore",
25221
+ "README.md"
25222
+ ].join(",");
25211
25223
  var REGEX_NON_VERCEL_PLATFORM_FILES2 = `!{${REGEX_VERCEL_PLATFORM_FILES}}`;
25212
25224
  var slugToFramework = new Map(
25213
25225
  import_frameworks2.frameworkList.map((f) => [f.slug, f])
@@ -39137,7 +39149,7 @@ var require_package = __commonJS({
39137
39149
  "../client/package.json"(exports, module) {
39138
39150
  module.exports = {
39139
39151
  name: "@vercel/client",
39140
- version: "17.3.9",
39152
+ version: "17.3.10",
39141
39153
  main: "dist/index.js",
39142
39154
  typings: "dist/index.d.ts",
39143
39155
  homepage: "https://vercel.com",
@@ -55736,7 +55748,12 @@ var envCommand = {
55736
55748
  updateSubcommand
55737
55749
  ],
55738
55750
  options: [],
55739
- examples: []
55751
+ examples: [
55752
+ {
55753
+ name: "Run a command with Environment Variables from the linked Project",
55754
+ value: `${packageName} env run -- <command>`
55755
+ }
55756
+ ]
55740
55757
  };
55741
55758
 
55742
55759
  // src/util/parse-target.ts
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IB5L4LKZ.js";
10
10
  import {
11
11
  require_execa
12
- } from "./chunk-AQ4L3FS4.js";
12
+ } from "./chunk-EG4NYQUS.js";
13
13
  import {
14
14
  VERCEL_DIR,
15
15
  readJSONFile,
@@ -18,7 +18,7 @@ import {
18
18
  require_lib,
19
19
  require_minimatch,
20
20
  require_pluralize
21
- } from "./chunk-U7MQBM3F.js";
21
+ } from "./chunk-VPI2ZRPP.js";
22
22
  import {
23
23
  CantParseJSONFile,
24
24
  cmd,
@@ -10908,11 +10908,29 @@ __export(static_builder_exports, {
10908
10908
  var import_minimatch = __toESM(require_minimatch(), 1);
10909
10909
  import { shouldServe as defaultShouldServe } from "@vercel/build-utils";
10910
10910
  var version = 2;
10911
+ var ALWAYS_EXCLUDED_PREFIXES = [".git/", "node_modules/"];
10912
+ var ALWAYS_EXCLUDED_FILES = [
10913
+ "vercel.json",
10914
+ "vercel.toml",
10915
+ ".vercelignore",
10916
+ "now.json",
10917
+ ".nowignore"
10918
+ ];
10919
+ var DEFAULT_EXCLUDED_FILES = [
10920
+ ".gitignore",
10921
+ "package.json",
10922
+ "package-lock.json",
10923
+ "yarn.lock",
10924
+ "pnpm-lock.yaml",
10925
+ "bun.lock",
10926
+ "bun.lockb",
10927
+ "README.md"
10928
+ ];
10911
10929
  var build = async ({ entrypoint, files, config }) => {
10912
10930
  const output = {};
10913
10931
  const outputDirectory = config.zeroConfig ? config.outputDirectory : "";
10914
10932
  for (let [filename, fileFsRef] of Object.entries(files)) {
10915
- if (filename.startsWith(".git/") || filename === "vercel.json" || filename === "vercel.toml" || filename === ".vercelignore" || filename === "now.json" || filename === ".nowignore" || filename.startsWith(".env")) {
10933
+ if (ALWAYS_EXCLUDED_PREFIXES.some((prefix) => filename.startsWith(prefix)) || ALWAYS_EXCLUDED_FILES.includes(filename) || DEFAULT_EXCLUDED_FILES.includes(filename) || filename.startsWith(".env")) {
10916
10934
  continue;
10917
10935
  }
10918
10936
  if (entrypoint && !(entrypoint === filename || (0, import_minimatch.default)(filename, entrypoint, { dot: true }))) {
@@ -11,7 +11,7 @@ import {
11
11
  findSourceVercelConfigFile,
12
12
  getVercelConfigPath,
13
13
  normalizeConfig
14
- } from "./chunk-U7MQBM3F.js";
14
+ } from "./chunk-VPI2ZRPP.js";
15
15
  import "./chunk-U3WLEFHU.js";
16
16
  import "./chunk-XKHLPA6V.js";
17
17
  import "./chunk-CO5D46AG.js";
@@ -15,7 +15,7 @@ import {
15
15
  parseSubcommandArgs,
16
16
  resolveRoutes,
17
17
  withGlobalFlags
18
- } from "./chunk-KM6BIRA3.js";
18
+ } from "./chunk-BNSXPMDP.js";
19
19
  import {
20
20
  deleteSubcommand
21
21
  } from "./chunk-CRZM5WM2.js";
@@ -23,7 +23,7 @@ import {
23
23
  AGENT_REASON,
24
24
  AGENT_STATUS
25
25
  } from "./chunk-E3NE4SKN.js";
26
- import "./chunk-U7MQBM3F.js";
26
+ import "./chunk-VPI2ZRPP.js";
27
27
  import "./chunk-U3WLEFHU.js";
28
28
  import {
29
29
  outputAgentError
@@ -17,12 +17,12 @@ import {
17
17
  parseSubcommandArgs,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-KM6BIRA3.js";
20
+ } from "./chunk-BNSXPMDP.js";
21
21
  import {
22
22
  disableSubcommand
23
23
  } from "./chunk-CRZM5WM2.js";
24
24
  import "./chunk-E3NE4SKN.js";
25
- import "./chunk-U7MQBM3F.js";
25
+ import "./chunk-VPI2ZRPP.js";
26
26
  import "./chunk-U3WLEFHU.js";
27
27
  import {
28
28
  outputAgentError
@@ -17,12 +17,12 @@ import {
17
17
  parseSubcommandArgs,
18
18
  printDiffSummary,
19
19
  withGlobalFlags
20
- } from "./chunk-KM6BIRA3.js";
20
+ } from "./chunk-BNSXPMDP.js";
21
21
  import {
22
22
  discardSubcommand
23
23
  } from "./chunk-CRZM5WM2.js";
24
24
  import "./chunk-E3NE4SKN.js";
25
- import "./chunk-U7MQBM3F.js";
25
+ import "./chunk-VPI2ZRPP.js";
26
26
  import "./chunk-U3WLEFHU.js";
27
27
  import {
28
28
  outputAgentError
@@ -19,7 +19,7 @@ import {
19
19
  printRouteConfig,
20
20
  routingRuleToCurrentRoute,
21
21
  runInteractiveEditLoop
22
- } from "./chunk-HRVQZZ3Q.js";
22
+ } from "./chunk-JJBN66Y6.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-KM6BIRA3.js";
34
+ } from "./chunk-BNSXPMDP.js";
35
35
  import {
36
36
  editSubcommand
37
37
  } from "./chunk-CRZM5WM2.js";
38
38
  import "./chunk-E3NE4SKN.js";
39
- import "./chunk-U7MQBM3F.js";
39
+ import "./chunk-VPI2ZRPP.js";
40
40
  import "./chunk-U3WLEFHU.js";
41
41
  import {
42
42
  outputAgentError
@@ -17,12 +17,12 @@ import {
17
17
  parseSubcommandArgs,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-KM6BIRA3.js";
20
+ } from "./chunk-BNSXPMDP.js";
21
21
  import {
22
22
  enableSubcommand
23
23
  } from "./chunk-CRZM5WM2.js";
24
24
  import "./chunk-E3NE4SKN.js";
25
- import "./chunk-U7MQBM3F.js";
25
+ import "./chunk-VPI2ZRPP.js";
26
26
  import "./chunk-U3WLEFHU.js";
27
27
  import {
28
28
  outputAgentError
@@ -9,12 +9,12 @@ import {
9
9
  getRoutes,
10
10
  parseSubcommandArgs,
11
11
  withGlobalFlags
12
- } from "./chunk-KM6BIRA3.js";
12
+ } from "./chunk-BNSXPMDP.js";
13
13
  import {
14
14
  exportSubcommand
15
15
  } from "./chunk-CRZM5WM2.js";
16
16
  import "./chunk-E3NE4SKN.js";
17
- import "./chunk-U7MQBM3F.js";
17
+ import "./chunk-VPI2ZRPP.js";
18
18
  import "./chunk-U3WLEFHU.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-UP2QQYRS.js";
9
+ } from "./chunk-3Q7JX627.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-HTOH3MSD.js";
15
15
  import {
16
16
  getScope
17
- } from "./chunk-CUCRUPRY.js";
17
+ } from "./chunk-V67XYW74.js";
18
18
  import {
19
19
  validateJsonOutput
20
20
  } from "./chunk-XPKWKPWA.js";
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  getLinkedProject,
30
30
  getProjectByNameOrId
31
- } from "./chunk-U7MQBM3F.js";
31
+ } from "./chunk-VPI2ZRPP.js";
32
32
  import "./chunk-U3WLEFHU.js";
33
33
  import {
34
34
  buildCommandWithGlobalFlags,