vercel 50.18.2 → 50.19.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 (43) hide show
  1. package/dist/chunks/{chunk-HAQM7DDK.js → chunk-2MJSFGZS.js} +215 -184
  2. package/dist/chunks/{chunk-D3SSMVKV.js → chunk-3SURE2SB.js} +7 -5
  3. package/dist/chunks/chunk-44XJ762S.js +1425 -0
  4. package/dist/chunks/{chunk-WOG776EK.js → chunk-D7KJ474Z.js} +10 -8
  5. package/dist/chunks/{chunk-NMFAE2KB.js → chunk-DMVJWPKI.js} +3 -3
  6. package/dist/chunks/{chunk-3P3CA2MR.js → chunk-G243P4VF.js} +4 -2
  7. package/dist/chunks/{chunk-OI4JQRXR.js → chunk-H5KCREKL.js} +1 -1
  8. package/dist/chunks/{chunk-4KX5EVTX.js → chunk-IKEWUNXZ.js} +184 -1566
  9. package/dist/chunks/{chunk-M6MXVQPN.js → chunk-J6YWAMNP.js} +1 -1
  10. package/dist/chunks/{chunk-IXLRJUPM.js → chunk-JJGNZCL5.js} +1 -1
  11. package/dist/chunks/{chunk-LNDSIOIS.js → chunk-KKM3S62U.js} +5 -38
  12. package/dist/chunks/{chunk-4VQC5OLM.js → chunk-L3DHDLSP.js} +1 -1
  13. package/dist/chunks/{chunk-JYEBYJGR.js → chunk-LVCLPRED.js} +10 -8
  14. package/dist/chunks/{chunk-XNBQIAUI.js → chunk-P7XFDONK.js} +4 -2
  15. package/dist/chunks/chunk-QD2PKTAS.js +209 -0
  16. package/dist/chunks/{chunk-ZKDXHUJG.js → chunk-QSOXE2OG.js} +4 -2
  17. package/dist/chunks/{chunk-LYJ6L6VT.js → chunk-R6RYCTYI.js} +21 -16
  18. package/dist/chunks/{chunk-LIXL4V7K.js → chunk-REMAC5DL.js} +15 -13
  19. package/dist/chunks/{chunk-HDJ5KSUM.js → chunk-RPCYSXCP.js} +4 -2
  20. package/dist/chunks/{chunk-D7ZDLHXW.js → chunk-S2GX77AQ.js} +2 -2
  21. package/dist/chunks/{chunk-4RBCS6BS.js → chunk-SHEWDEOW.js} +30 -11
  22. package/dist/chunks/{chunk-RMJRANZT.js → chunk-U3ESTHEF.js} +2 -2
  23. package/dist/chunks/{chunk-D5WTFIGZ.js → chunk-UFKHUDWY.js} +2 -1
  24. package/dist/chunks/{chunk-6E4E5FZF.js → chunk-VNKJKENX.js} +4 -2
  25. package/dist/chunks/chunk-WCF4U224.js +1204 -0
  26. package/dist/chunks/{chunk-MXGL5WN3.js → chunk-WLTI3R23.js} +6 -4
  27. package/dist/chunks/chunk-XPKWKPWA.js +44 -0
  28. package/dist/chunks/{chunk-7OS6A54O.js → chunk-YDHESKLS.js} +2 -2
  29. package/dist/chunks/{chunk-JIHHWW5Z.js → chunk-ZWVBLSNY.js} +1 -1
  30. package/dist/chunks/{compile-vercel-config-KVLAANKH.js → compile-vercel-config-NH5UUA5F.js} +3 -2
  31. package/dist/chunks/query-KVYNNPJM.js +424 -0
  32. package/dist/chunks/schema-6D2ICSJE.js +103 -0
  33. package/dist/commands/build/index.js +24 -22
  34. package/dist/commands/deploy/index.js +29 -26
  35. package/dist/commands/dev/index.js +29 -27
  36. package/dist/commands/env/index.js +22 -17
  37. package/dist/commands/link/index.js +15 -12
  38. package/dist/commands/list/index.js +20 -16
  39. package/dist/commands-bulk.js +604 -181
  40. package/dist/help.js +1 -1
  41. package/dist/index.js +44 -26
  42. package/dist/version.mjs +1 -1
  43. package/package.json +19 -19
