vercel 41.6.0 → 41.6.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/README.md +1 -1
- package/dist/index.js +11 -9
- package/package.json +3 -3
package/README.md
CHANGED
package/dist/index.js
CHANGED
@@ -168880,19 +168880,19 @@ async function login2(client2) {
|
|
168880
168880
|
}).on("SIGINT", () => process.exit(0));
|
168881
168881
|
rl.question(
|
168882
168882
|
`
|
168883
|
-
\u25B2 Sign in to the Vercel CLI
|
168884
|
-
|
168885
168883
|
Visit ${import_chalk101.default.bold(
|
168886
168884
|
output_manager_default.link(
|
168887
168885
|
verification_uri.replace("https://", ""),
|
168888
168886
|
verification_uri_complete,
|
168889
168887
|
{ color: false, fallback: () => verification_uri_complete }
|
168890
168888
|
)
|
168891
|
-
)}${output_manager_default.supportsHyperlink ?
|
168889
|
+
)}${output_manager_default.supportsHyperlink ? ` and enter ${import_chalk101.default.bold(user_code)}` : ""}
|
168892
168890
|
${import_chalk101.default.grey("Press [ENTER] to open the browser")}
|
168893
168891
|
`,
|
168894
168892
|
() => {
|
168895
168893
|
open5.default(verification_uri_complete);
|
168894
|
+
output_manager_default.print((0, import_ansi_escapes6.eraseLines)(2));
|
168895
|
+
output_manager_default.spinner("Waiting for authentication...");
|
168896
168896
|
rl.close();
|
168897
168897
|
}
|
168898
168898
|
);
|
@@ -168936,6 +168936,7 @@ async function login2(client2) {
|
|
168936
168936
|
}
|
168937
168937
|
if (tokenError)
|
168938
168938
|
return tokenError;
|
168939
|
+
output_manager_default.print((0, import_ansi_escapes6.eraseLines)(2));
|
168939
168940
|
const isInitialLogin = !client2.authConfig.token;
|
168940
168941
|
client2.authConfig.token = token.access_token;
|
168941
168942
|
error3 = void 0;
|
@@ -168960,12 +168961,12 @@ async function login2(client2) {
|
|
168960
168961
|
writeToConfigFile(client2.config);
|
168961
168962
|
output_manager_default.debug(`Saved credentials in "${humanizePath(global_path_default())}"`);
|
168962
168963
|
output_manager_default.print(`
|
168963
|
-
${import_chalk101.default.cyan("Congratulations!")} You are now signed in.
|
168964
|
+
${import_chalk101.default.cyan("Congratulations!")} You are now signed in.
|
168964
168965
|
|
168965
|
-
${
|
168966
|
-
|
168967
|
-
|
168968
|
-
|
168966
|
+
To deploy something, run ${getCommandName()}.
|
168967
|
+
|
168968
|
+
${emoji("tip")} To deploy every commit automatically,
|
168969
|
+
connect a Git Repository (${import_chalk101.default.bold(output_manager_default.link("vercel.link/git", "https://vercel.link/git", { color: false }))}).
|
168969
168970
|
`);
|
168970
168971
|
return;
|
168971
168972
|
}
|
@@ -168978,13 +168979,14 @@ async function login2(client2) {
|
|
168978
168979
|
printError(error3);
|
168979
168980
|
return 1;
|
168980
168981
|
}
|
168981
|
-
var import_node_readline, import_chalk101, open5;
|
168982
|
+
var import_node_readline, import_chalk101, open5, import_ansi_escapes6;
|
168982
168983
|
var init_future = __esm({
|
168983
168984
|
"src/commands/login/future.ts"() {
|
168984
168985
|
"use strict";
|
168985
168986
|
import_node_readline = __toESM3(require("readline"));
|
168986
168987
|
import_chalk101 = __toESM3(require_source());
|
168987
168988
|
open5 = __toESM3(require_open());
|
168989
|
+
import_ansi_escapes6 = __toESM3(require_ansi_escapes());
|
168988
168990
|
init_error2();
|
168989
168991
|
init_update_current_team_after_login();
|
168990
168992
|
init_files();
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "41.6.
|
3
|
+
"version": "41.6.1",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -161,9 +161,9 @@
|
|
161
161
|
"write-json-file": "2.2.0",
|
162
162
|
"xdg-app-paths": "5.1.0",
|
163
163
|
"yauzl-promise": "2.1.3",
|
164
|
-
"@vercel-internals/
|
164
|
+
"@vercel-internals/get-package-json": "1.0.0",
|
165
165
|
"@vercel-internals/types": "3.0.6",
|
166
|
-
"@vercel-internals/
|
166
|
+
"@vercel-internals/constants": "1.0.4"
|
167
167
|
},
|
168
168
|
"scripts": {
|
169
169
|
"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",
|