eitri-cli 1.19.1 → 1.20.0-beta.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/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/index.js +1 -1
- package/package.json +1 -1
- package/src/cmd/loginV2.js +1 -1
- package/src/service/MiniLog.js +4 -4
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -72,7 +72,7 @@ const run = async () => {
|
|
|
72
72
|
.option("-v, --verbose", "Exibe mais logs")
|
|
73
73
|
.option("-f, --force", "Força o start")
|
|
74
74
|
.option("-S, --show-deeplink", "Exibe o deep link do workspace")
|
|
75
|
-
.option("-sm, --skip-mini-log", "
|
|
75
|
+
.option("-sm, --skip-mini-log", "Pula (skip) a conexão com o mini-log")
|
|
76
76
|
.option(
|
|
77
77
|
"-p, --playground",
|
|
78
78
|
"Gera um QR code com a URL de abertura do Eitri Playground"
|
package/package.json
CHANGED
package/src/cmd/loginV2.js
CHANGED
package/src/service/MiniLog.js
CHANGED
|
@@ -19,8 +19,8 @@ class MiniLog {
|
|
|
19
19
|
resolve()
|
|
20
20
|
})
|
|
21
21
|
socket.on('connect_error', (e) => {
|
|
22
|
-
if (silentOnConnect) console.error('Não foi possível
|
|
23
|
-
else console.error('Não foi possível
|
|
22
|
+
if (silentOnConnect) console.error('Não foi possível conectar ao compilador', roomName)
|
|
23
|
+
else console.error('Não foi possível conectar ao compilador', roomName, `${this._config.url} ${this._config.path}`)
|
|
24
24
|
reject(e)
|
|
25
25
|
})
|
|
26
26
|
socket.on('onLog', (data) => {
|
|
@@ -43,7 +43,7 @@ class MiniLog {
|
|
|
43
43
|
})
|
|
44
44
|
socket.on('connect_error', (e) => {
|
|
45
45
|
if (args?.verbose) {
|
|
46
|
-
console.error('Não foi possível
|
|
46
|
+
console.error('Não foi possível conectar em: ', {roomName})
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
reject(e)
|
|
@@ -75,7 +75,7 @@ class MiniLog {
|
|
|
75
75
|
})
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
awaitForGenerateLoginCredentials() {
|
|
79
79
|
return new Promise((resolve) => {
|
|
80
80
|
this.socket.on('onLog', (event) => {
|
|
81
81
|
if(event.eventKey === "loginCredentials"){
|