eitri-cli 1.32.0 → 1.33.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/.vscode/settings.json +2 -1
- package/developer-folder/jsconfig.json +13 -0
- package/eitri-cli-v2/Cargo.toml +1 -0
- 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 +5 -0
- package/eitri-cli-v2/index.js +2 -1
- package/index.js +3 -4
- package/package.json +1 -1
package/.vscode/settings.json
CHANGED
package/eitri-cli-v2/Cargo.toml
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/eitri-cli-v2/index.d.ts
CHANGED
|
@@ -19,6 +19,10 @@ export interface EitriLibsArguments {
|
|
|
19
19
|
bifrost?: boolean
|
|
20
20
|
luminus?: boolean
|
|
21
21
|
}
|
|
22
|
+
export interface LoginArgs {
|
|
23
|
+
verbose?: boolean
|
|
24
|
+
yes?: boolean
|
|
25
|
+
}
|
|
22
26
|
export interface PushArgs {
|
|
23
27
|
verbose?: boolean
|
|
24
28
|
shared?: boolean
|
|
@@ -39,6 +43,7 @@ export declare function updateChecker(): void
|
|
|
39
43
|
export declare function gpt(): Promise<void>
|
|
40
44
|
export declare function connectionCheck(): Promise<void>
|
|
41
45
|
export declare function pushVersion(args: PushArgs): Promise<void>
|
|
46
|
+
export declare function login(args: LoginArgs): Promise<void>
|
|
42
47
|
export declare namespace app {
|
|
43
48
|
export function start(args: StartArguments): Promise<void>
|
|
44
49
|
export function appLogs(): Promise<void>
|
package/eitri-cli-v2/index.js
CHANGED
|
@@ -310,7 +310,7 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const { publish, runTest, eitriLibs, doctor, start, create, updateChecker, gpt, connectionCheck, pushVersion, app, workspace } = nativeBinding
|
|
313
|
+
const { publish, runTest, eitriLibs, doctor, start, create, updateChecker, gpt, connectionCheck, pushVersion, login, app, workspace } = nativeBinding
|
|
314
314
|
|
|
315
315
|
module.exports.publish = publish
|
|
316
316
|
module.exports.runTest = runTest
|
|
@@ -322,5 +322,6 @@ module.exports.updateChecker = updateChecker
|
|
|
322
322
|
module.exports.gpt = gpt
|
|
323
323
|
module.exports.connectionCheck = connectionCheck
|
|
324
324
|
module.exports.pushVersion = pushVersion
|
|
325
|
+
module.exports.login = login
|
|
325
326
|
module.exports.app = app
|
|
326
327
|
module.exports.workspace = workspace
|
package/index.js
CHANGED
|
@@ -75,10 +75,9 @@ const run = async () => {
|
|
|
75
75
|
.option("--yes", "Aceita o redirecionamento para o console")
|
|
76
76
|
.option("-v, --verbose", "Exibe mais logs")
|
|
77
77
|
.action(async (cmdObj) => {
|
|
78
|
-
const
|
|
79
|
-
if (
|
|
80
|
-
|
|
81
|
-
require("./src/cmd/login")(cmdObj);
|
|
78
|
+
const isLoginV3 = process.env.FT_LOGIN_V3
|
|
79
|
+
if (isLoginV3 === 'true') {
|
|
80
|
+
await globalEitriCLIV2.login(cmdObj)
|
|
82
81
|
return
|
|
83
82
|
}
|
|
84
83
|
|