vercel 54.12.0 → 54.12.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-4F6CBPSE.js → add-5YK3M2KO.js} +4 -4
  2. package/dist/chunks/{chunk-HVYPWTJQ.js → chunk-222H5MYY.js} +27 -5
  3. package/dist/chunks/{chunk-WNYUBBFH.js → chunk-25I7H5PE.js} +2 -2
  4. package/dist/chunks/{chunk-ADBU633H.js → chunk-2RKOZW37.js} +1 -1
  5. package/dist/chunks/{chunk-LGWH2KFI.js → chunk-2VD6MP2S.js} +3 -3
  6. package/dist/chunks/{chunk-HYFP6VVA.js → chunk-3PICWXS2.js} +2 -2
  7. package/dist/chunks/{chunk-OBWYK3NL.js → chunk-AMAIJW4M.js} +1 -1
  8. package/dist/chunks/{chunk-ZYNF76YT.js → chunk-ASVZLQHG.js} +340 -53
  9. package/dist/chunks/{chunk-NZDGG7W3.js → chunk-CLUKKIJ2.js} +1 -1
  10. package/dist/chunks/{chunk-7IAMAKFC.js → chunk-DW6I2NB5.js} +1 -1
  11. package/dist/chunks/{chunk-DITVV3KE.js → chunk-EACELZBS.js} +1 -1
  12. package/dist/chunks/{chunk-2WND2XFN.js → chunk-FVDFTZNG.js} +1 -1
  13. package/dist/chunks/{chunk-IOV7PLXQ.js → chunk-H5BA73FD.js} +4 -4
  14. package/dist/chunks/{chunk-42PRZ45G.js → chunk-LCH4AM3G.js} +4 -4
  15. package/dist/chunks/{chunk-FJP2X2TE.js → chunk-LMA2ECMW.js} +2 -2
  16. package/dist/chunks/{chunk-NLEBTR3S.js → chunk-OKWVPKJJ.js} +1 -1
  17. package/dist/chunks/{chunk-APC5GMBX.js → chunk-OX7C563N.js} +1 -1
  18. package/dist/chunks/{chunk-IDTFK3CR.js → chunk-QNCTSLLG.js} +1 -1
  19. package/dist/chunks/{chunk-JRPLGVXQ.js → chunk-W3JJBXIV.js} +1 -1
  20. package/dist/chunks/{chunk-B744TFL4.js → chunk-XNIDT5YQ.js} +1 -1
  21. package/dist/chunks/{compile-vercel-config-CGU7GBYQ.js → compile-vercel-config-I3T4AEXU.js} +1 -1
  22. package/dist/chunks/{delete-XKC6CE3R.js → delete-OD4WVKF4.js} +2 -2
  23. package/dist/chunks/{disable-F2RLDMXX.js → disable-SH5IOSNN.js} +2 -2
  24. package/dist/chunks/{discard-N4MILEID.js → discard-UORFIAA7.js} +2 -2
  25. package/dist/chunks/{edit-PMIBPG7J.js → edit-XFOZPNOL.js} +3 -3
  26. package/dist/chunks/{enable-AON5KGOT.js → enable-EVLFH26N.js} +2 -2
  27. package/dist/chunks/{export-OQKO5JVC.js → export-WJSCQI55.js} +2 -2
  28. package/dist/chunks/{inspect-7TLOVORH.js → inspect-HWK54XQ6.js} +3 -3
  29. package/dist/chunks/{list-RJHF6SWM.js → list-IYZBA423.js} +2 -2
  30. package/dist/chunks/{list-SCOE3N4I.js → list-KZ647RZP.js} +3 -3
  31. package/dist/chunks/{ls-CFTCULV5.js → ls-ZCBISAGK.js} +4 -4
  32. package/dist/chunks/{publish-6VOT42HN.js → publish-YR3J3EPP.js} +2 -2
  33. package/dist/chunks/{query-OHEBAPTS.js → query-X2QQO76U.js} +2 -2
  34. package/dist/chunks/{reorder-GMIEF42H.js → reorder-MCF2HGT2.js} +2 -2
  35. package/dist/chunks/{restore-JY2JCHOY.js → restore-OYG5VNC5.js} +2 -2
  36. package/dist/chunks/{rm-FQB3M5YP.js → rm-P5AQ5QOK.js} +4 -4
  37. package/dist/chunks/{rule-inspect-2JWJRPGL.js → rule-inspect-PLVOGWS6.js} +4 -4
  38. package/dist/chunks/{rules-MULKOWZ5.js → rules-EVN4EVS7.js} +6 -6
  39. package/dist/chunks/{schema-4YC2WD3R.js → schema-QMTPSIKA.js} +2 -2
  40. package/dist/chunks/{update-T4SXDA7F.js → update-3ZZK7JLD.js} +4 -4
  41. package/dist/commands/build/index.js +9 -9
  42. package/dist/commands/deploy/index.js +10 -10
  43. package/dist/commands/dev/index.js +8 -8
  44. package/dist/commands/env/index.js +4 -4
  45. package/dist/commands/link/index.js +7 -7
  46. package/dist/commands/list/index.js +3 -3
  47. package/dist/commands-bulk.js +156 -97
  48. package/dist/index.js +8 -8
  49. package/dist/version.mjs +1 -1
  50. package/package.json +18 -18
