eitri-cli 1.22.2-beta.1 → 1.23.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 -0
- package/eitri-cli-v2/Cargo.toml +1 -0
- package/eitri-cli-v2/config/config.dev.toml +1 -1
- package/eitri-cli-v2/config/config.loc.toml +1 -1
- package/eitri-cli-v2/config/config.prod.toml +1 -1
- package/eitri-cli-v2/config/config.test.toml +1 -1
- 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 +6 -0
- package/eitri-cli-v2/index.js +2 -1
- package/index.js +8 -1
- package/package.json +1 -1
package/.vscode/settings.json
CHANGED
package/eitri-cli-v2/Cargo.toml
CHANGED
|
@@ -74,7 +74,7 @@ check = "/workspace/check"
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
[cdn_library]
|
|
77
|
+
commons_get_version = "/eitri-commons/versions/index.json"
|
|
77
78
|
url = "https://cdn.83io.com.br/library"
|
|
78
79
|
bifrost_versions = "/eitri-bifrost/versions/index.json"
|
|
79
80
|
luminus_ui_versions = "/luminus-ui/versions/index.json"
|
|
80
|
-
commons_get_version = "/eitri-commons/assets/$VERSION_NUMBER/eitri-commons-$VERSION_NUMBER.js"
|
|
@@ -75,7 +75,7 @@ check = "/workspace/check"
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
[cdn_library]
|
|
78
|
+
commons_get_version = "/eitri-commons/versions/index.json"
|
|
78
79
|
url = "https://cdn.83io.com.br/library"
|
|
79
80
|
bifrost_versions = "/eitri-bifrost/versions/index.json"
|
|
80
81
|
luminus_ui_versions = "/luminus-ui/versions/index.json"
|
|
81
|
-
commons_get_version = "/eitri-commons/assets/$VERSION_NUMBER/eitri-commons-$VERSION_NUMBER.js"
|
|
@@ -70,7 +70,7 @@ check = "/workspace/check"
|
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
[cdn_library]
|
|
73
|
+
commons_get_version = "/eitri-commons/versions/index.json"
|
|
73
74
|
url = "https://cdn.83io.com.br/library"
|
|
74
75
|
bifrost_versions = "/eitri-bifrost/versions/index.json"
|
|
75
76
|
luminus_ui_versions = "/luminus-ui/versions/index.json"
|
|
76
|
-
commons_get_version = "/eitri-commons/assets/$VERSION_NUMBER/eitri-commons-$VERSION_NUMBER.js"
|
|
@@ -78,4 +78,4 @@ check = "/workspace/check"
|
|
|
78
78
|
url = "https://cdn.83io.com.br/library"
|
|
79
79
|
bifrost_versions = "/eitri-bifrost/versions/index.json"
|
|
80
80
|
luminus_ui_versions = "/luminus-ui/versions/index.json"
|
|
81
|
-
commons_get_version = "/eitri-commons/
|
|
81
|
+
commons_get_version = "/eitri-commons/versions/index.json"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/eitri-cli-v2/index.d.ts
CHANGED
|
@@ -9,6 +9,11 @@ export interface StartArguments {
|
|
|
9
9
|
playground?: boolean
|
|
10
10
|
initializationParams?: string
|
|
11
11
|
}
|
|
12
|
+
export interface CreateArguments {
|
|
13
|
+
projectName: string
|
|
14
|
+
application?: string
|
|
15
|
+
yes?: boolean
|
|
16
|
+
}
|
|
12
17
|
export interface EitriLibsArguments {
|
|
13
18
|
bifrost?: boolean
|
|
14
19
|
luminus?: boolean
|
|
@@ -18,6 +23,7 @@ export declare function runTest(userJwt: string, userWorkspaceId: string, testPa
|
|
|
18
23
|
export declare function eitriLibs(eitriLibsArgs: EitriLibsArguments): Promise<void>
|
|
19
24
|
export declare function doctor(): Promise<void>
|
|
20
25
|
export declare function start(args: StartArguments): Promise<void>
|
|
26
|
+
export declare function create(args: CreateArguments): Promise<void>
|
|
21
27
|
export declare namespace app {
|
|
22
28
|
export function start(args: StartArguments): Promise<void>
|
|
23
29
|
export function appLogs(): Promise<void>
|
package/eitri-cli-v2/index.js
CHANGED
|
@@ -310,12 +310,13 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const { publish, runTest, eitriLibs, doctor, start, app, workspace } = nativeBinding
|
|
313
|
+
const { publish, runTest, eitriLibs, doctor, start, create, app, workspace } = nativeBinding
|
|
314
314
|
|
|
315
315
|
module.exports.publish = publish
|
|
316
316
|
module.exports.runTest = runTest
|
|
317
317
|
module.exports.eitriLibs = eitriLibs
|
|
318
318
|
module.exports.doctor = doctor
|
|
319
319
|
module.exports.start = start
|
|
320
|
+
module.exports.create = create
|
|
320
321
|
module.exports.app = app
|
|
321
322
|
module.exports.workspace = workspace
|
package/index.js
CHANGED
|
@@ -62,7 +62,14 @@ const run = async () => {
|
|
|
62
62
|
"Define o application de execução do Eitri-App"
|
|
63
63
|
)
|
|
64
64
|
.option("-v, --verbose", "Exibe mais logs")
|
|
65
|
-
.action((projectName, cmdObj) => {
|
|
65
|
+
.action(async (projectName, cmdObj) => {
|
|
66
|
+
if (process.env.FT_CREATE_V2) {
|
|
67
|
+
const eitriCLIV2 = require("./eitri-cli-v2/index.js");
|
|
68
|
+
return await eitriCLIV2.create({
|
|
69
|
+
...cmdObj,
|
|
70
|
+
projectName
|
|
71
|
+
});
|
|
72
|
+
}
|
|
66
73
|
require("./src/cmd/create")(projectName, cmdObj);
|
|
67
74
|
});
|
|
68
75
|
|