vercel 50.34.2 → 50.35.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/{chunk-ZWEZD4HE.js → chunk-2MZ2A7NV.js} +1 -1
- package/dist/chunks/{chunk-JROBFZSI.js → chunk-3KZHRNXR.js} +1 -1
- package/dist/chunks/{chunk-RNT5JEAQ.js → chunk-5X5D56SC.js} +1 -1
- package/dist/chunks/{chunk-HJR5RISI.js → chunk-5ZVJYXLU.js} +1 -1
- package/dist/chunks/{chunk-5MLBV6EQ.js → chunk-7DONLUDG.js} +1 -1
- package/dist/chunks/{chunk-7EHTK7LP.js → chunk-AY4LBM3J.js} +36 -0
- package/dist/chunks/{chunk-4CH3GRTQ.js → chunk-CFMQN4KW.js} +2 -2
- package/dist/chunks/{chunk-OU6C3ORP.js → chunk-CTY6ZEQZ.js} +1 -1
- package/dist/chunks/{chunk-2C3YVTP2.js → chunk-E2FTX3MJ.js} +2 -2
- package/dist/chunks/{chunk-NS4YUFUD.js → chunk-E3DU27YT.js} +2 -2
- package/dist/chunks/{chunk-MXLADLCU.js → chunk-FB7VLWYT.js} +146 -11
- package/dist/chunks/{chunk-NK6KMEYH.js → chunk-H5CHJPPZ.js} +6 -61
- package/dist/chunks/{chunk-ONQVVMEM.js → chunk-JS6JXSM3.js} +1 -1
- package/dist/chunks/{chunk-IQZUWWYU.js → chunk-KN7ZKW46.js} +3 -3
- package/dist/chunks/{chunk-S23T6GGG.js → chunk-LCHBLUU5.js} +6 -6
- package/dist/chunks/{chunk-EST2W2RS.js → chunk-MPC4SSYA.js} +4 -4
- package/dist/chunks/{chunk-JC4Y7GCY.js → chunk-MRILE22L.js} +8 -8
- package/dist/chunks/chunk-MTX2A6OC.js +252 -0
- package/dist/chunks/{chunk-NEZW5RL2.js → chunk-MXPZBZ2X.js} +10 -0
- package/dist/chunks/{chunk-RLLFICPR.js → chunk-N7ABINT7.js} +8 -5
- package/dist/chunks/{chunk-WLKUBTU2.js → chunk-NQELOCER.js} +1 -1
- package/dist/chunks/{chunk-RV55YESO.js → chunk-O5OD4JWH.js} +3 -3
- package/dist/chunks/{chunk-CNIXN3FM.js → chunk-OD4DMLO7.js} +1 -1
- package/dist/chunks/{chunk-BCKMITCG.js → chunk-OTUROTQ2.js} +2 -2
- package/dist/chunks/{chunk-ZX3DVMZU.js → chunk-QIZEWDZG.js} +2 -2
- package/dist/chunks/{chunk-YQR7X2LL.js → chunk-QQ3CX3WN.js} +4 -4
- package/dist/chunks/{chunk-Y4TJLLMY.js → chunk-SV3GZCMS.js} +1 -1
- package/dist/chunks/{chunk-QWORIVK5.js → chunk-TLDVMWUJ.js} +1 -1
- package/dist/chunks/{chunk-DJAXYEGB.js → chunk-TX2H4WB5.js} +2 -2
- package/dist/chunks/{chunk-7NEEY4GT.js → chunk-U2VTKOYW.js} +3 -3
- package/dist/chunks/chunk-V7AUULPM.js +69 -0
- package/dist/chunks/{chunk-SVMRMING.js → chunk-VKEKG35M.js} +7 -5
- package/dist/chunks/{chunk-7T3BJ5FK.js → chunk-XNWJLL5I.js} +15 -75
- package/dist/chunks/{chunk-YFISAMQF.js → chunk-YPQHRLKW.js} +7 -7
- package/dist/chunks/{chunk-5X2QQI4Y.js → chunk-ZFRYHXOW.js} +1 -1
- package/dist/chunks/{compile-vercel-config-7OUMD4U5.js → compile-vercel-config-4P6ITRAJ.js} +4 -4
- package/dist/chunks/{delete-H7ZLOR5J.js → delete-MHRFOKQN.js} +10 -8
- package/dist/chunks/{disable-GWOJ2UCC.js → disable-6BCLBCQ2.js} +7 -6
- package/dist/chunks/{discard-EOJAG2ZH.js → discard-M4LLIIB2.js} +7 -6
- package/dist/chunks/{edit-IEKFEQSF.js → edit-53JQSSIV.js} +9 -8
- package/dist/chunks/{enable-VLNGVG6C.js → enable-BKGMRJ6N.js} +7 -6
- package/dist/chunks/{export-XLEVWQVD.js → export-T6SX6BHR.js} +7 -6
- package/dist/chunks/{list-Q5EB52C3.js → list-5KEEAHA2.js} +7 -7
- package/dist/chunks/{list-BU7O2NZP.js → list-KY5N5GFY.js} +6 -6
- package/dist/chunks/{publish-ZTF3MEVX.js → publish-YBLCN75N.js} +7 -6
- package/dist/chunks/{query-LAPVHDND.js → query-IQTIXHUP.js} +118 -63
- package/dist/chunks/{reorder-P6PXQUDG.js → reorder-YRQTCSJY.js} +7 -6
- package/dist/chunks/{restore-6UE5POEG.js → restore-UDUD6TWT.js} +7 -6
- package/dist/chunks/{routes-GMIJ6HLQ.js → routes-ZFV6XUH4.js} +2 -2
- package/dist/chunks/{schema-FOYE2R6S.js → schema-DU5ZM4TM.js} +45 -29
- package/dist/chunks/{types-PR63MVC6.js → types-AHFPPACX.js} +3 -3
- package/dist/commands/build/index.js +118 -25
- package/dist/commands/deploy/index.js +498 -96
- package/dist/commands/dev/index.js +14 -14
- package/dist/commands/env/index.js +17 -17
- package/dist/commands/link/index.js +17 -17
- package/dist/commands/list/index.js +10 -10
- package/dist/commands-bulk.js +1685 -652
- package/dist/index.js +38 -22
- package/dist/version.mjs +1 -1
- package/package.json +15 -15
- package/dist/chunks/chunk-BQ3DXZNT.js +0 -968
|
@@ -4,6 +4,11 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
+
import {
|
|
8
|
+
APIError,
|
|
9
|
+
InvalidToken,
|
|
10
|
+
MissingUser
|
|
11
|
+
} from "./chunk-N7ABINT7.js";
|
|
7
12
|
import {
|
|
8
13
|
__commonJS,
|
|
9
14
|
__require
|
|
@@ -354,6 +359,37 @@ var require_pluralize = __commonJS({
|
|
|
354
359
|
}
|
|
355
360
|
});
|
|
356
361
|
|
|
362
|
+
// src/util/get-user.ts
|
|
363
|
+
async function getUser(client) {
|
|
364
|
+
try {
|
|
365
|
+
const res = await client.fetch("/v2/user", {
|
|
366
|
+
useCurrentTeam: false
|
|
367
|
+
});
|
|
368
|
+
if (!res.user) {
|
|
369
|
+
throw new MissingUser();
|
|
370
|
+
}
|
|
371
|
+
return res.user;
|
|
372
|
+
} catch (error) {
|
|
373
|
+
if (error instanceof APIError && error.status === 403) {
|
|
374
|
+
throw new InvalidToken(client.authConfig.tokenSource);
|
|
375
|
+
}
|
|
376
|
+
throw error;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
// src/util/teams/get-team-by-id.ts
|
|
381
|
+
var teamCache = /* @__PURE__ */ new Map();
|
|
382
|
+
async function getTeamById(client, teamId) {
|
|
383
|
+
let team = teamCache.get(teamId);
|
|
384
|
+
if (!team) {
|
|
385
|
+
team = await client.fetch(`/teams/${teamId}`);
|
|
386
|
+
teamCache.set(teamId, team);
|
|
387
|
+
}
|
|
388
|
+
return team;
|
|
389
|
+
}
|
|
390
|
+
|
|
357
391
|
export {
|
|
392
|
+
getUser,
|
|
393
|
+
getTeamById,
|
|
358
394
|
require_pluralize
|
|
359
395
|
};
|
|
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
STANDARD_ENVIRONMENTS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XNWJLL5I.js";
|
|
10
10
|
import {
|
|
11
11
|
getCommandName,
|
|
12
12
|
require_lib
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N7ABINT7.js";
|
|
14
14
|
import {
|
|
15
15
|
output_manager_default
|
|
16
16
|
} from "./chunk-FDJURQMQ.js";
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XNWJLL5I.js";
|
|
10
10
|
import {
|
|
11
11
|
packageName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N7ABINT7.js";
|
|
13
13
|
import {
|
|
14
14
|
__toESM
|
|
15
15
|
} from "./chunk-TZ2YI2VH.js";
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
table
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CTY6ZEQZ.js";
|
|
10
10
|
import {
|
|
11
11
|
require_strip_ansi
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N7ABINT7.js";
|
|
13
13
|
import {
|
|
14
14
|
require_source
|
|
15
15
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -6,29 +6,29 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
routesCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SV3GZCMS.js";
|
|
10
10
|
import {
|
|
11
11
|
devCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZFRYHXOW.js";
|
|
13
13
|
import {
|
|
14
14
|
activityCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3KZHRNXR.js";
|
|
16
16
|
import {
|
|
17
17
|
alertsCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7DONLUDG.js";
|
|
19
19
|
import {
|
|
20
20
|
metricsCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-U2VTKOYW.js";
|
|
22
22
|
import {
|
|
23
23
|
listCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2MZ2A7NV.js";
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OTUROTQ2.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XNWJLL5I.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
nextOption,
|
|
39
39
|
packageName,
|
|
40
40
|
yesOption
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-N7ABINT7.js";
|
|
42
42
|
import {
|
|
43
43
|
output_manager_default
|
|
44
44
|
} from "./chunk-FDJURQMQ.js";
|
|
@@ -3287,6 +3287,131 @@ var mcpCommand = {
|
|
|
3287
3287
|
};
|
|
3288
3288
|
|
|
3289
3289
|
// src/commands/microfrontends/command.ts
|
|
3290
|
+
var createGroupSubcommand = {
|
|
3291
|
+
name: "create-group",
|
|
3292
|
+
aliases: [],
|
|
3293
|
+
description: "Create a new microfrontends group to compose multiple projects into one cohesive application with shared routing",
|
|
3294
|
+
arguments: [],
|
|
3295
|
+
options: [
|
|
3296
|
+
{
|
|
3297
|
+
name: "name",
|
|
3298
|
+
shorthand: null,
|
|
3299
|
+
type: String,
|
|
3300
|
+
deprecated: false,
|
|
3301
|
+
description: "Name of the microfrontends group"
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
name: "project",
|
|
3305
|
+
shorthand: null,
|
|
3306
|
+
type: [String],
|
|
3307
|
+
deprecated: false,
|
|
3308
|
+
description: "Project name to include (repeatable)"
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
name: "default-app",
|
|
3312
|
+
shorthand: null,
|
|
3313
|
+
type: String,
|
|
3314
|
+
deprecated: false,
|
|
3315
|
+
description: "Project name for the default application"
|
|
3316
|
+
},
|
|
3317
|
+
{
|
|
3318
|
+
name: "default-route",
|
|
3319
|
+
shorthand: null,
|
|
3320
|
+
type: String,
|
|
3321
|
+
deprecated: false,
|
|
3322
|
+
description: "Default route for the default application"
|
|
3323
|
+
}
|
|
3324
|
+
],
|
|
3325
|
+
examples: [
|
|
3326
|
+
{
|
|
3327
|
+
name: "Create a microfrontends group interactively",
|
|
3328
|
+
value: `${packageName} microfrontends create-group`
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
name: "Create a microfrontends group with flags",
|
|
3332
|
+
value: `${packageName} mf create-group --name="My Group" --project=web --project=docs --default-app=web`
|
|
3333
|
+
}
|
|
3334
|
+
]
|
|
3335
|
+
};
|
|
3336
|
+
var addToGroupSubcommand = {
|
|
3337
|
+
name: "add-to-group",
|
|
3338
|
+
aliases: [],
|
|
3339
|
+
description: "Add the current project to a microfrontends group so it can be independently deployed as part of the microfrontends group",
|
|
3340
|
+
arguments: [],
|
|
3341
|
+
options: [
|
|
3342
|
+
{
|
|
3343
|
+
name: "group",
|
|
3344
|
+
shorthand: null,
|
|
3345
|
+
type: String,
|
|
3346
|
+
deprecated: false,
|
|
3347
|
+
description: "Name of the microfrontends group to add to"
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
name: "default-route",
|
|
3351
|
+
shorthand: null,
|
|
3352
|
+
type: String,
|
|
3353
|
+
deprecated: false,
|
|
3354
|
+
description: "Default route for this project (e.g. /docs)"
|
|
3355
|
+
}
|
|
3356
|
+
],
|
|
3357
|
+
examples: [
|
|
3358
|
+
{
|
|
3359
|
+
name: "Add current project to a group interactively",
|
|
3360
|
+
value: `${packageName} microfrontends add-to-group`
|
|
3361
|
+
},
|
|
3362
|
+
{
|
|
3363
|
+
name: "Add current project to a group with flags",
|
|
3364
|
+
value: `${packageName} mf add-to-group --group="My Group" --default-route=/docs`
|
|
3365
|
+
}
|
|
3366
|
+
]
|
|
3367
|
+
};
|
|
3368
|
+
var removeFromGroupSubcommand = {
|
|
3369
|
+
name: "remove-from-group",
|
|
3370
|
+
aliases: [],
|
|
3371
|
+
description: "Remove the current project from its microfrontends group so it is no longer part of the composed application",
|
|
3372
|
+
arguments: [],
|
|
3373
|
+
options: [
|
|
3374
|
+
{
|
|
3375
|
+
...yesOption,
|
|
3376
|
+
description: "Skip project linking confirmation"
|
|
3377
|
+
}
|
|
3378
|
+
],
|
|
3379
|
+
examples: [
|
|
3380
|
+
{
|
|
3381
|
+
name: "Remove current project from its group interactively",
|
|
3382
|
+
value: `${packageName} microfrontends remove-from-group`
|
|
3383
|
+
}
|
|
3384
|
+
]
|
|
3385
|
+
};
|
|
3386
|
+
var deleteGroupSubcommand = {
|
|
3387
|
+
name: "delete-group",
|
|
3388
|
+
aliases: [],
|
|
3389
|
+
description: "Delete a microfrontends group and all of its settings. This action is not reversible.",
|
|
3390
|
+
arguments: [],
|
|
3391
|
+
options: [
|
|
3392
|
+
{
|
|
3393
|
+
...yesOption,
|
|
3394
|
+
description: "Skip project linking confirmation"
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
name: "group",
|
|
3398
|
+
shorthand: null,
|
|
3399
|
+
type: String,
|
|
3400
|
+
deprecated: false,
|
|
3401
|
+
description: "Name or ID of the microfrontends group to delete"
|
|
3402
|
+
}
|
|
3403
|
+
],
|
|
3404
|
+
examples: [
|
|
3405
|
+
{
|
|
3406
|
+
name: "Delete a microfrontends group interactively",
|
|
3407
|
+
value: `${packageName} microfrontends delete-group`
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
name: "Delete a microfrontends group with flags",
|
|
3411
|
+
value: `${packageName} mf delete-group --group="My Group"`
|
|
3412
|
+
}
|
|
3413
|
+
]
|
|
3414
|
+
};
|
|
3290
3415
|
var pullSubcommand = {
|
|
3291
3416
|
name: "pull",
|
|
3292
3417
|
aliases: [],
|
|
@@ -3319,9 +3444,15 @@ var pullSubcommand = {
|
|
|
3319
3444
|
var microfrontendsCommand = {
|
|
3320
3445
|
name: "microfrontends",
|
|
3321
3446
|
aliases: ["mf"],
|
|
3322
|
-
description: "
|
|
3447
|
+
description: "Manage microfrontends groups that compose multiple projects into one cohesive application",
|
|
3323
3448
|
arguments: [],
|
|
3324
|
-
subcommands: [
|
|
3449
|
+
subcommands: [
|
|
3450
|
+
createGroupSubcommand,
|
|
3451
|
+
addToGroupSubcommand,
|
|
3452
|
+
removeFromGroupSubcommand,
|
|
3453
|
+
deleteGroupSubcommand,
|
|
3454
|
+
pullSubcommand
|
|
3455
|
+
],
|
|
3325
3456
|
options: [],
|
|
3326
3457
|
examples: []
|
|
3327
3458
|
};
|
|
@@ -5158,6 +5289,10 @@ export {
|
|
|
5158
5289
|
CommandTimeout,
|
|
5159
5290
|
logsCommand,
|
|
5160
5291
|
mcpCommand,
|
|
5292
|
+
createGroupSubcommand,
|
|
5293
|
+
addToGroupSubcommand,
|
|
5294
|
+
removeFromGroupSubcommand,
|
|
5295
|
+
deleteGroupSubcommand,
|
|
5161
5296
|
pullSubcommand,
|
|
5162
5297
|
microfrontendsCommand,
|
|
5163
5298
|
openCommand,
|
|
@@ -4,11 +4,15 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
+
import {
|
|
8
|
+
AGENT_REASON,
|
|
9
|
+
AGENT_STATUS
|
|
10
|
+
} from "./chunk-V7AUULPM.js";
|
|
7
11
|
import {
|
|
8
12
|
buildCommandWithYes,
|
|
9
13
|
getLinkedProject,
|
|
10
14
|
outputAgentError
|
|
11
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XNWJLL5I.js";
|
|
12
16
|
import {
|
|
13
17
|
getCommandName,
|
|
14
18
|
getCommandNamePlain,
|
|
@@ -16,7 +20,7 @@ import {
|
|
|
16
20
|
getGlobalFlagsOnlyFromArgs,
|
|
17
21
|
parseArguments,
|
|
18
22
|
printError
|
|
19
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-N7ABINT7.js";
|
|
20
24
|
import {
|
|
21
25
|
output_manager_default
|
|
22
26
|
} from "./chunk-FDJURQMQ.js";
|
|
@@ -27,62 +31,6 @@ import {
|
|
|
27
31
|
__toESM
|
|
28
32
|
} from "./chunk-TZ2YI2VH.js";
|
|
29
33
|
|
|
30
|
-
// src/util/agent-output-constants.ts
|
|
31
|
-
var AGENT_STATUS = {
|
|
32
|
-
ERROR: "error",
|
|
33
|
-
ACTION_REQUIRED: "action_required",
|
|
34
|
-
OK: "ok"
|
|
35
|
-
};
|
|
36
|
-
var AGENT_REASON = {
|
|
37
|
-
// Common (use across dns, flags, routes, env, domains, link)
|
|
38
|
-
MISSING_ARGUMENTS: "missing_arguments",
|
|
39
|
-
INVALID_ARGUMENTS: "invalid_arguments",
|
|
40
|
-
CONFIRMATION_REQUIRED: "confirmation_required",
|
|
41
|
-
LOGIN_REQUIRED: "login_required",
|
|
42
|
-
NOT_LINKED: "not_linked",
|
|
43
|
-
NOT_FOUND: "not_found",
|
|
44
|
-
MISSING_SCOPE: "missing_scope",
|
|
45
|
-
API_ERROR: "api_error",
|
|
46
|
-
// Env
|
|
47
|
-
MISSING_REQUIREMENTS: "missing_requirements",
|
|
48
|
-
MISSING_NAME: "missing_name",
|
|
49
|
-
MISSING_VALUE: "missing_value",
|
|
50
|
-
MISSING_ENVIRONMENT: "missing_environment",
|
|
51
|
-
ENV_NOT_FOUND: "env_not_found",
|
|
52
|
-
MULTIPLE_ENVS: "multiple_envs",
|
|
53
|
-
ENV_FILE_EXISTS: "env_file_exists",
|
|
54
|
-
GIT_BRANCH_REQUIRED: "git_branch_required",
|
|
55
|
-
ENV_KEY_SENSITIVE: "env_key_sensitive",
|
|
56
|
-
// Routes
|
|
57
|
-
AMBIGUOUS_ROUTE: "ambiguous_route",
|
|
58
|
-
ROUTE_CREATE_FAILED: "route_create_failed",
|
|
59
|
-
ROUTE_GENERATION_FAILED: "route_generation_failed",
|
|
60
|
-
// DNS
|
|
61
|
-
DOMAIN_NOT_FOUND: "domain_not_found",
|
|
62
|
-
DNS_RECORD_NOT_FOUND: "dns_record_not_found",
|
|
63
|
-
INCOMPLETE_RECORD: "incomplete_record",
|
|
64
|
-
PERMISSION_DENIED: "permission_denied",
|
|
65
|
-
INVALID_PORT: "invalid_port",
|
|
66
|
-
INVALID_DNS_TYPE: "invalid_dns_type",
|
|
67
|
-
DNS_ADD_FAILED: "dns_add_failed",
|
|
68
|
-
INVALID_DOMAIN: "invalid_domain",
|
|
69
|
-
// Webhooks
|
|
70
|
-
MISSING_URL: "missing_url",
|
|
71
|
-
MISSING_EVENTS: "missing_events",
|
|
72
|
-
INVALID_URL: "invalid_url",
|
|
73
|
-
INVALID_EVENT: "invalid_event",
|
|
74
|
-
// Redirects
|
|
75
|
-
REDIRECT_NOT_FOUND: "redirect_not_found",
|
|
76
|
-
VERSION_NOT_FOUND: "version_not_found",
|
|
77
|
-
VERSION_ALREADY_LIVE: "version_already_live",
|
|
78
|
-
VERSION_IS_STAGING: "version_is_staging"
|
|
79
|
-
};
|
|
80
|
-
var AGENT_ACTION = {
|
|
81
|
-
MISSING_ARGUMENTS: "missing_arguments",
|
|
82
|
-
CONFIRMATION_REQUIRED: "confirmation_required",
|
|
83
|
-
LOGIN_REQUIRED: "login_required"
|
|
84
|
-
};
|
|
85
|
-
|
|
86
34
|
// src/util/routes/types.ts
|
|
87
35
|
var ROUTE_TYPE_LABELS = {
|
|
88
36
|
rewrite: "Rewrite",
|
|
@@ -499,9 +447,6 @@ async function getRoutes(client, projectId, options = {}) {
|
|
|
499
447
|
}
|
|
500
448
|
|
|
501
449
|
export {
|
|
502
|
-
AGENT_STATUS,
|
|
503
|
-
AGENT_REASON,
|
|
504
|
-
AGENT_ACTION,
|
|
505
450
|
getRouteTypeLabel,
|
|
506
451
|
getSrcSyntaxLabel,
|
|
507
452
|
withGlobalFlags,
|
|
@@ -6,18 +6,18 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MPC4SSYA.js";
|
|
10
10
|
import {
|
|
11
11
|
buildCommandWithYes,
|
|
12
12
|
getLinkedProject,
|
|
13
13
|
outputActionRequired,
|
|
14
14
|
param,
|
|
15
15
|
resolveProjectCwd
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XNWJLL5I.js";
|
|
17
17
|
import {
|
|
18
18
|
getCommandName,
|
|
19
19
|
getCommandNamePlain
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-N7ABINT7.js";
|
|
21
21
|
import {
|
|
22
22
|
output_manager_default
|
|
23
23
|
} from "./chunk-FDJURQMQ.js";
|
|
@@ -6,25 +6,25 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E2FTX3MJ.js";
|
|
10
10
|
import {
|
|
11
11
|
login
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VKEKG35M.js";
|
|
13
13
|
import {
|
|
14
14
|
loginCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FB7VLWYT.js";
|
|
16
16
|
import {
|
|
17
17
|
help
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-O5OD4JWH.js";
|
|
19
19
|
import {
|
|
20
20
|
TelemetryClient
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MXPZBZ2X.js";
|
|
22
22
|
import {
|
|
23
23
|
getFlagsSpecification,
|
|
24
24
|
parseArguments,
|
|
25
25
|
printError,
|
|
26
26
|
require_strip_ansi
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-N7ABINT7.js";
|
|
28
28
|
import {
|
|
29
29
|
output_manager_default
|
|
30
30
|
} from "./chunk-FDJURQMQ.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-TX2H4WB5.js";
|
|
10
10
|
import {
|
|
11
11
|
VERCEL_DIR_PROJECT,
|
|
12
12
|
VERCEL_DIR_README,
|
|
@@ -31,16 +31,16 @@ import {
|
|
|
31
31
|
selectAndParseRemoteUrl,
|
|
32
32
|
selectOrg,
|
|
33
33
|
writeServicesConfig
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XNWJLL5I.js";
|
|
35
35
|
import {
|
|
36
36
|
table
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CTY6ZEQZ.js";
|
|
38
38
|
import {
|
|
39
39
|
CantParseJSONFile,
|
|
40
40
|
ProjectNotFound,
|
|
41
41
|
isAPIError,
|
|
42
42
|
printError
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-N7ABINT7.js";
|
|
44
44
|
import {
|
|
45
45
|
output_manager_default
|
|
46
46
|
} from "./chunk-FDJURQMQ.js";
|
|
@@ -9,35 +9,35 @@ import {
|
|
|
9
9
|
printIndications,
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VKEKG35M.js";
|
|
13
13
|
import {
|
|
14
14
|
suggestNextCommands
|
|
15
15
|
} from "./chunk-XR53KVJD.js";
|
|
16
16
|
import {
|
|
17
17
|
getDeployment,
|
|
18
18
|
mapCertError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5X5D56SC.js";
|
|
20
20
|
import {
|
|
21
21
|
getScope
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QIZEWDZG.js";
|
|
23
23
|
import {
|
|
24
24
|
CommandTimeout
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FB7VLWYT.js";
|
|
26
26
|
import {
|
|
27
27
|
ua_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5ZVJYXLU.js";
|
|
29
29
|
import {
|
|
30
30
|
getProjectByNameOrId,
|
|
31
31
|
param,
|
|
32
32
|
require_dist as require_dist3,
|
|
33
33
|
require_lib3 as require_lib
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XNWJLL5I.js";
|
|
35
35
|
import {
|
|
36
36
|
stamp_default
|
|
37
37
|
} from "./chunk-SOTR4CXR.js";
|
|
38
38
|
import {
|
|
39
39
|
require_pluralize
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-AY4LBM3J.js";
|
|
41
41
|
import {
|
|
42
42
|
require_ms
|
|
43
43
|
} from "./chunk-GGP5R3FU.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
require_bytes,
|
|
61
61
|
require_strip_ansi,
|
|
62
62
|
responseError
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-N7ABINT7.js";
|
|
64
64
|
import {
|
|
65
65
|
emoji,
|
|
66
66
|
eraseLines,
|