eitri-cli 1.38.0-beta.10 → 1.38.0-beta.11
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/eitri-cli-v2/eitri-cli-v2.darwin-arm64.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.darwin-x64.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.linux-x64-gnu.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.win32-x64-msvc.node +0 -0
- package/eitri-cli-v2/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/modules/vegvisir/VegvisirCommand.js +6 -12
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/eitri-cli-v2/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
const commander = require("commander");
|
|
2
|
-
|
|
2
|
+
const eitriCLIV2 = require("../../../eitri-cli-v2/index.js");
|
|
3
3
|
module.exports = function VegvisirCommand() {
|
|
4
|
-
const NEW_CLI_VERSION = process.env.CLI_VERSION === "v2";
|
|
5
4
|
|
|
6
5
|
const workspaceCommand = commander
|
|
7
6
|
.command("workspace")
|
|
@@ -13,7 +12,7 @@ module.exports = function VegvisirCommand() {
|
|
|
13
12
|
.command("list")
|
|
14
13
|
.description("Lista os workspaces do usuário")
|
|
15
14
|
.action(async (cmdObj) => {
|
|
16
|
-
|
|
15
|
+
await eitriCLIV2.workspace.list()
|
|
17
16
|
});
|
|
18
17
|
|
|
19
18
|
workspaceCommand
|
|
@@ -34,8 +33,8 @@ module.exports = function VegvisirCommand() {
|
|
|
34
33
|
workspaceCommand
|
|
35
34
|
.command("create")
|
|
36
35
|
.description("Cria um workspace para desenvolvimento de Eitri-Apps")
|
|
37
|
-
.action((
|
|
38
|
-
|
|
36
|
+
.action(async () => {
|
|
37
|
+
await eitriCLIV2.workspace.create();
|
|
39
38
|
});
|
|
40
39
|
|
|
41
40
|
workspaceCommand
|
|
@@ -43,13 +42,9 @@ module.exports = function VegvisirCommand() {
|
|
|
43
42
|
.description(
|
|
44
43
|
"Exibe o workspace atual, obedecendo a prioridade Local > Global."
|
|
45
44
|
)
|
|
46
|
-
.action(async (
|
|
47
|
-
|
|
48
|
-
const eitriCLIV2 = require("../../../eitri-cli-v2/index.js");
|
|
49
|
-
return await eitriCLIV2.workspace.current();
|
|
50
|
-
}
|
|
45
|
+
.action(async () => {
|
|
46
|
+
return await eitriCLIV2.workspace.current();
|
|
51
47
|
|
|
52
|
-
require("./cmd/current")(cmdObj);
|
|
53
48
|
});
|
|
54
49
|
|
|
55
50
|
workspaceCommand
|
|
@@ -58,7 +53,6 @@ module.exports = function VegvisirCommand() {
|
|
|
58
53
|
"Realiza a limpeza do workspace remoto do desenvolvedor. Útil quando há mal funcionamento na compilação em nuvem do Eitri-App. Obedece a prioridade Local > Global."
|
|
59
54
|
)
|
|
60
55
|
.action(async () => {
|
|
61
|
-
const eitriCLIV2 = require("../../../eitri-cli-v2/index.js");
|
|
62
56
|
await eitriCLIV2.workspace.clean();
|
|
63
57
|
});
|
|
64
58
|
|