@@ -6,17 +6,22 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  devCommand
9
- } from "./chunk-4VQC5OLM.js";
9
+ } from "./chunk-L3DHDLSP.js";
10
+ import {
11
+ metricsCommand
12
+ } from "./chunk-QD2PKTAS.js";
10
13
  import {
11
14
  listCommand
12
- } from "./chunk-JIHHWW5Z.js";
15
+ } from "./chunk-ZWVBLSNY.js";
13
16
  import {
14
17
  buildCommand,
15
18
  pullCommand
16
- } from "./chunk-6E4E5FZF.js";
19
+ } from "./chunk-VNKJKENX.js";
20
+ import {
21
+ envCommand
22
+ } from "./chunk-IKEWUNXZ.js";
17
23
  import {
18
24
  confirmOption,
19
- envCommand,
20
25
  forceOption,
21
26
  formatOption,
22
27
  jsonOption,
@@ -24,7 +29,7 @@ import {
24
29
  nextOption,
25
30
  packageName,
26
31
  yesOption
27
- } from "./chunk-4KX5EVTX.js";
32
+ } from "./chunk-44XJ762S.js";
28
33
  import {
29
34
  output_manager_default
30
35
  } from "./chunk-7K6FEHYP.js";
@@ -1933,177 +1938,6 @@ var inspectCommand = {
1933
1938
  ]
1934
1939
  };
1935
1940
 
1936
- // src/commands/install/command.ts
1937
- var installCommand = {
1938
- name: "install",
1939
- aliases: ["i"],
1940
- description: "Install an integration from the marketplace (alias for `integration add`)",
1941
- arguments: [
1942
- {
1943
- name: "integration",
1944
- required: true
1945
- }
1946
- ],
1947
- options: [],
1948
- examples: [
1949
- {
1950
- name: "Install an integration from the marketplace",
1951
- value: `${packageName} install acme`
1952
- },
1953
- {
1954
- name: "Install a specific product",
1955
- value: `${packageName} install acme/acme-redis`
1956
- }
1957
- ]
1958
- };
1959
-
1960
- // src/commands/integration-resource/command.ts
1961
- var removeSubcommand6 = {
1962
- name: "remove",
1963
- aliases: ["rm"],
1964
- description: "Delete an integration resource",
1965
- arguments: [
1966
- {
1967
- name: "resource",
1968
- required: true
1969
- }
1970
- ],
1971
- options: [
1972
- {
1973
- name: "disconnect-all",
1974
- description: "Disconnects all projects from the specified resource before deletion",
1975
- shorthand: "a",
1976
- type: Boolean,
1977
- deprecated: false
1978
- },
1979
- {
1980
- ...yesOption,
1981
- description: "Skip the confirmation prompt when deleting a resource"
1982
- }
1983
- ],
1984
- examples: [
1985
- {
1986
- name: "Delete a resource",
1987
- value: [
1988
- `${packageName} integration-resource remove <resource>`,
1989
- `${packageName} integration-resource remove my-acme-resource`
1990
- ]
1991
- },
1992
- {
1993
- name: "Disconnect all projects from a resource, then delete it",
1994
- value: [
1995
- `${packageName} integration-resource remove <resource> --disconnect-all`,
1996
- `${packageName} integration-resource remove my-acme-resource --disconnect-all`,
1997
- `${packageName} integration-resource remove my-acme-resource -a`
1998
- ]
1999
- }
2000
- ]
2001
- };
2002
- var disconnectSubcommand2 = {
2003
- name: "disconnect",
2004
- aliases: [],
2005
- description: "Disconnect a resource from a project, or the current project",
2006
- arguments: [
2007
- {
2008
- name: "resource",
2009
- required: true
2010
- },
2011
- {
2012
- name: "project",
2013
- required: false
2014
- }
2015
- ],
2016
- options: [
2017
- {
2018
- name: "all",
2019
- description: "Disconnects all projects from the specified resource",
2020
- shorthand: "a",
2021
- type: Boolean,
2022
- deprecated: false
2023
- },
2024
- {
2025
- ...yesOption,
2026
- description: "Skip the confirmation prompt when disconnecting a resource"
2027
- }
2028
- ],
2029
- examples: [
2030
- {
2031
- name: "Disconnect a resource from the current project",
2032
- value: [
2033
- `${packageName} integration-resource disconnect <resource>`,
2034
- `${packageName} integration-resource disconnect my-acme-resource`
2035
- ]
2036
- },
2037
- {
2038
- name: "Disconnect all projects from a resource",
2039
- value: [
2040
- `${packageName} integration-resource disconnect <resource> --all`,
2041
- `${packageName} integration-resource disconnect my-acme-resource --all`,
2042
- `${packageName} integration-resource disconnect my-acme-resource -a`
2043
- ]
2044
- },
2045
- {
2046
- name: "Disconnect a resource from a specified project",
2047
- value: [
2048
- `${packageName} integration-resource disconnect <resource> <project>`,
2049
- `${packageName} integration-resource disconnect my-acme-resource my-project`
2050
- ]
2051
- }
2052
- ]
2053
- };
2054
- var createThresholdSubcommand = {
2055
- name: "create-threshold",
2056
- aliases: [],
2057
- description: "Creates a threshold for a resource (or installation, if the integration uses installation-level thresholds)",
2058
- arguments: [
2059
- {
2060
- name: "resource",
2061
- required: true
2062
- },
2063
- {
2064
- name: "minimum",
2065
- required: true
2066
- },
2067
- {
2068
- name: "spend",
2069
- required: true
2070
- },
2071
- {
2072
- name: "limit",
2073
- required: true
2074
- }
2075
- ],
2076
- options: [
2077
- {
2078
- ...yesOption,
2079
- description: "Skip the confirmation prompt when creating a threshold"
2080
- }
2081
- ],
2082
- examples: [
2083
- {
2084
- name: "create threshold",
2085
- value: [
2086
- `${packageName} integration-resource create-threshold <resource> <minimum> <spend> <limit> [options]`,
2087
- `${packageName} integration-resource create-threshold my-acme-resource 100 50 2000`,
2088
- `${packageName} integration-resource create-threshold my-acme-resource 100 50 2000 --yes`
2089
- ]
2090
- }
2091
- ]
2092
- };
2093
- var integrationResourceCommand = {
2094
- name: "integration-resource",
2095
- aliases: ["ir"],
2096
- description: "Manage marketplace integration resources",
2097
- options: [],
2098
- arguments: [],
2099
- subcommands: [
2100
- createThresholdSubcommand,
2101
- disconnectSubcommand2,
2102
- removeSubcommand6
2103
- ],
2104
- examples: []
2105
- };
2106
-
2107
1941
  // src/commands/integration/command.ts
