vercel 53.2.0 → 53.3.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-C7TQF4LB.js → add-PGPQCMJK.js} +9 -9
- package/dist/chunks/{chunk-HQU26P3O.js → chunk-25WI74GM.js} +7 -7
- package/dist/chunks/{chunk-TPBMA2WF.js → chunk-2TNGZL25.js} +2 -2
- package/dist/chunks/{chunk-FFKXMQXF.js → chunk-3GJFG6GX.js} +4 -4
- package/dist/chunks/{chunk-4Q5VS23S.js → chunk-3NSIZGHP.js} +3 -3
- package/dist/chunks/{chunk-3GBASY24.js → chunk-3YDXZRSZ.js} +2 -2
- package/dist/chunks/{chunk-QT4W4DLL.js → chunk-4L73BR7G.js} +11 -12
- package/dist/chunks/{chunk-HMM7V4AU.js → chunk-4LDQIDKG.js} +2 -2
- package/dist/chunks/{chunk-4Z7KJQGN.js → chunk-4OEA5ILS.js} +0 -1
- package/dist/chunks/{chunk-7FQIXP2G.js → chunk-4VJ3GTBX.js} +1 -1
- package/dist/chunks/{chunk-4M7OEHTY.js → chunk-7EJTBI6M.js} +11 -11
- package/dist/chunks/{chunk-YEGTCAP6.js → chunk-7Z5XFBB4.js} +140 -86
- package/dist/chunks/{chunk-6N4RFT24.js → chunk-AAPG3P4D.js} +9 -11
- package/dist/chunks/{chunk-RJWHOSUL.js → chunk-AORK3I3E.js} +1 -1
- package/dist/chunks/{chunk-IABMY4Q3.js → chunk-AXQNAI65.js} +1 -1
- package/dist/chunks/{chunk-XZ7CVBQ4.js → chunk-EBEBY45K.js} +11 -1
- package/dist/chunks/{chunk-LN5ZMLBU.js → chunk-GCKUEAUE.js} +2 -2
- package/dist/chunks/{chunk-JNOMOD7R.js → chunk-GQLARSTH.js} +1 -1
- package/dist/chunks/{chunk-AMXEAJTC.js → chunk-H57DZL5B.js} +3 -3
- package/dist/chunks/{chunk-NCUOSZ6X.js → chunk-HAJ2XRTQ.js} +2 -2
- package/dist/chunks/{chunk-2STWVKG7.js → chunk-HJVSVCAZ.js} +28 -13
- package/dist/chunks/{chunk-3LRN4Q7G.js → chunk-IS56OO2J.js} +3 -3
- package/dist/chunks/{chunk-AB7YF6KM.js → chunk-JJ36CB7A.js} +719 -923
- package/dist/chunks/{chunk-P3H4MP5H.js → chunk-JZLADLMF.js} +2 -2
- package/dist/chunks/{chunk-ABDTA3V2.js → chunk-KSIISCB2.js} +1 -1
- package/dist/chunks/{chunk-VS4O4MKY.js → chunk-MUBKPS2Z.js} +1 -1
- package/dist/chunks/{chunk-DFUTSURK.js → chunk-NF7HK5MP.js} +2 -2
- package/dist/chunks/{chunk-77JGNI4Z.js → chunk-NIOGCTVR.js} +2 -2
- package/dist/chunks/{chunk-5EDL2IVB.js → chunk-ONYQGA2O.js} +2 -2
- package/dist/chunks/{chunk-FLZW555J.js → chunk-PR72OE3G.js} +2 -2
- package/dist/chunks/{chunk-IEKDY4FP.js → chunk-QGLS47RE.js} +1 -1
- package/dist/chunks/{chunk-MAPNH6ND.js → chunk-QV34LTI7.js} +403 -101
- package/dist/chunks/{chunk-2TJ5Y674.js → chunk-RI23R2QO.js} +4 -4
- package/dist/chunks/{chunk-MZVW2VM7.js → chunk-RYUPBGRO.js} +34 -45
- package/dist/chunks/{chunk-4DLW7XLJ.js → chunk-SOSCFYOT.js} +2 -2
- package/dist/chunks/{chunk-X6H25N2H.js → chunk-TR6DYQV6.js} +1 -1
- package/dist/chunks/{chunk-JCLLQ23G.js → chunk-WOWCXMTU.js} +1 -1
- package/dist/chunks/{chunk-MSJX3VKI.js → chunk-X7KU44KR.js} +1 -1
- package/dist/chunks/{chunk-FK7LDWAI.js → chunk-XYYGNWMQ.js} +4 -4
- package/dist/chunks/{compile-vercel-config-QKQSM6VM.js → compile-vercel-config-H4BUE5BZ.js} +5 -5
- package/dist/chunks/{delete-LUW77HWU.js → delete-HVWVDBQF.js} +7 -7
- package/dist/chunks/{disable-ITW6P3R3.js → disable-CMBQPZ7L.js} +7 -7
- package/dist/chunks/{discard-GDFQ4V4V.js → discard-ZDNWUYLY.js} +7 -7
- package/dist/chunks/{edit-ZN7PQWZH.js → edit-YJYM3EKS.js} +9 -9
- package/dist/chunks/{enable-VTJNEZ5Q.js → enable-ITE7U5C4.js} +7 -7
- package/dist/chunks/{export-54A2LINR.js → export-VVN33IBK.js} +7 -7
- package/dist/chunks/{inspect-UMXWXZMZ.js → inspect-I7ILS3E2.js} +9 -9
- package/dist/chunks/{list-OJCLL4JA.js → list-6PZO3UIZ.js} +7 -7
- package/dist/chunks/{list-JZMV62KB.js → list-BWIEHOTA.js} +10 -10
- package/dist/chunks/{ls-B677IDAB.js → ls-LZZFID76.js} +9 -9
- package/dist/chunks/{publish-SI4H6WPL.js → publish-NULVZ7RB.js} +7 -7
- package/dist/chunks/{query-2CL2LAOA.js → query-BGI3AVJA.js} +9 -9
- package/dist/chunks/{reorder-E6R3ZL6W.js → reorder-G66QSKTR.js} +7 -7
- package/dist/chunks/{restore-ZVC2USSZ.js → restore-LHDVXFOH.js} +7 -7
- package/dist/chunks/{rm-F3ESGYZE.js → rm-DTAOTWXD.js} +9 -9
- package/dist/chunks/{routes-KDWN24QA.js → routes-2YVMQEPC.js} +2 -2
- package/dist/chunks/{rule-inspect-AWORVTNG.js → rule-inspect-AOITFBTB.js} +9 -9
- package/dist/chunks/{rules-KSDPKR6Z.js → rules-IW3XGCNA.js} +8 -8
- package/dist/chunks/{schema-UGF5QQ3K.js → schema-2VCQ2MAA.js} +10 -10
- package/dist/chunks/{types-FAFL42RV.js → types-7VDI75PV.js} +4 -4
- package/dist/chunks/{update-GXZVHW4O.js → update-L3DZ5STE.js} +9 -9
- package/dist/commands/build/index.js +21 -26
- package/dist/commands/deploy/index.js +64 -33
- package/dist/commands/dev/index.js +15 -15
- package/dist/commands/env/index.js +19 -19
- package/dist/commands/link/index.js +20 -20
- package/dist/commands/list/index.js +11 -11
- package/dist/commands-bulk.js +378 -210
- package/dist/index.js +298 -48
- package/dist/version.mjs +1 -1
- package/package.json +21 -19
|
@@ -9,35 +9,35 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-2TNGZL25.js";
|
|
13
|
+
import "./chunk-RI23R2QO.js";
|
|
14
14
|
import "./chunk-HTOH3MSD.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
17
17
|
} from "./chunk-XPKWKPWA.js";
|
|
18
18
|
import {
|
|
19
19
|
rulesAddSubcommand
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-JZLADLMF.js";
|
|
21
|
+
import "./chunk-PR72OE3G.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT_REASON
|
|
24
24
|
} from "./chunk-E3NE4SKN.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-JJ36CB7A.js";
|
|
26
|
+
import "./chunk-4OEA5ILS.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
29
29
|
outputAgentError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AXQNAI65.js";
|
|
31
31
|
import "./chunk-CO5D46AG.js";
|
|
32
32
|
import {
|
|
33
33
|
getFlagsSpecification,
|
|
34
34
|
parseArguments,
|
|
35
35
|
printError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GQLARSTH.js";
|
|
37
37
|
import {
|
|
38
38
|
isAPIError,
|
|
39
39
|
packageName
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EBEBY45K.js";
|
|
41
41
|
import {
|
|
42
42
|
output_manager_default
|
|
43
43
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -6,27 +6,27 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TR6DYQV6.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3GJFG6GX.js";
|
|
13
13
|
import {
|
|
14
14
|
autoInstallVercelPlugin,
|
|
15
15
|
pullCommand
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RYUPBGRO.js";
|
|
17
17
|
import {
|
|
18
18
|
help
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IS56OO2J.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-JJ36CB7A.js";
|
|
27
27
|
import {
|
|
28
28
|
TelemetryClient
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4OEA5ILS.js";
|
|
30
30
|
import {
|
|
31
31
|
stamp_default
|
|
32
32
|
} from "./chunk-CO5D46AG.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
getFlagsSpecification,
|
|
35
35
|
parseArguments,
|
|
36
36
|
printError
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-GQLARSTH.js";
|
|
38
38
|
import {
|
|
39
39
|
emoji,
|
|
40
40
|
output_manager_default,
|
|
@@ -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-
|
|
9
|
+
} from "./chunk-RI23R2QO.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
outputError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
buildCommandWithGlobalFlags,
|
|
20
20
|
outputAgentError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AXQNAI65.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/alerts/rules/parse-scope.ts
|
|
24
24
|
async function parseRulesFlagsAndScope(client, flags, jsonOutput) {
|
|
@@ -6,20 +6,20 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QV34LTI7.js";
|
|
10
10
|
import {
|
|
11
11
|
getLinkedProject,
|
|
12
12
|
param,
|
|
13
13
|
resolveProjectCwd
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JJ36CB7A.js";
|
|
15
15
|
import {
|
|
16
16
|
buildCommandWithYes,
|
|
17
17
|
outputActionRequired
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AXQNAI65.js";
|
|
19
19
|
import {
|
|
20
20
|
getCommandName,
|
|
21
21
|
getCommandNamePlain
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EBEBY45K.js";
|
|
23
23
|
import {
|
|
24
24
|
output_manager_default
|
|
25
25
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
rulesAggregateCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JZLADLMF.js";
|
|
10
10
|
import {
|
|
11
11
|
formatOption,
|
|
12
12
|
limitOption
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GQLARSTH.js";
|
|
14
14
|
import {
|
|
15
15
|
packageName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EBEBY45K.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/alerts/command.ts
|
|
19
19
|
var listSubcommand = {
|
|
@@ -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-JJ36CB7A.js";
|
|
10
10
|
import {
|
|
11
11
|
packageName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EBEBY45K.js";
|
|
13
13
|
import {
|
|
14
14
|
__toESM
|
|
15
15
|
} from "./chunk-TZ2YI2VH.js";
|
|
@@ -7,26 +7,27 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
VERCEL_DIR,
|
|
9
9
|
isVercelTomlEnabled
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JJ36CB7A.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
parseArguments
|
|
13
|
+
} from "./chunk-GQLARSTH.js";
|
|
14
14
|
import {
|
|
15
15
|
ConflictingConfigFiles,
|
|
16
|
+
DeprecatedNowJson,
|
|
16
17
|
InvalidLocalConfig
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EBEBY45K.js";
|
|
18
19
|
|
|
19
20
|
// src/util/config/local-path.ts
|
|
20
21
|
import path from "path";
|
|
21
22
|
import { existsSync } from "fs";
|
|
22
23
|
function getLocalPathConfig(prefix) {
|
|
23
|
-
const argv =
|
|
24
|
-
const customPath = argv["--local-config"];
|
|
24
|
+
const argv = parseArguments(process.argv.slice(2), {}, { permissive: true });
|
|
25
|
+
const customPath = argv.flags["--local-config"];
|
|
25
26
|
if (customPath) {
|
|
26
27
|
if (typeof customPath !== "string") {
|
|
27
28
|
throw new InvalidLocalConfig(customPath);
|
|
28
29
|
}
|
|
29
|
-
return path.resolve(
|
|
30
|
+
return path.resolve(process.cwd(), customPath);
|
|
30
31
|
}
|
|
31
32
|
const vercelConfigPath = path.join(prefix, "vercel.json");
|
|
32
33
|
const vercelTomlPath = path.join(prefix, "vercel.toml");
|
|
@@ -39,8 +40,9 @@ function getLocalPathConfig(prefix) {
|
|
|
39
40
|
foundConfigs.push(vercelConfigPath);
|
|
40
41
|
if (vercelTomlExists)
|
|
41
42
|
foundConfigs.push(vercelTomlPath);
|
|
42
|
-
if (nowConfigExists)
|
|
43
|
-
|
|
43
|
+
if (nowConfigExists) {
|
|
44
|
+
throw new DeprecatedNowJson(nowConfigPath);
|
|
45
|
+
}
|
|
44
46
|
if (foundConfigs.length > 1) {
|
|
45
47
|
throw new ConflictingConfigFiles(foundConfigs);
|
|
46
48
|
}
|
|
@@ -49,9 +51,6 @@ function getLocalPathConfig(prefix) {
|
|
|
49
51
|
if (compiledConfigExists) {
|
|
50
52
|
return compiledConfigPath;
|
|
51
53
|
}
|
|
52
|
-
if (nowConfigExists) {
|
|
53
|
-
return nowConfigPath;
|
|
54
|
-
}
|
|
55
54
|
return vercelConfigPath;
|
|
56
55
|
}
|
|
57
56
|
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
yesOption
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GQLARSTH.js";
|
|
10
10
|
import {
|
|
11
11
|
packageName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EBEBY45K.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/routes/command.ts
|
|
15
15
|
var listSubcommand = {
|
|
@@ -9,33 +9,33 @@ import {
|
|
|
9
9
|
printIndications,
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7Z5XFBB4.js";
|
|
13
13
|
import {
|
|
14
14
|
suggestNextCommands
|
|
15
15
|
} from "./chunk-LOS7HHU3.js";
|
|
16
16
|
import {
|
|
17
17
|
getDeployment,
|
|
18
18
|
mapCertError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-X7KU44KR.js";
|
|
20
20
|
import {
|
|
21
21
|
CommandTimeout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HJVSVCAZ.js";
|
|
23
23
|
import {
|
|
24
24
|
getScope
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PR72OE3G.js";
|
|
26
26
|
import {
|
|
27
27
|
ua_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WOWCXMTU.js";
|
|
29
29
|
import {
|
|
30
30
|
showPluginTipIfNeeded
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RYUPBGRO.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-JJ36CB7A.js";
|
|
39
39
|
import {
|
|
40
40
|
require_ms,
|
|
41
41
|
stamp_default
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
require_strip_ansi,
|
|
45
45
|
responseError
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-GQLARSTH.js";
|
|
47
47
|
import {
|
|
48
48
|
APIError,
|
|
49
49
|
BuildError,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
getCommandName,
|
|
62
62
|
isAPIError,
|
|
63
63
|
require_bytes
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-EBEBY45K.js";
|
|
65
65
|
import {
|
|
66
66
|
emoji,
|
|
67
67
|
eraseLines,
|
|
@@ -5147,7 +5147,7 @@ function isDeploying(readyState) {
|
|
|
5147
5147
|
}
|
|
5148
5148
|
|
|
5149
5149
|
// src/util/deploy/print-deployment-status.ts
|
|
5150
|
-
async function printDeploymentStatus({
|
|
5150
|
+
async function printDeploymentStatus(client, {
|
|
5151
5151
|
readyState,
|
|
5152
5152
|
aliasError,
|
|
5153
5153
|
indications,
|
|
@@ -5203,7 +5203,7 @@ async function printDeploymentStatus({
|
|
|
5203
5203
|
].filter(Boolean)
|
|
5204
5204
|
);
|
|
5205
5205
|
}
|
|
5206
|
-
await showPluginTipIfNeeded();
|
|
5206
|
+
await showPluginTipIfNeeded(client);
|
|
5207
5207
|
return 0;
|
|
5208
5208
|
}
|
|
5209
5209
|
|