vercel 53.1.0 → 53.2.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.
- package/dist/chunks/{add-S3BUT3KQ.js → add-C7TQF4LB.js} +4 -4
- package/dist/chunks/{chunk-D2KD42ZV.js → chunk-2STWVKG7.js} +37 -5
- package/dist/chunks/{chunk-W7MR5OK3.js → chunk-2TJ5Y674.js} +2 -2
- package/dist/chunks/{chunk-7KSQOBO6.js → chunk-3GBASY24.js} +1 -1
- package/dist/chunks/{chunk-57OG3NFC.js → chunk-3LRN4Q7G.js} +4 -1
- package/dist/chunks/{chunk-QIHIANBF.js → chunk-3XU5UGVN.js} +1 -0
- package/dist/chunks/{chunk-RKBCXTHK.js → chunk-4DLW7XLJ.js} +1 -1
- package/dist/chunks/{chunk-WR7S7PWN.js → chunk-4M7OEHTY.js} +6 -6
- package/dist/chunks/{chunk-BQOJ2BDS.js → chunk-6N4RFT24.js} +5 -5
- package/dist/chunks/{chunk-2RFTQMCH.js → chunk-7FQIXP2G.js} +1 -1
- package/dist/chunks/{chunk-PD5HCBBY.js → chunk-AB7YF6KM.js} +12 -19
- package/dist/chunks/{chunk-IWGJIRFK.js → chunk-AMXEAJTC.js} +2 -2
- package/dist/chunks/{chunk-IC6EDRCI.js → chunk-FFKXMQXF.js} +2 -2
- package/dist/chunks/{chunk-CLLHWKQN.js → chunk-FK7LDWAI.js} +1 -1
- package/dist/chunks/{chunk-VLWTUL5F.js → chunk-FLZW555J.js} +3 -2
- package/dist/chunks/{chunk-NUDNH7KK.js → chunk-HQU26P3O.js} +5 -5
- package/dist/chunks/{chunk-WTXYVRTW.js → chunk-MAPNH6ND.js} +22 -12
- package/dist/chunks/{chunk-IFPIVLCE.js → chunk-MZVW2VM7.js} +80 -84
- package/dist/chunks/{chunk-WZZBS2SZ.js → chunk-QT4W4DLL.js} +1 -1
- package/dist/chunks/{chunk-BNAHPSLB.js → chunk-RJWHOSUL.js} +1 -1
- package/dist/chunks/{chunk-6DECDOGX.js → chunk-TPBMA2WF.js} +1 -1
- package/dist/chunks/{chunk-L3UAXRIV.js → chunk-X6H25N2H.js} +1 -1
- package/dist/chunks/{chunk-LOS2AA5C.js → chunk-YEGTCAP6.js} +3 -3
- package/dist/chunks/{compile-vercel-config-PJN7DW4H.js → compile-vercel-config-QKQSM6VM.js} +1 -1
- package/dist/chunks/{delete-TBPSIJ2Y.js → delete-LUW77HWU.js} +2 -2
- package/dist/chunks/{disable-6K46H3LF.js → disable-ITW6P3R3.js} +2 -2
- package/dist/chunks/{discard-7MMLSQCH.js → discard-GDFQ4V4V.js} +2 -2
- package/dist/chunks/{edit-OM7SMKFO.js → edit-ZN7PQWZH.js} +3 -3
- package/dist/chunks/{enable-EA7VELBO.js → enable-VTJNEZ5Q.js} +2 -2
- package/dist/chunks/{export-EDEVEIPT.js → export-54A2LINR.js} +2 -2
- package/dist/chunks/{inspect-AUTVRW5N.js → inspect-UMXWXZMZ.js} +3 -3
- package/dist/chunks/{list-ZA6FTW2G.js → list-JZMV62KB.js} +3 -3
- package/dist/chunks/{list-7A7YF7LJ.js → list-OJCLL4JA.js} +2 -2
- package/dist/chunks/{ls-57JSYP5Q.js → ls-B677IDAB.js} +4 -4
- package/dist/chunks/{publish-XRQG6WAA.js → publish-SI4H6WPL.js} +2 -2
- package/dist/chunks/{query-JWXCJWZG.js → query-2CL2LAOA.js} +2 -2
- package/dist/chunks/{reorder-5GYXEH5H.js → reorder-E6R3ZL6W.js} +2 -2
- package/dist/chunks/{restore-LYPACI5W.js → restore-ZVC2USSZ.js} +2 -2
- package/dist/chunks/{rm-XNGCDU4C.js → rm-F3ESGYZE.js} +4 -4
- package/dist/chunks/{rule-inspect-3WNGN6TA.js → rule-inspect-AWORVTNG.js} +4 -4
- package/dist/chunks/{rules-R5LVTCSA.js → rules-KSDPKR6Z.js} +6 -6
- package/dist/chunks/{schema-Q7VADI6C.js → schema-UGF5QQ3K.js} +2 -2
- package/dist/chunks/{update-HQI4PQCH.js → update-GXZVHW4O.js} +4 -4
- package/dist/commands/build/index.js +24 -15
- package/dist/commands/deploy/index.js +37 -15
- package/dist/commands/dev/index.js +9 -9
- package/dist/commands/env/index.js +16 -10
- package/dist/commands/link/index.js +14 -11
- package/dist/commands/list/index.js +4 -4
- package/dist/commands-bulk.js +57 -42
- package/dist/help.js +1 -1
- package/dist/index.js +11 -12
- package/dist/version.mjs +1 -1
- package/package.json +17 -22
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-TPBMA2WF.js";
|
|
13
|
+
import "./chunk-2TJ5Y674.js";
|
|
14
14
|
import "./chunk-HTOH3MSD.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
rulesAddSubcommand
|
|
20
20
|
} from "./chunk-P3H4MP5H.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-FLZW555J.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT_REASON
|
|
24
24
|
} from "./chunk-E3NE4SKN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-AB7YF6KM.js";
|
|
26
26
|
import "./chunk-4Z7KJQGN.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MZVW2VM7.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AB7YF6KM.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -189,6 +189,14 @@ var continueSubcommand = {
|
|
|
189
189
|
argument: "FORMAT",
|
|
190
190
|
deprecated: false,
|
|
191
191
|
description: "Compress the deployment code into an archive before uploading it"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: "error",
|
|
195
|
+
shorthand: null,
|
|
196
|
+
type: String,
|
|
197
|
+
argument: "MESSAGE",
|
|
198
|
+
deprecated: false,
|
|
199
|
+
description: "Mark the deployment as errored with a message"
|
|
192
200
|
}
|
|
193
201
|
],
|
|
194
202
|
examples: [
|
|
@@ -1336,6 +1344,13 @@ var createSubcommand2 = {
|
|
|
1336
1344
|
deprecated: false,
|
|
1337
1345
|
description: "Name of the Connex client"
|
|
1338
1346
|
},
|
|
1347
|
+
{
|
|
1348
|
+
name: "triggers",
|
|
1349
|
+
shorthand: null,
|
|
1350
|
+
type: Boolean,
|
|
1351
|
+
deprecated: false,
|
|
1352
|
+
description: "Enable webhook triggers for this client"
|
|
1353
|
+
},
|
|
1339
1354
|
formatOption
|
|
1340
1355
|
],
|
|
1341
1356
|
examples: [
|
|
@@ -1347,6 +1362,10 @@ var createSubcommand2 = {
|
|
|
1347
1362
|
name: "Create with a custom name",
|
|
1348
1363
|
value: `${packageName} connex create slack --name my-bot`
|
|
1349
1364
|
},
|
|
1365
|
+
{
|
|
1366
|
+
name: "Create with webhook triggers enabled",
|
|
1367
|
+
value: `${packageName} connex create slack --name my-bot --triggers`
|
|
1368
|
+
},
|
|
1350
1369
|
{
|
|
1351
1370
|
name: "Output as JSON",
|
|
1352
1371
|
value: `${packageName} connex create slack --format=json`
|
|
@@ -3142,7 +3161,6 @@ var firewallCommand = {
|
|
|
3142
3161
|
name: "firewall",
|
|
3143
3162
|
aliases: [],
|
|
3144
3163
|
description: "Manage your project's firewall rules, IP blocks, and system bypass configuration",
|
|
3145
|
-
hidden: true,
|
|
3146
3164
|
arguments: [],
|
|
3147
3165
|
subcommands: [
|
|
3148
3166
|
overviewSubcommand,
|
|
@@ -4853,7 +4871,8 @@ var loginCommand = {
|
|
|
4853
4871
|
name: "Sign in to your Vercel account.",
|
|
4854
4872
|
value: `${packageName} login`
|
|
4855
4873
|
}
|
|
4856
|
-
]
|
|
4874
|
+
],
|
|
4875
|
+
disabledGlobalOptions: ["token"]
|
|
4857
4876
|
};
|
|
4858
4877
|
|
|
4859
4878
|
// src/commands/logout/command.ts
|
|
@@ -5647,6 +5666,14 @@ var listSubcommand12 = {
|
|
|
5647
5666
|
shorthand: null,
|
|
5648
5667
|
type: Boolean,
|
|
5649
5668
|
deprecated: false
|
|
5669
|
+
},
|
|
5670
|
+
{
|
|
5671
|
+
name: "filter",
|
|
5672
|
+
shorthand: "f",
|
|
5673
|
+
type: String,
|
|
5674
|
+
argument: "NAME",
|
|
5675
|
+
description: "Filter projects by name (substring match)",
|
|
5676
|
+
deprecated: false
|
|
5650
5677
|
}
|
|
5651
5678
|
],
|
|
5652
5679
|
examples: [
|
|
@@ -5657,6 +5684,10 @@ var listSubcommand12 = {
|
|
|
5657
5684
|
{
|
|
5658
5685
|
name: "List projects using a deprecated Node.js version in JSON format",
|
|
5659
5686
|
value: `${packageName} project ls --update-required --format=json`
|
|
5687
|
+
},
|
|
5688
|
+
{
|
|
5689
|
+
name: "Filter projects by name",
|
|
5690
|
+
value: `${packageName} project ls --filter my-app`
|
|
5660
5691
|
}
|
|
5661
5692
|
]
|
|
5662
5693
|
};
|
|
@@ -6900,7 +6931,8 @@ var switchSubcommand = {
|
|
|
6900
6931
|
name: "Switch to a team. If your team's url is 'vercel.com/name', then 'name' is the slug. If the slug is omitted, you can choose interactively",
|
|
6901
6932
|
value: `${packageName} teams switch <slug>`
|
|
6902
6933
|
}
|
|
6903
|
-
]
|
|
6934
|
+
],
|
|
6935
|
+
disabledGlobalOptions: ["token"]
|
|
6904
6936
|
};
|
|
6905
6937
|
var inviteSubcommand = {
|
|
6906
6938
|
name: "invite",
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-HTOH3MSD.js";
|
|
10
10
|
import {
|
|
11
11
|
getScope
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FLZW555J.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-
|
|
19
|
+
} from "./chunk-AB7YF6KM.js";
|
|
20
20
|
import {
|
|
21
21
|
buildCommandWithGlobalFlags,
|
|
22
22
|
outputAgentError
|
|
@@ -226,13 +226,16 @@ function buildDescriptionLine(command, options) {
|
|
|
226
226
|
return `${wrappingText}${NEWLINE}`;
|
|
227
227
|
}
|
|
228
228
|
function buildHelpOutput(command, options) {
|
|
229
|
+
const filteredGlobalOptions = command.disabledGlobalOptions ? globalCommandOptions.filter(
|
|
230
|
+
(opt) => !command.disabledGlobalOptions?.includes(opt.name)
|
|
231
|
+
) : globalCommandOptions;
|
|
229
232
|
const outputArray = [
|
|
230
233
|
"",
|
|
231
234
|
buildCommandSynopsisLine(command, options.parent),
|
|
232
235
|
buildDescriptionLine(command, options),
|
|
233
236
|
buildSubcommandLines(command.subcommands, options),
|
|
234
237
|
buildCommandOptionLines(command.options, options, "Options"),
|
|
235
|
-
buildCommandOptionLines(
|
|
238
|
+
buildCommandOptionLines(filteredGlobalOptions, options, "Global Options"),
|
|
236
239
|
buildCommandExampleLines(command),
|
|
237
240
|
""
|
|
238
241
|
];
|
|
@@ -67,6 +67,7 @@ var help = () => `
|
|
|
67
67
|
deploy-hooks [cmd] Manage deploy hooks for Git-triggered builds
|
|
68
68
|
dns [name] Manages your DNS records
|
|
69
69
|
domains [name] Manages your domain names
|
|
70
|
+
firewall [cmd] Manages Vercel Firewall configuration and custom rules
|
|
70
71
|
httpstat path Visualize HTTP timing statistics for deployments
|
|
71
72
|
logs [url] Displays the logs for a deployment
|
|
72
73
|
metrics <metric> Queries observability metrics for your project or team
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
printIndications,
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YEGTCAP6.js";
|
|
13
13
|
import {
|
|
14
14
|
suggestNextCommands
|
|
15
15
|
} from "./chunk-LOS7HHU3.js";
|
|
@@ -19,23 +19,23 @@ import {
|
|
|
19
19
|
} from "./chunk-MSJX3VKI.js";
|
|
20
20
|
import {
|
|
21
21
|
CommandTimeout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2STWVKG7.js";
|
|
23
23
|
import {
|
|
24
24
|
getScope
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FLZW555J.js";
|
|
26
26
|
import {
|
|
27
27
|
ua_default
|
|
28
28
|
} from "./chunk-JCLLQ23G.js";
|
|
29
29
|
import {
|
|
30
30
|
showPluginTipIfNeeded
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MZVW2VM7.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-
|
|
38
|
+
} from "./chunk-AB7YF6KM.js";
|
|
39
39
|
import {
|
|
40
40
|
require_ms,
|
|
41
41
|
stamp_default
|
|
@@ -4531,7 +4531,7 @@ async function processDeployment({
|
|
|
4531
4531
|
var FunctionsSizeLimitError = class extends Error {
|
|
4532
4532
|
constructor() {
|
|
4533
4533
|
super(...arguments);
|
|
4534
|
-
this.link = "https://vercel.com/docs/
|
|
4534
|
+
this.link = "https://vercel.com/docs/functions/runtimes/python#extended-size-limits-with-functions-beta";
|
|
4535
4535
|
}
|
|
4536
4536
|
};
|
|
4537
4537
|
function handleErrorSolvableWithFunctionsBeta(error) {
|
|
@@ -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-
|
|
9
|
+
} from "./chunk-3GBASY24.js";
|
|
10
10
|
import {
|
|
11
11
|
login
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YEGTCAP6.js";
|
|
13
13
|
import {
|
|
14
14
|
apiCommand,
|
|
15
15
|
listSubcommand2 as listSubcommand,
|
|
16
16
|
loginCommand
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2STWVKG7.js";
|
|
18
18
|
import {
|
|
19
19
|
help
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3LRN4Q7G.js";
|
|
21
21
|
import {
|
|
22
22
|
global_path_default
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AB7YF6KM.js";
|
|
24
24
|
import {
|
|
25
25
|
TelemetryClient
|
|
26
26
|
} from "./chunk-4Z7KJQGN.js";
|
|
@@ -24588,6 +24588,7 @@ var require_detect_services = __commonJS({
|
|
|
24588
24588
|
hostRewrites: [],
|
|
24589
24589
|
rewrites: [],
|
|
24590
24590
|
defaults: [],
|
|
24591
|
+
fallbacks: [],
|
|
24591
24592
|
crons: [],
|
|
24592
24593
|
workers: []
|
|
24593
24594
|
};
|
|
@@ -24737,6 +24738,7 @@ var require_detect_services = __commonJS({
|
|
|
24737
24738
|
const hostRewrites = [];
|
|
24738
24739
|
const rewrites = [];
|
|
24739
24740
|
const defaults = [];
|
|
24741
|
+
const fallbacks = [];
|
|
24740
24742
|
const crons = [];
|
|
24741
24743
|
const workers = [];
|
|
24742
24744
|
const sortedWebServices = services.filter(
|
|
@@ -24773,13 +24775,12 @@ var require_detect_services = __commonJS({
|
|
|
24773
24775
|
}
|
|
24774
24776
|
if ((0, import_utils4.isStaticBuild)(service)) {
|
|
24775
24777
|
if (routePrefix === "/") {
|
|
24776
|
-
|
|
24777
|
-
defaults.push({
|
|
24778
|
+
fallbacks.push({
|
|
24778
24779
|
src: (0, import_routing_utils2.scopeRouteSourceToOwnership)("/(.*)", ownershipGuard),
|
|
24779
24780
|
dest: "/index.html"
|
|
24780
24781
|
});
|
|
24781
24782
|
} else {
|
|
24782
|
-
|
|
24783
|
+
fallbacks.push({
|
|
24783
24784
|
src: (0, import_routing_utils2.scopeRouteSourceToOwnership)(
|
|
24784
24785
|
`^/${normalizedPrefix}(?:/.*)?$`,
|
|
24785
24786
|
ownershipGuard
|
|
@@ -24817,7 +24818,7 @@ var require_detect_services = __commonJS({
|
|
|
24817
24818
|
check: true
|
|
24818
24819
|
});
|
|
24819
24820
|
}
|
|
24820
|
-
return { hostRewrites, rewrites, defaults, crons, workers };
|
|
24821
|
+
return { hostRewrites, rewrites, defaults, fallbacks, crons, workers };
|
|
24821
24822
|
}
|
|
24822
24823
|
function escapeRegex(str) {
|
|
24823
24824
|
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -25093,6 +25094,7 @@ var require_get_services_builders = __commonJS({
|
|
|
25093
25094
|
warnings: [],
|
|
25094
25095
|
hostRewriteRoutes: null,
|
|
25095
25096
|
defaultRoutes: null,
|
|
25097
|
+
fallbackRoutes: null,
|
|
25096
25098
|
redirectRoutes: null,
|
|
25097
25099
|
rewriteRoutes: null,
|
|
25098
25100
|
errorRoutes: null
|
|
@@ -25114,6 +25116,7 @@ var require_get_services_builders = __commonJS({
|
|
|
25114
25116
|
warnings: warningResponses,
|
|
25115
25117
|
hostRewriteRoutes: null,
|
|
25116
25118
|
defaultRoutes: null,
|
|
25119
|
+
fallbackRoutes: null,
|
|
25117
25120
|
redirectRoutes: null,
|
|
25118
25121
|
rewriteRoutes: null,
|
|
25119
25122
|
errorRoutes: null
|
|
@@ -25131,6 +25134,7 @@ var require_get_services_builders = __commonJS({
|
|
|
25131
25134
|
warnings: warningResponses,
|
|
25132
25135
|
hostRewriteRoutes: null,
|
|
25133
25136
|
defaultRoutes: null,
|
|
25137
|
+
fallbackRoutes: null,
|
|
25134
25138
|
redirectRoutes: null,
|
|
25135
25139
|
rewriteRoutes: null,
|
|
25136
25140
|
errorRoutes: null
|
|
@@ -25143,6 +25147,7 @@ var require_get_services_builders = __commonJS({
|
|
|
25143
25147
|
warnings: warningResponses,
|
|
25144
25148
|
hostRewriteRoutes: result.routes.hostRewrites.length > 0 ? result.routes.hostRewrites : null,
|
|
25145
25149
|
defaultRoutes: result.routes.defaults.length > 0 ? result.routes.defaults : null,
|
|
25150
|
+
fallbackRoutes: result.routes.fallbacks.length > 0 ? result.routes.fallbacks : null,
|
|
25146
25151
|
redirectRoutes: [],
|
|
25147
25152
|
rewriteRoutes: result.routes.rewrites.length > 0 || result.routes.workers.length > 0 || result.routes.crons.length > 0 ? [
|
|
25148
25153
|
...result.routes.rewrites,
|
|
@@ -26189,11 +26194,9 @@ var require_detect_file_system_api = __commonJS({
|
|
|
26189
26194
|
var require_get_project_paths = __commonJS({
|
|
26190
26195
|
"../fs-detectors/dist/get-project-paths.js"(exports, module) {
|
|
26191
26196
|
"use strict";
|
|
26192
|
-
var __create = Object.create;
|
|
26193
26197
|
var __defProp = Object.defineProperty;
|
|
26194
26198
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
26195
26199
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
26196
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
26197
26200
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
26198
26201
|
var __export2 = (target, all) => {
|
|
26199
26202
|
for (var name in all)
|
|
@@ -26207,14 +26210,6 @@ var require_get_project_paths = __commonJS({
|
|
|
26207
26210
|
}
|
|
26208
26211
|
return to;
|
|
26209
26212
|
};
|
|
26210
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
26211
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
26212
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
26213
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26214
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26215
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26216
|
-
mod
|
|
26217
|
-
));
|
|
26218
26213
|
var __toCommonJS2 = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
26219
26214
|
var get_project_paths_exports = {};
|
|
26220
26215
|
__export2(get_project_paths_exports, {
|
|
@@ -26222,7 +26217,7 @@ var require_get_project_paths = __commonJS({
|
|
|
26222
26217
|
});
|
|
26223
26218
|
module.exports = __toCommonJS2(get_project_paths_exports);
|
|
26224
26219
|
var import_detect_framework = require_detect_framework();
|
|
26225
|
-
var import_frameworks2 =
|
|
26220
|
+
var import_frameworks2 = require_frameworks();
|
|
26226
26221
|
var MAX_DEPTH_TRAVERSE = 3;
|
|
26227
26222
|
var getProjectPaths2 = async ({
|
|
26228
26223
|
fs: fs5,
|
|
@@ -26239,7 +26234,7 @@ var require_get_project_paths = __commonJS({
|
|
|
26239
26234
|
}
|
|
26240
26235
|
const framework = await (0, import_detect_framework.detectFramework)({
|
|
26241
26236
|
fs: fs5.chdir(topPath),
|
|
26242
|
-
frameworkList: import_frameworks2.
|
|
26237
|
+
frameworkList: import_frameworks2.frameworkList
|
|
26243
26238
|
});
|
|
26244
26239
|
if (framework !== null)
|
|
26245
26240
|
allPaths.push(topPath);
|
|
@@ -39164,7 +39159,7 @@ var require_package = __commonJS({
|
|
|
39164
39159
|
},
|
|
39165
39160
|
scripts: {
|
|
39166
39161
|
build: "node ../../utils/build.mjs",
|
|
39167
|
-
test: "
|
|
39162
|
+
test: "vitest run --config ../../vitest.config.mts",
|
|
39168
39163
|
"vitest-run": "vitest -c ./vitest.config.mts",
|
|
39169
39164
|
"vitest-unit": "glob --absolute 'tests/unit.*.test.ts'",
|
|
39170
39165
|
"vitest-e2e": "glob --absolute 'tests/integration-*.test.ts'",
|
|
@@ -39176,14 +39171,12 @@ var require_package = __commonJS({
|
|
|
39176
39171
|
devDependencies: {
|
|
39177
39172
|
"@types/async-retry": "1.4.5",
|
|
39178
39173
|
"@types/fs-extra": "7.0.0",
|
|
39179
|
-
"@types/jest": "27.4.1",
|
|
39180
39174
|
"@types/minimatch": "3.0.5",
|
|
39181
39175
|
"@types/ms": "0.7.30",
|
|
39182
39176
|
"@types/node": "20.11.0",
|
|
39183
39177
|
"@types/node-fetch": "2.5.4",
|
|
39184
39178
|
"@types/recursive-readdir": "2.2.0",
|
|
39185
39179
|
"@types/tar-fs": "1.16.1",
|
|
39186
|
-
"jest-junit": "16.0.0",
|
|
39187
39180
|
vitest: "2.0.1"
|
|
39188
39181
|
},
|
|
39189
39182
|
dependencies: {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-IB5L4LKZ.js";
|
|
10
10
|
import {
|
|
11
11
|
require_execa
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7FQIXP2G.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-
|
|
21
|
+
} from "./chunk-AB7YF6KM.js";
|
|
22
22
|
import {
|
|
23
23
|
CantParseJSONFile,
|
|
24
24
|
cmd,
|
|
@@ -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-
|
|
9
|
+
} from "./chunk-MAPNH6ND.js";
|
|
10
10
|
import {
|
|
11
11
|
getLinkedProject,
|
|
12
12
|
param,
|
|
13
13
|
resolveProjectCwd
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AB7YF6KM.js";
|
|
15
15
|
import {
|
|
16
16
|
buildCommandWithYes,
|
|
17
17
|
outputActionRequired
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
getTeamById,
|
|
12
12
|
getUser,
|
|
13
13
|
getVercelDirectory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AB7YF6KM.js";
|
|
15
15
|
import {
|
|
16
16
|
TeamDeleted
|
|
17
17
|
} from "./chunk-XZ7CVBQ4.js";
|
|
@@ -150,5 +150,6 @@ function detectCrossTeamRepo(repoConfig) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
export {
|
|
153
|
-
getScope
|
|
153
|
+
getScope,
|
|
154
|
+
detectExplicitScope
|
|
154
155
|
};
|
|
@@ -6,24 +6,24 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X6H25N2H.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FFKXMQXF.js";
|
|
13
13
|
import {
|
|
14
14
|
autoInstallVercelPlugin,
|
|
15
15
|
pullCommand
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MZVW2VM7.js";
|
|
17
17
|
import {
|
|
18
18
|
help
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3LRN4Q7G.js";
|
|
20
20
|
import {
|
|
21
21
|
VERCEL_DIR,
|
|
22
22
|
VERCEL_DIR_PROJECT,
|
|
23
23
|
envPullCommandLogic,
|
|
24
24
|
humanizePath,
|
|
25
25
|
parseTarget
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AB7YF6KM.js";
|
|
27
27
|
import {
|
|
28
28
|
TelemetryClient
|
|
29
29
|
} from "./chunk-4Z7KJQGN.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-
|
|
9
|
+
} from "./chunk-QT4W4DLL.js";
|
|
10
10
|
import {
|
|
11
11
|
table
|
|
12
12
|
} from "./chunk-ABDTA3V2.js";
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
getProjectByNameOrId,
|
|
23
23
|
getServicesConfigWriteBlocker,
|
|
24
24
|
getTeams,
|
|
25
|
-
getUser,
|
|
26
25
|
getVercelDirectory,
|
|
27
26
|
humanizePath,
|
|
28
27
|
isDirectory,
|
|
@@ -37,7 +36,7 @@ import {
|
|
|
37
36
|
selectAndParseRemoteUrl,
|
|
38
37
|
selectOrg,
|
|
39
38
|
writeServicesConfig
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-AB7YF6KM.js";
|
|
41
40
|
import {
|
|
42
41
|
printError
|
|
43
42
|
} from "./chunk-JNOMOD7R.js";
|
|
@@ -702,15 +701,26 @@ async function promptForInferredServicesSetup({
|
|
|
702
701
|
// src/util/projects/search-project-across-teams.ts
|
|
703
702
|
var import_slugify2 = __toESM(require_slugify(), 1);
|
|
704
703
|
async function searchProjectAcrossTeams(client, projectName) {
|
|
705
|
-
const
|
|
706
|
-
const
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
704
|
+
const teams = await getTeams(client);
|
|
705
|
+
const accessibleTeams = [];
|
|
706
|
+
const skippedSlugs = [];
|
|
707
|
+
for (const t of teams) {
|
|
708
|
+
if (t.limited) {
|
|
709
|
+
skippedSlugs.push(t.slug);
|
|
710
|
+
} else {
|
|
711
|
+
accessibleTeams.push(t);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
if (skippedSlugs.length > 0) {
|
|
715
|
+
output_manager_default.debug(
|
|
716
|
+
`Skipping limited teams during cross-team project search: ${skippedSlugs.join(", ")}`
|
|
717
|
+
);
|
|
718
|
+
}
|
|
719
|
+
const orgs = accessibleTeams.map((t) => ({
|
|
720
|
+
type: "team",
|
|
721
|
+
id: t.id,
|
|
722
|
+
slug: t.slug
|
|
723
|
+
}));
|
|
714
724
|
const slugifiedName = (0, import_slugify2.default)(projectName);
|
|
715
725
|
const searchNames = [projectName];
|
|
716
726
|
if (slugifiedName !== projectName) {
|