2108
1942
  var addSubcommand6 = {
2109
1943
  name: "add",
@@ -2153,6 +1987,14 @@ var addSubcommand6 = {
2153
1987
  type: Boolean,
2154
1988
  deprecated: false,
2155
1989
  description: "Skip running env pull after provisioning"
1990
+ },
1991
+ {
1992
+ name: "environment",
1993
+ shorthand: "e",
1994
+ type: [String],
1995
+ deprecated: false,
1996
+ argument: "ENV",
1997
+ description: "Environment to connect (can be repeated: production, preview, development). Defaults to all."
2156
1998
  }
2157
1999
  ],
2158
2000
  examples: [
@@ -2193,6 +2035,21 @@ var addSubcommand6 = {
2193
2035
  `${packageName} integration add acme -p pro`
2194
2036
  ]
2195
2037
  },
2038
+ {
2039
+ name: "Install and connect to specific environments only",
2040
+ value: [
2041
+ `${packageName} integration add acme --environment production`,
2042
+ `${packageName} integration add acme -e production -e preview`
2043
+ ]
2044
+ },
2045
+ {
2046
+ name: "Install without connecting to the current project",
2047
+ value: `${packageName} integration add acme --no-connect`
2048
+ },
2049
+ {
2050
+ name: "Install without pulling environment variables",
2051
+ value: `${packageName} integration add acme --no-env-pull`
2052
+ },
2196
2053
  {
2197
2054
  name: "Show available products for an integration",
2198
2055
  value: `${packageName} integration add acme --help`
@@ -2316,7 +2173,7 @@ var balanceSubcommand = {
2316
2173
  }
2317
2174
  ]
2318
2175
  };
