vercel 41.6.0 → 41.6.2
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/README.md +1 -1
- package/dist/index.js +23 -12
- package/package.json +5 -5
package/README.md
CHANGED
package/dist/index.js
CHANGED
@@ -46260,7 +46260,7 @@ var require_package = __commonJS2({
|
|
46260
46260
|
"../client/package.json"(exports2, module2) {
|
46261
46261
|
module2.exports = {
|
46262
46262
|
name: "@vercel/client",
|
46263
|
-
version: "15.
|
46263
|
+
version: "15.2.0",
|
46264
46264
|
main: "dist/index.js",
|
46265
46265
|
typings: "dist/index.d.ts",
|
46266
46266
|
homepage: "https://vercel.com",
|
@@ -47320,7 +47320,8 @@ var require_utils8 = __commonJS2({
|
|
47320
47320
|
async function buildFileTree2(path11, {
|
47321
47321
|
isDirectory: isDirectory2,
|
47322
47322
|
prebuilt,
|
47323
|
-
vercelOutputDir
|
47323
|
+
vercelOutputDir,
|
47324
|
+
rootDirectory
|
47324
47325
|
}, debug2) {
|
47325
47326
|
const ignoreList = [];
|
47326
47327
|
let fileList;
|
@@ -47353,6 +47354,14 @@ var require_utils8 = __commonJS2({
|
|
47353
47354
|
}
|
47354
47355
|
})
|
47355
47356
|
);
|
47357
|
+
const microfrontendConfigPath = (0, import_path41.join)(
|
47358
|
+
path11,
|
47359
|
+
rootDirectory || "",
|
47360
|
+
"microfrontends.json"
|
47361
|
+
);
|
47362
|
+
if (await (0, import_fs_extra24.pathExists)(microfrontendConfigPath)) {
|
47363
|
+
refs.add(microfrontendConfigPath);
|
47364
|
+
}
|
47356
47365
|
if (refs.size > 0) {
|
47357
47366
|
fileList = fileList.concat(Array.from(refs));
|
47358
47367
|
}
|
@@ -99095,7 +99104,7 @@ var require_frameworks = __commonJS2({
|
|
99095
99104
|
getOutputDirName: async () => "public"
|
99096
99105
|
},
|
99097
99106
|
{
|
99098
|
-
name: "SvelteKit
|
99107
|
+
name: "SvelteKit",
|
99099
99108
|
slug: "sveltekit-1",
|
99100
99109
|
demo: "https://sveltekit-1-template.vercel.app",
|
99101
99110
|
logo: "https://api-frameworks.vercel.sh/framework-logos/svelte.svg",
|
@@ -168880,19 +168889,19 @@ async function login2(client2) {
|
|
168880
168889
|
}).on("SIGINT", () => process.exit(0));
|
168881
168890
|
rl.question(
|
168882
168891
|
`
|
168883
|
-
\u25B2 Sign in to the Vercel CLI
|
168884
|
-
|
168885
168892
|
Visit ${import_chalk101.default.bold(
|
168886
168893
|
output_manager_default.link(
|
168887
168894
|
verification_uri.replace("https://", ""),
|
168888
168895
|
verification_uri_complete,
|
168889
168896
|
{ color: false, fallback: () => verification_uri_complete }
|
168890
168897
|
)
|
168891
|
-
)}${output_manager_default.supportsHyperlink ?
|
168898
|
+
)}${output_manager_default.supportsHyperlink ? ` and enter ${import_chalk101.default.bold(user_code)}` : ""}
|
168892
168899
|
${import_chalk101.default.grey("Press [ENTER] to open the browser")}
|
168893
168900
|
`,
|
168894
168901
|
() => {
|
168895
168902
|
open5.default(verification_uri_complete);
|
168903
|
+
output_manager_default.print((0, import_ansi_escapes6.eraseLines)(2));
|
168904
|
+
output_manager_default.spinner("Waiting for authentication...");
|
168896
168905
|
rl.close();
|
168897
168906
|
}
|
168898
168907
|
);
|
@@ -168936,6 +168945,7 @@ async function login2(client2) {
|
|
168936
168945
|
}
|
168937
168946
|
if (tokenError)
|
168938
168947
|
return tokenError;
|
168948
|
+
output_manager_default.print((0, import_ansi_escapes6.eraseLines)(2));
|
168939
168949
|
const isInitialLogin = !client2.authConfig.token;
|
168940
168950
|
client2.authConfig.token = token.access_token;
|
168941
168951
|
error3 = void 0;
|
@@ -168960,12 +168970,12 @@ async function login2(client2) {
|
|
168960
168970
|
writeToConfigFile(client2.config);
|
168961
168971
|
output_manager_default.debug(`Saved credentials in "${humanizePath(global_path_default())}"`);
|
168962
168972
|
output_manager_default.print(`
|
168963
|
-
${import_chalk101.default.cyan("Congratulations!")} You are now signed in.
|
168973
|
+
${import_chalk101.default.cyan("Congratulations!")} You are now signed in.
|
168964
168974
|
|
168965
|
-
${
|
168966
|
-
|
168967
|
-
|
168968
|
-
|
168975
|
+
To deploy something, run ${getCommandName()}.
|
168976
|
+
|
168977
|
+
${emoji("tip")} To deploy every commit automatically,
|
168978
|
+
connect a Git Repository (${import_chalk101.default.bold(output_manager_default.link("vercel.link/git", "https://vercel.link/git", { color: false }))}).
|
168969
168979
|
`);
|
168970
168980
|
return;
|
168971
168981
|
}
|
@@ -168978,13 +168988,14 @@ async function login2(client2) {
|
|
168978
168988
|
printError(error3);
|
168979
168989
|
return 1;
|
168980
168990
|
}
|
168981
|
-
var import_node_readline, import_chalk101, open5;
|
168991
|
+
var import_node_readline, import_chalk101, open5, import_ansi_escapes6;
|
168982
168992
|
var init_future = __esm({
|
168983
168993
|
"src/commands/login/future.ts"() {
|
168984
168994
|
"use strict";
|
168985
168995
|
import_node_readline = __toESM3(require("readline"));
|
168986
168996
|
import_chalk101 = __toESM3(require_source());
|
168987
168997
|
open5 = __toESM3(require_open());
|
168998
|
+
import_ansi_escapes6 = __toESM3(require_ansi_escapes());
|
168988
168999
|
init_error2();
|
168989
169000
|
init_update_current_team_after_login();
|
168990
169001
|
init_files();
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "41.6.
|
3
|
+
"version": "41.6.2",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"@vercel/fun": "1.1.5",
|
26
26
|
"@vercel/go": "3.2.1",
|
27
27
|
"@vercel/hydrogen": "1.2.0",
|
28
|
-
"@vercel/next": "4.7.
|
28
|
+
"@vercel/next": "4.7.8",
|
29
29
|
"@vercel/node": "5.1.14",
|
30
30
|
"@vercel/python": "4.7.2",
|
31
31
|
"@vercel/redwood": "2.3.0",
|
@@ -78,10 +78,10 @@
|
|
78
78
|
"@types/which": "3.0.0",
|
79
79
|
"@types/write-json-file": "2.2.1",
|
80
80
|
"@types/yauzl-promise": "2.1.0",
|
81
|
-
"@vercel/client": "15.
|
81
|
+
"@vercel/client": "15.2.0",
|
82
82
|
"@vercel/error-utils": "2.0.3",
|
83
|
-
"@vercel/frameworks": "3.6.
|
84
|
-
"@vercel/fs-detectors": "5.3.
|
83
|
+
"@vercel/frameworks": "3.6.3",
|
84
|
+
"@vercel/fs-detectors": "5.3.11",
|
85
85
|
"@vercel/routing-utils": "5.0.4",
|
86
86
|
"@vitest/expect": "2.1.3",
|
87
87
|
"ajv": "6.12.3",
|