vercel 50.22.1 → 50.23.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.
- package/dist/chunks/{chunk-GT5YMUDW.js → chunk-25M4QK3D.js} +1 -1
- package/dist/chunks/{chunk-V4BYOHHC.js → chunk-2LCYX7O7.js} +6 -4
- package/dist/chunks/{chunk-VNW7226M.js → chunk-56NHXUOM.js} +11 -31
- package/dist/chunks/{chunk-6LTRH3B2.js → chunk-5WZCCFBL.js} +3 -3
- package/dist/chunks/{chunk-D4QJ2SOI.js → chunk-7F5K2WKN.js} +6 -6
- package/dist/chunks/{chunk-DYV4NBAT.js → chunk-7YMB3EQM.js} +1 -1
- package/dist/chunks/{chunk-3J2XL77M.js → chunk-AOJD7NNH.js} +0 -14
- package/dist/chunks/{chunk-UPNWDVQF.js → chunk-FIRAQWQG.js} +2 -2
- package/dist/chunks/{chunk-M3N5RQLZ.js → chunk-JFBJHZDV.js} +1 -1
- package/dist/chunks/{chunk-SRPVI3PV.js → chunk-LD3DQXC3.js} +2 -2
- package/dist/chunks/{chunk-ISCLKSE2.js → chunk-LW7LKL4P.js} +2 -2
- package/dist/chunks/{chunk-PQABRSPJ.js → chunk-ND2XBCGG.js} +7 -7
- package/dist/chunks/chunk-NIJXDOU6.js +20 -0
- package/dist/chunks/{chunk-NJKAUXT4.js → chunk-NPS664T7.js} +1 -1
- package/dist/chunks/{chunk-LTWXVGGJ.js → chunk-O42ZRAEX.js} +9 -9
- package/dist/chunks/{chunk-5QN5JFM3.js → chunk-QQDYCKXH.js} +1 -1
- package/dist/chunks/{chunk-BNSR2EP5.js → chunk-QRGCJ3AY.js} +829 -559
- package/dist/chunks/{chunk-H5G734TV.js → chunk-R44QTKTK.js} +1 -1
- package/dist/chunks/{chunk-U2JGHN2P.js → chunk-RCOHNW53.js} +5 -5
- package/dist/chunks/{chunk-75TPDDWM.js → chunk-SPSVMAIZ.js} +1 -1
- package/dist/chunks/{chunk-7E44U65V.js → chunk-T7WC6AHA.js} +2 -2
- package/dist/chunks/{chunk-ZGVB6SQH.js → chunk-U7VQUPZM.js} +2 -2
- package/dist/chunks/{chunk-DI7L4B4K.js → chunk-UW5PLPAK.js} +2 -2
- package/dist/chunks/{chunk-3U5VDZM5.js → chunk-UX37ML2H.js} +2 -2
- package/dist/chunks/{chunk-CNJPNT3A.js → chunk-VE2IMRAO.js} +2 -2
- package/dist/chunks/{chunk-74F7S6QJ.js → chunk-XFV6ZPN5.js} +1040 -1329
- package/dist/chunks/{chunk-AVBVDIVA.js → chunk-XZSL2JAT.js} +91 -4
- package/dist/chunks/{chunk-LFXZ5E5S.js → chunk-Y7PFS6OO.js} +35 -11
- package/dist/chunks/{chunk-UFKHUDWY.js → chunk-YSKVWT6C.js} +1 -0
- package/dist/chunks/{chunk-BFAZVUS3.js → chunk-ZMSZKUSU.js} +3 -3
- package/dist/chunks/{compile-vercel-config-4O2XLIXQ.js → compile-vercel-config-3HBWUU3P.js} +3 -3
- package/dist/chunks/{query-ZX4TZFZQ.js → query-YF6WRFJA.js} +4 -4
- package/dist/chunks/{schema-FZ5ES4ZA.js → schema-URLIAFKC.js} +4 -4
- package/dist/commands/build/index.js +18 -16
- package/dist/commands/deploy/index.js +31 -33
- package/dist/commands/dev/index.js +56 -43
- package/dist/commands/env/index.js +767 -46
- package/dist/commands/link/index.js +13 -13
- package/dist/commands/list/index.js +8 -8
- package/dist/commands-bulk.js +424 -178
- package/dist/help.js +1 -1
- package/dist/index.js +37 -29
- package/dist/version.mjs +1 -1
- package/package.json +22 -20
|
@@ -6,23 +6,25 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-56NHXUOM.js";
|
|
10
10
|
import {
|
|
11
11
|
buildCommandWithYes,
|
|
12
12
|
getLinkedProject,
|
|
13
13
|
outputActionRequired,
|
|
14
|
-
param
|
|
15
|
-
|
|
14
|
+
param,
|
|
15
|
+
resolveProjectCwd
|
|
16
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
16
17
|
import {
|
|
17
18
|
getCommandName,
|
|
18
19
|
getCommandNamePlain
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AOJD7NNH.js";
|
|
20
21
|
import {
|
|
21
22
|
output_manager_default
|
|
22
23
|
} from "./chunk-7K6FEHYP.js";
|
|
23
24
|
|
|
24
25
|
// src/util/link/ensure-link.ts
|
|
25
26
|
async function ensureLink(commandName, client, cwd, opts = {}) {
|
|
27
|
+
cwd = await resolveProjectCwd(cwd);
|
|
26
28
|
let { link } = opts;
|
|
27
29
|
const nonInteractive = opts.nonInteractive ?? client.nonInteractive ?? false;
|
|
28
30
|
opts.nonInteractive = nonInteractive;
|
|
@@ -7,13 +7,13 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getLocalPathConfig,
|
|
9
9
|
readJSONFile
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LW7LKL4P.js";
|
|
11
11
|
import {
|
|
12
12
|
compileVercelConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-U7VQUPZM.js";
|
|
14
14
|
import {
|
|
15
15
|
table
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QQDYCKXH.js";
|
|
17
17
|
import {
|
|
18
18
|
VERCEL_DIR_PROJECT,
|
|
19
19
|
VERCEL_DIR_README,
|
|
@@ -28,19 +28,19 @@ import {
|
|
|
28
28
|
linkFolderToProject,
|
|
29
29
|
parseGitConfig,
|
|
30
30
|
pluckRemoteUrls,
|
|
31
|
-
require_dist3 as require_dist,
|
|
32
31
|
require_frameworks,
|
|
33
32
|
require_lib,
|
|
34
33
|
require_slugify,
|
|
35
34
|
selectAndParseRemoteUrl,
|
|
36
|
-
selectOrg
|
|
37
|
-
|
|
35
|
+
selectOrg,
|
|
36
|
+
tryDetectServices
|
|
37
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
38
38
|
import {
|
|
39
39
|
CantParseJSONFile,
|
|
40
40
|
ProjectNotFound,
|
|
41
41
|
isAPIError,
|
|
42
42
|
printError
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AOJD7NNH.js";
|
|
44
44
|
import {
|
|
45
45
|
output_manager_default
|
|
46
46
|
} from "./chunk-7K6FEHYP.js";
|
|
@@ -136,26 +136,6 @@ async function readConfig(dir) {
|
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
// src/util/projects/detect-services.ts
|
|
140
|
-
var import_fs_detectors = __toESM(require_dist(), 1);
|
|
141
|
-
function isExperimentalServicesEnabled() {
|
|
142
|
-
return process.env.VERCEL_USE_EXPERIMENTAL_SERVICES === "1" || process.env.VERCEL_USE_EXPERIMENTAL_SERVICES?.toLowerCase() === "true";
|
|
143
|
-
}
|
|
144
|
-
async function tryDetectServices(cwd) {
|
|
145
|
-
if (!isExperimentalServicesEnabled()) {
|
|
146
|
-
return null;
|
|
147
|
-
}
|
|
148
|
-
const fs = new import_fs_detectors.LocalFileSystemDetector(cwd);
|
|
149
|
-
const result = await (0, import_fs_detectors.detectServices)({ fs });
|
|
150
|
-
const hasNoServicesError = result.errors.some(
|
|
151
|
-
(e) => e.code === "NO_SERVICES_CONFIGURED"
|
|
152
|
-
);
|
|
153
|
-
if (hasNoServicesError) {
|
|
154
|
-
return null;
|
|
155
|
-
}
|
|
156
|
-
return result;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
139
|
// src/util/input/display-services.ts
|
|
160
140
|
var import_frameworks = __toESM(require_frameworks(), 1);
|
|
161
141
|
var chalk2 = require_source();
|
|
@@ -562,7 +542,8 @@ async function setupAndLink(client, path2, {
|
|
|
562
542
|
setupMsg = "Set up",
|
|
563
543
|
projectName = basename(path2),
|
|
564
544
|
nonInteractive = false,
|
|
565
|
-
pullEnv = true
|
|
545
|
+
pullEnv = true,
|
|
546
|
+
v0
|
|
566
547
|
}) {
|
|
567
548
|
const { config } = client;
|
|
568
549
|
if (!isDirectory(path2)) {
|
|
@@ -711,7 +692,8 @@ async function setupAndLink(client, path2, {
|
|
|
711
692
|
const project = await createProject(client, {
|
|
712
693
|
...settings,
|
|
713
694
|
name: newProjectName,
|
|
714
|
-
vercelAuth: vercelAuthSetting
|
|
695
|
+
vercelAuth: vercelAuthSetting,
|
|
696
|
+
v0
|
|
715
697
|
});
|
|
716
698
|
await linkFolderToProject(
|
|
717
699
|
client,
|
|
@@ -783,8 +765,6 @@ export {
|
|
|
783
765
|
validateRootDirectory,
|
|
784
766
|
validatePaths,
|
|
785
767
|
readConfig,
|
|
786
|
-
isExperimentalServicesEnabled,
|
|
787
|
-
tryDetectServices,
|
|
788
768
|
displayDetectedServices,
|
|
789
769
|
setupAndLink
|
|
790
770
|
};
|
|
@@ -7,13 +7,13 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
noBorderChars,
|
|
9
9
|
require_cli_table3
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QQDYCKXH.js";
|
|
11
11
|
import {
|
|
12
12
|
require_dist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
14
14
|
import {
|
|
15
15
|
globalCommandOptions
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AOJD7NNH.js";
|
|
17
17
|
import {
|
|
18
18
|
__toESM,
|
|
19
19
|
require_source
|
|
@@ -6,16 +6,16 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-25M4QK3D.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2LCYX7O7.js";
|
|
13
13
|
import {
|
|
14
14
|
pullCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UW5PLPAK.js";
|
|
16
16
|
import {
|
|
17
17
|
help
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5WZCCFBL.js";
|
|
19
19
|
import {
|
|
20
20
|
TelemetryClient,
|
|
21
21
|
VERCEL_DIR,
|
|
@@ -24,12 +24,12 @@ import {
|
|
|
24
24
|
humanizePath,
|
|
25
25
|
parseTarget,
|
|
26
26
|
stamp_default
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
28
28
|
import {
|
|
29
29
|
getFlagsSpecification,
|
|
30
30
|
parseArguments,
|
|
31
31
|
printError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AOJD7NNH.js";
|
|
33
33
|
import {
|
|
34
34
|
emoji,
|
|
35
35
|
output_manager_default,
|
|
@@ -6,7 +6,6 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
init_pkg,
|
|
9
|
-
link_default,
|
|
10
9
|
output_manager_default,
|
|
11
10
|
pkg_default,
|
|
12
11
|
require_dist
|
|
@@ -1696,18 +1695,6 @@ var InvalidLocalConfig = class extends NowError {
|
|
|
1696
1695
|
|
|
1697
1696
|
// src/util/output/error.ts
|
|
1698
1697
|
var import_chalk4 = __toESM(require_source(), 1);
|
|
1699
|
-
function error(...input) {
|
|
1700
|
-
let messages = input;
|
|
1701
|
-
if (typeof input[0] === "object") {
|
|
1702
|
-
const { slug, message, link, action = "Learn More" } = input[0];
|
|
1703
|
-
messages = [message];
|
|
1704
|
-
const details = slug ? `https://err.sh/vercel/${slug}` : link;
|
|
1705
|
-
if (details) {
|
|
1706
|
-
messages.push(`${import_chalk4.default.bold(action)}: ${link_default(details)}`);
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
return `${import_chalk4.default.red("Error:")} ${messages.join("\n")}`;
|
|
1710
|
-
}
|
|
1711
1698
|
|
|
1712
1699
|
// src/util/error.ts
|
|
1713
1700
|
var import_bytes2 = __toESM(require_bytes(), 1);
|
|
@@ -1867,7 +1854,6 @@ export {
|
|
|
1867
1854
|
InvalidLocalConfig,
|
|
1868
1855
|
require_strip_ansi,
|
|
1869
1856
|
require_string_width,
|
|
1870
|
-
error,
|
|
1871
1857
|
responseError,
|
|
1872
1858
|
toEnumerableError,
|
|
1873
1859
|
printError,
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_end_of_stream
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-R44QTKTK.js";
|
|
10
10
|
import {
|
|
11
11
|
require_once
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
13
13
|
import {
|
|
14
14
|
require_signal_exit
|
|
15
15
|
} from "./chunk-7K6FEHYP.js";
|
|
@@ -7,10 +7,10 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getTeamById,
|
|
9
9
|
getUser
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
11
11
|
import {
|
|
12
12
|
TeamDeleted
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AOJD7NNH.js";
|
|
14
14
|
|
|
15
15
|
// src/util/get-scope.ts
|
|
16
16
|
async function getScope(client, opts = {}) {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
VERCEL_DIR,
|
|
9
9
|
require_json_parse_better_errors,
|
|
10
10
|
require_lib
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
12
12
|
import {
|
|
13
13
|
CantParseJSONFile,
|
|
14
14
|
ConflictingConfigFiles,
|
|
15
15
|
InvalidLocalConfig,
|
|
16
16
|
getArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AOJD7NNH.js";
|
|
18
18
|
import {
|
|
19
19
|
require_dist
|
|
20
20
|
} from "./chunk-7K6FEHYP.js";
|
|
@@ -10,23 +10,23 @@ import {
|
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep,
|
|
12
12
|
ua_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XFV6ZPN5.js";
|
|
14
14
|
import {
|
|
15
15
|
suggestNextCommands
|
|
16
16
|
} from "./chunk-2TX2KBK2.js";
|
|
17
17
|
import {
|
|
18
18
|
getDeployment,
|
|
19
19
|
mapCertError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SPSVMAIZ.js";
|
|
21
21
|
import {
|
|
22
22
|
getScope
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LD3DQXC3.js";
|
|
24
24
|
import {
|
|
25
25
|
CommandTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Y7PFS6OO.js";
|
|
27
27
|
import {
|
|
28
28
|
require_dist as require_dist3
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZMSZKUSU.js";
|
|
30
30
|
import {
|
|
31
31
|
require_lib
|
|
32
32
|
} from "./chunk-LLPVFNNI.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
param,
|
|
36
36
|
require_ms,
|
|
37
37
|
stamp_default
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
39
39
|
import {
|
|
40
40
|
APIError,
|
|
41
41
|
BuildError,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
require_pluralize,
|
|
57
57
|
require_strip_ansi,
|
|
58
58
|
responseError
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-AOJD7NNH.js";
|
|
60
60
|
import {
|
|
61
61
|
emoji,
|
|
62
62
|
eraseLines,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
+
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
+
const require = __createRequire(import.meta.url);
|
|
5
|
+
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = __dirname_(__filename);
|
|
7
|
+
import {
|
|
8
|
+
__toESM,
|
|
9
|
+
require_source
|
|
10
|
+
} from "./chunk-A2M6YJ6J.js";
|
|
11
|
+
|
|
12
|
+
// src/util/output/highlight.ts
|
|
13
|
+
var import_chalk = __toESM(require_source(), 1);
|
|
14
|
+
function highlight(text) {
|
|
15
|
+
return import_chalk.default.bold.underline(text);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
highlight
|
|
20
|
+
};
|
|
@@ -4,11 +4,12 @@ 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
|
+
isExperimentalServicesEnabled
|
|
9
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
7
10
|
import {
|
|
8
11
|
__commonJS,
|
|
9
|
-
__require
|
|
10
|
-
__toESM,
|
|
11
|
-
require_source
|
|
12
|
+
__require
|
|
12
13
|
} from "./chunk-A2M6YJ6J.js";
|
|
13
14
|
|
|
14
15
|
// ../../node_modules/.pnpm/async-listen@3.0.0/node_modules/async-listen/dist/index.js
|
|
@@ -90,13 +91,12 @@ var require_dist = __commonJS({
|
|
|
90
91
|
}
|
|
91
92
|
});
|
|
92
93
|
|
|
93
|
-
// src/util/
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
return import_chalk.default.bold.underline(text);
|
|
94
|
+
// src/util/dev/experimental.ts
|
|
95
|
+
function isExperimentalSkipDevLinkEnabled() {
|
|
96
|
+
return process.env.VERCEL_EXPERIMENTAL_DEV_SKIP_LINK === "1" || process.env.VERCEL_EXPERIMENTAL_DEV_SKIP_LINK?.toLowerCase() === "true" || isExperimentalServicesEnabled();
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
export {
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
require_dist,
|
|
101
|
+
isExperimentalSkipDevLinkEnabled
|
|
102
102
|
};
|