@cloudbase/cli 2.1.4 → 2.1.6-beta.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/lib/auth/login.js
CHANGED
|
@@ -75,7 +75,7 @@ function checkLogin() {
|
|
|
75
75
|
if (lodash_1.default.isEmpty(credential)) {
|
|
76
76
|
log.info('你还没有登录,请在控制台中授权登录');
|
|
77
77
|
const res = yield (0, utils_1.execWithLoading)(() => login(), {
|
|
78
|
-
startTip: '
|
|
78
|
+
startTip: '请在浏览器中打开的授权页面进行授权...',
|
|
79
79
|
successTip: '授权登录成功!'
|
|
80
80
|
});
|
|
81
81
|
const envId = (_a = res === null || res === void 0 ? void 0 : res.credential) === null || _a === void 0 ? void 0 : _a.envId;
|
|
@@ -160,7 +160,7 @@ let LoginCommand = class LoginCommand extends common_1.Command {
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
else {
|
|
163
|
-
loading.start('
|
|
163
|
+
loading.start('请在浏览器中打开的授权页面进行授权...');
|
|
164
164
|
const res = yield (0, auth_1.login)();
|
|
165
165
|
if (res.code === 'SUCCESS') {
|
|
166
166
|
loading.succeed('登录成功!');
|
|
@@ -221,7 +221,7 @@ let InitCommand = class InitCommand extends common_1.Command {
|
|
|
221
221
|
if (lodash_1.default.isEmpty(credential)) {
|
|
222
222
|
log.info('你还没有登录,请在控制台中授权登录');
|
|
223
223
|
const res = yield (0, utils_1.execWithLoading)(() => (0, auth_1.login)(), {
|
|
224
|
-
startTip: '
|
|
224
|
+
startTip: '在浏览器中打开的授权页面进行授权...',
|
|
225
225
|
successTip: '授权登录成功!'
|
|
226
226
|
});
|
|
227
227
|
const envId = (_a = res === null || res === void 0 ? void 0 : res.credential) === null || _a === void 0 ? void 0 : _a.envId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6-beta.0",
|
|
4
4
|
"description": "cli tool for cloudbase",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@cloudbase/cloud-api": "^0.5.5",
|
|
34
34
|
"@cloudbase/framework-core": "^1.9.6",
|
|
35
|
-
"@cloudbase/lowcode-cli": "
|
|
35
|
+
"@cloudbase/lowcode-cli": "0.16.3-beta.1",
|
|
36
36
|
"@cloudbase/manager-node": "4.0.1",
|
|
37
37
|
"@cloudbase/toolbox": "^0.7.3",
|
|
38
38
|
"@sentry/node": "^5.10.2",
|
package/.vscode/settings.json
DELETED