2319
- var removeSubcommand7 = {
2176
+ var removeSubcommand6 = {
2320
2177
  name: "remove",
2321
2178
  aliases: [],
2322
2179
  description: "Uninstalls a marketplace integration",
@@ -2354,7 +2211,7 @@ var integrationCommand = {
2354
2211
  listSubcommand7,
2355
2212
  discoverSubcommand,
2356
2213
  openSubcommand,
2357
- removeSubcommand7
2214
+ removeSubcommand6
2358
2215
  ],
2359
2216
  examples: [
2360
2217
  {
@@ -2364,6 +2221,177 @@ var integrationCommand = {
2364
2221
  ]
2365
2222
  };
2366
2223
 
2224
+ // src/commands/install/command.ts
2225
+ var installCommand = {
2226
+ name: "install",
2227
+ aliases: ["i"],
2228
+ description: "Install an integration from the marketplace (alias for `integration add`)",
2229
+ arguments: [
2230
+ {
2231
+ name: "integration",
2232
+ required: true
2233
+ }
2234
+ ],
2235
+ options: addSubcommand6.options,
2236
+ examples: [
2237
+ {
2238
+ name: "Install an integration from the marketplace",
2239
+ value: `${packageName} install acme`
2240
+ },
2241
+ {
2242
+ name: "Install a specific product",
2243
+ value: `${packageName} install acme/acme-redis`
2244
+ }
2245
+ ]
2246
+ };
2247
+
2248
+ // src/commands/integration-resource/command.ts
2249
+ var removeSubcommand7 = {
2250
+ name: "remove",
2251
+ aliases: ["rm"],
2252
+ description: "Delete an integration resource",
2253
+ arguments: [
2254
+ {
2255
+ name: "resource",
2256
+ required: true
2257
+ }
2258
+ ],
2259
+ options: [
2260
+ {
2261
+ name: "disconnect-all",
2262
+ description: "Disconnects all projects from the specified resource before deletion",
2263
+ shorthand: "a",
2264
+ type: Boolean,
2265
+ deprecated: false
2266
+ },
2267
+ {
2268
+ ...yesOption,
2269
+ description: "Skip the confirmation prompt when deleting a resource"
2270
+ }
2271
+ ],
2272
+ examples: [
2273
+ {
2274
+ name: "Delete a resource",
2275
+ value: [
2276
+ `${packageName} integration-resource remove <resource>`,
2277
+ `${packageName} integration-resource remove my-acme-resource`
2278
+ ]
2279
+ },
2280
+ {
2281
+ name: "Disconnect all projects from a resource, then delete it",
2282
+ value: [
2283
+ `${packageName} integration-resource remove <resource> --disconnect-all`,
2284
+ `${packageName} integration-resource remove my-acme-resource --disconnect-all`,
2285
+ `${packageName} integration-resource remove my-acme-resource -a`
2286
+ ]
2287
+ }
2288
+ ]
2289
+ };
2290
+ var disconnectSubcommand2 = {
2291
+ name: "disconnect",
2292
+ aliases: [],
2293
+ description: "Disconnect a resource from a project, or the current project",
2294
+ arguments: [
2295
+ {
2296
+ name: "resource",
2297
+ required: true
2298
+ },
2299
+ {
2300
+ name: "project",
2301
+ required: false
2302
+ }
2303
+ ],
2304
+ options: [
2305
+ {
2306
+ name: "all",
2307
+ description: "Disconnects all projects from the specified resource",
2308
+ shorthand: "a",
2309
+ type: Boolean,
2310
+ deprecated: false
2311
+ },
2312
+ {
2313
+ ...yesOption,
2314
+ description: "Skip the confirmation prompt when disconnecting a resource"
2315
+ }
2316
+ ],
2317
+ examples: [
2318
+ {
2319
+ name: "Disconnect a resource from the current project",
2320
+ value: [
2321
+ `${packageName} integration-resource disconnect <resource>`,
2322
+ `${packageName} integration-resource disconnect my-acme-resource`
2323
+ ]
2324
+ },
2325
+ {
2326
+ name: "Disconnect all projects from a resource",
2327
+ value: [
2328
+ `${packageName} integration-resource disconnect <resource> --all`,
2329
+ `${packageName} integration-resource disconnect my-acme-resource --all`,
2330
+ `${packageName} integration-resource disconnect my-acme-resource -a`
2331
+ ]
2332
+ },
2333
+ {
2334
+ name: "Disconnect a resource from a specified project",
2335
+ value: [
2336
+ `${packageName} integration-resource disconnect <resource> <project>`,
2337
+ `${packageName} integration-resource disconnect my-acme-resource my-project`
2338
+ ]
2339
+ }
2340
+ ]
2341
+ };
2342
+ var createThresholdSubcommand = {
2343
+ name: "create-threshold",
2344
+ aliases: [],
2345
+ description: "Creates a threshold for a resource (or installation, if the integration uses installation-level thresholds)",
2346
+ arguments: [
2347
+ {
2348
+ name: "resource",
2349
+ required: true
2350
+ },
2351
+ {
2352
+ name: "minimum",
2353
+ required: true
2354
+ },
2355
+ {
2356
+ name: "spend",
2357
+ required: true
2358
+ },
2359
+ {
2360
+ name: "limit",
2361
+ required: true
2362
+ }
2363
+ ],
2364
+ options: [
2365
+ {
2366
+ ...yesOption,
2367
+ description: "Skip the confirmation prompt when creating a threshold"
2368
+ }
2369
+ ],
2370
+ examples: [
2371
+ {
2372
+ name: "create threshold",
2373
+ value: [
2374
+ `${packageName} integration-resource create-threshold <resource> <minimum> <spend> <limit> [options]`,
2375
+ `${packageName} integration-resource create-threshold my-acme-resource 100 50 2000`,
2376
+ `${packageName} integration-resource create-threshold my-acme-resource 100 50 2000 --yes`
2377
+ ]
2378
+ }
2379
+ ]
2380
+ };
2381
+ var integrationResourceCommand = {
2382
+ name: "integration-resource",
2383
+ aliases: ["ir"],
2384
+ description: "Manage marketplace integration resources",
2385
+ options: [],
2386
+ arguments: [],
2387
+ subcommands: [
2388
+ createThresholdSubcommand,
2389
+ disconnectSubcommand2,
2390
+ removeSubcommand7
2391
+ ],
2392
+ examples: []
2393
+ };
2394
+
2367
2395
  // src/commands/login/command.ts
2368
2396
  var loginCommand = {
2369
2397
  name: "login",
@@ -4162,6 +4190,9 @@ var commandsStructs = [
4162
4190
  if (process.env.FF_GUIDANCE_MODE) {
4163
4191
  commandsStructs.push(guidanceCommand);
4164
4192
  }
4193
+ if (process.env.FF_METRICS) {
4194
+ commandsStructs.push(metricsCommand);
4195
+ }
4165
4196
  function getCommandAliases(command) {
4166
4197
  return [command.name].concat(command.aliases);
4167
4198
  }
@@ -4239,18 +4270,18 @@ export {
4239
4270
  httpstatCommand,
4240
4271
  initCommand,
4241
4272
  inspectCommand,
4242
- installCommand,
4243
- removeSubcommand6,
4244
- disconnectSubcommand2,
4245
- createThresholdSubcommand,
4246
- integrationResourceCommand,
4247
4273
  addSubcommand6 as addSubcommand5,
4248
4274
  openSubcommand,
4249
4275
  listSubcommand7,
4250
4276
  discoverSubcommand,
4251
4277
  balanceSubcommand,
4252
- removeSubcommand7,
4278
+ removeSubcommand6,
4253
4279
  integrationCommand,
4280
+ installCommand,
4281
+ removeSubcommand7,
4282
+ disconnectSubcommand2,
4283
+ createThresholdSubcommand,
4284
+ integrationResourceCommand,
4254
4285
  addSubcommand as addSubcommand6,
4255
4286
  linkCommand,
4256
4287
  loginCommand,
@@ -5,14 +5,16 @@ const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
- CantParseJSONFile,
9
- ConflictingConfigFiles,
10
- InvalidLocalConfig,
11
8
  VERCEL_DIR,
12
- getArgs,
13
9
  require_json_parse_better_errors,
14
10
  require_lib
15
- } from "./chunk-4KX5EVTX.js";
11
+ } from "./chunk-IKEWUNXZ.js";
12
+ import {
13
+ CantParseJSONFile,
14
+ ConflictingConfigFiles,
15
+ InvalidLocalConfig,
16
+ getArgs
17
+ } from "./chunk-44XJ762S.js";
16
18
  import {
17
19
  require_dist
18
20
  } from "./chunk-7K6FEHYP.js";