@@ -9,8 +9,8 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesCollectionPath
12
- } from "./chunk-7IAMAKFC.js";
13
- import "./chunk-HYFP6VVA.js";
12
+ } from "./chunk-DW6I2NB5.js";
13
+ import "./chunk-3PICWXS2.js";
14
14
  import "./chunk-5SYDEK2N.js";
15
15
  import {
16
16
  validateJsonOutput
@@ -21,8 +21,8 @@ import {
21
21
  import {
22
22
  AGENT_REASON
23
23
  } from "./chunk-LJ5WXXG6.js";
24
- import "./chunk-ADBU633H.js";
25
- import "./chunk-IDTFK3CR.js";
24
+ import "./chunk-2RKOZW37.js";
25
+ import "./chunk-QNCTSLLG.js";
26
26
  import "./chunk-J5273CSE.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
@@ -25,10 +25,10 @@ import {
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-2WND2XFN.js";
28
+ } from "./chunk-FVDFTZNG.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-IDTFK3CR.js";
31
+ } from "./chunk-QNCTSLLG.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -641,6 +641,14 @@ var aliasCommand = {
641
641
  };
642
642
 
643
643
  // src/commands/api/command.ts
644
+ var specUrlOption = {
645
+ name: "spec-url",
646
+ shorthand: null,
647
+ type: String,
648
+ argument: "URL",
649
+ deprecated: false,
650
+ description: "Fetch endpoints from a custom OpenAPI spec URL instead of the public Vercel spec"
651
+ };
644
652
  var listSubcommand2 = {
645
653
  name: "list",
646
654
  aliases: ["ls"],
@@ -648,6 +656,7 @@ var listSubcommand2 = {
648
656
  arguments: [],
649
657
  options: [
650
658
  formatOption,
659
+ specUrlOption,
651
660
  {
652
661
  name: "refresh",
653
662
  shorthand: null,
@@ -664,6 +673,10 @@ var listSubcommand2 = {
664
673
  {
665
674
  name: "List all endpoints as JSON",
666
675
  value: `${packageName} api ls --format json`
676
+ },
677
+ {
678
+ name: "List endpoints from a custom OpenAPI spec",
679
+ value: `${packageName} api ls --spec-url https://openapi-internal.vercel.sh --refresh`
667
680
  }
668
681
  ]
669
682
  };
@@ -761,6 +774,7 @@ var apiCommand = {
761
774
  deprecated: false,
762
775
  description: "Force refresh the cached OpenAPI spec"
763
776
  },
777
+ specUrlOption,
764
778
  {
765
779
  name: "generate",
766
780
  shorthand: null,
@@ -809,6 +823,10 @@ var apiCommand = {
809
823
  {
810
824
  name: "Interactive mode (select endpoint)",
811
825
  value: `${packageName} api`
826
+ },
827
+ {
828
+ name: "Interactive mode with a custom OpenAPI spec",
829
+ value: `${packageName} api --spec-url https://openapi-internal.vercel.sh --refresh`
812
830
  }
813
831
  ]
814
832
  };
@@ -1357,7 +1375,7 @@ var createSubcommand2 = {
1357
1375
  type: String,
1358
1376
  argument: "JSON",
1359
1377
  deprecated: false,
1360
- description: "JSON object for non-managed connector creation. When set, posts directly to the connector create API."
1378
+ description: "JSON object for non-managed connector creation. When set, posts directly to the connector create API. Pass `@<path>` to read from a file or `@-` to read from stdin \u2014 recommended for secrets (e.g. client secrets), which leak into shell history when passed inline."
1361
1379
  },
1362
1380
  {
1363
1381
  name: "connector-type",
@@ -1415,8 +1433,12 @@ var createSubcommand2 = {
1415
1433
  value: `${packageName} connect create mcp.linear.app --name linear --data '{"clientId":"abc123"}'`
1416
1434
  },
1417
1435
  {
1418
- name: "Create a non-managed connector with an explicit connector type",
1419
- value: `${packageName} connect create slack --name my-bot --connector-type slack --data '{"appId":"A123","appName":"my-bot","clientId":"abc","clientSecret":"secret"}'`
1436
+ name: "Create a non-managed connector, reading credentials from a file (keeps secrets out of shell history)",
1437
+ value: `${packageName} connect create slack --name my-bot --connector-type slack --data @slack-app.json`
1438
+ },
1439
+ {
1440
+ name: "Create a non-managed connector, reading credentials from stdin",
1441
+ value: `cat slack-app.json | ${packageName} connect create slack --name my-bot --connector-type slack --data @-`
1420
1442
  },
1421
1443
  {
1422
1444
  name: "Output as JSON",
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-V5P25P7F.js";
10
10
  import {
11
11
  getLocalPathConfig
12
- } from "./chunk-APC5GMBX.js";
12
+ } from "./chunk-OX7C563N.js";
13
13
  import {
14
14
  DEFAULT_VERCEL_CONFIG_FILENAME,
15
15
  VERCEL_CONFIG_EXTENSIONS,
@@ -36,7 +36,7 @@ import {
36
36
  useKeypress,
37
37
  usePrefix,
38
38
  useState
39
- } from "./chunk-IDTFK3CR.js";
39
+ } from "./chunk-QNCTSLLG.js";
40
40
  import {
41
41
  require_load_json_file
42
42
  } from "./chunk-J5273CSE.js";
@@ -11,7 +11,7 @@ import {
11
11
  getTeamById,
12
12
  getUser,
13
13
  getVercelDirectory
14
- } from "./chunk-IDTFK3CR.js";
14
+ } from "./chunk-QNCTSLLG.js";
15
15
  import {
16
16
  TeamDeleted
17
17
  } from "./chunk-LN6B7ZI3.js";
@@ -10,10 +10,10 @@ import {
10
10
  } from "./chunk-LJ5WXXG6.js";
11
11
  import {
12
12
  getLocalPathConfig
13
- } from "./chunk-APC5GMBX.js";
13
+ } from "./chunk-OX7C563N.js";
14
14
  import {
15
15
  getScope
16
- } from "./chunk-ADBU633H.js";
16
+ } from "./chunk-2RKOZW37.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-IDTFK3CR.js";
50
+ } from "./chunk-QNCTSLLG.js";
51
51
  import {
52
52
  buildCommandWithGlobalFlags,
53
53
  outputAgentError,
@@ -12,11 +12,11 @@ import {
12
12
  } from "./chunk-LJ5WXXG6.js";
13
13
  import {
14
14
  getScope
15
- } from "./chunk-ADBU633H.js";
15
+ } from "./chunk-2RKOZW37.js";
16
16
  import {
17
17
  getLinkedProject,
18
18
  getProjectByNameOrId
19
- } from "./chunk-IDTFK3CR.js";
19
+ } from "./chunk-QNCTSLLG.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
  STANDARD_ENVIRONMENTS
9
- } from "./chunk-IDTFK3CR.js";
9
+ } from "./chunk-QNCTSLLG.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib