@cloudbase/cli 2.6.0-alpha.8 → 2.7.0-alpha.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/lib/commands/env/base.js +1 -2
- package/lib/commands/iac/index.js +786 -0
- package/lib/commands/index.js +1 -1
- package/lib/commands/lowcode/utils.js +2 -1
- package/lib/utils/net/cloud-api-request.js +9 -9
- package/package.json +6 -5
- package/types/commands/iac/index.d.ts +58 -0
- package/types/commands/index.d.ts +1 -1
- package/types/decorators/params/common.d.ts +1 -1
- package/types/types.d.ts +2 -2
- package/types/utils/config.d.ts +1 -1
- package/types/utils/fs/index.d.ts +1 -1
- package/types/utils/net/http-request.d.ts +3 -3
- package/types/utils/output/loading.d.ts +1 -1
- package/types/utils/parallel.d.ts +1 -1
- package/types/utils/validator.d.ts +1 -1
- package/.history/src/commands/lowcode/app_20220728111717.ts +0 -52
- package/.history/src/commands/lowcode/app_20220728112031.ts +0 -34
- package/.history/src/commands/lowcode/app_20220729172854.ts +0 -34
- package/.history/src/index_20220624162613.ts +0 -13
- package/.history/src/index_20220627113609.ts +0 -15
- package/.history/src/index_20220627114102.ts +0 -13
- package/.yarnrc.yml +0 -1
- package/lib/commands/constants.js +0 -11
- package/lib/commands/fun/base.js +0 -454
- package/lib/commands/fun/index.js +0 -17
- package/lib/commands/utils.js +0 -47
- package/types/commands/constants.d.ts +0 -8
- package/types/commands/fun/base.d.ts +0 -43
- package/types/commands/fun/index.d.ts +0 -1
- package/types/commands/utils.d.ts +0 -3
package/lib/commands/env/base.js
CHANGED
|
@@ -27,7 +27,6 @@ const error_1 = require("../../error");
|
|
|
27
27
|
const env_1 = require("../../env");
|
|
28
28
|
const decorators_1 = require("../../decorators");
|
|
29
29
|
const utils_1 = require("../../utils");
|
|
30
|
-
const constants_1 = require("../constants");
|
|
31
30
|
let EnvListCommand = class EnvListCommand extends common_1.Command {
|
|
32
31
|
get options() {
|
|
33
32
|
return {
|
|
@@ -59,7 +58,7 @@ let EnvListCommand = class EnvListCommand extends common_1.Command {
|
|
|
59
58
|
item.Alias,
|
|
60
59
|
item.EnvId,
|
|
61
60
|
item.PackageName || '按量计费',
|
|
62
|
-
item.Source ===
|
|
61
|
+
item.Source === 'miniapp' ? '小程序' : '云开发',
|
|
63
62
|
item.CreateTime,
|
|
64
63
|
item.Status === 'NORMAL' ? '正常' : '不可用'
|
|
65
64
|
]);
|