eitri-cli 1.33.1 → 1.34.0-beta.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/.vscode/settings.json +1 -0
- package/bitbucket-pipelines.yml +1 -0
- package/eitri-cli-v2/Cargo.toml +3 -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 +1 -0
- package/index.js +7 -21
- package/package.json +1 -1
- package/developer-folder/jsconfig.json +0 -13
package/.vscode/settings.json
CHANGED
package/bitbucket-pipelines.yml
CHANGED
package/eitri-cli-v2/Cargo.toml
CHANGED
|
@@ -73,6 +73,9 @@ openssl = { version = "0.9", features = ["vendored"] }
|
|
|
73
73
|
[target.x86_64-apple-darwin]
|
|
74
74
|
openssl = { version = "0.9", features = ["vendored"] }
|
|
75
75
|
|
|
76
|
+
[target.x86_64-pc-windows-msvc]
|
|
77
|
+
linker = "clang-cl"
|
|
78
|
+
|
|
76
79
|
[build-dependencies]
|
|
77
80
|
napi-build = "2.0.1"
|
|
78
81
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/eitri-cli-v2/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -95,8 +95,7 @@ const run = async () => {
|
|
|
95
95
|
)
|
|
96
96
|
.option("-v, --verbose", "Exibe mais logs")
|
|
97
97
|
.action(async (projectName, cmdObj) => {
|
|
98
|
-
|
|
99
|
-
return await eitriCLIV2.create({
|
|
98
|
+
return await globalEitriCLIV2.create({
|
|
100
99
|
...cmdObj,
|
|
101
100
|
projectName
|
|
102
101
|
});
|
|
@@ -128,8 +127,7 @@ const run = async () => {
|
|
|
128
127
|
.option("-sh, --shared", "Executa o Eitri-App no modo compartilhável.")
|
|
129
128
|
|
|
130
129
|
startProgram.action(async (cmdObj) => {
|
|
131
|
-
|
|
132
|
-
return await eitriCLIV2.start(cmdObj);
|
|
130
|
+
return await globalEitriCLIV2.start(cmdObj);
|
|
133
131
|
});
|
|
134
132
|
|
|
135
133
|
program
|
|
@@ -150,11 +148,7 @@ const run = async () => {
|
|
|
150
148
|
)
|
|
151
149
|
.option("-y, --yes", "Aceita automaticamente as respostas do prompt.")
|
|
152
150
|
.action(async (cmdObj) => {
|
|
153
|
-
|
|
154
|
-
await globalEitriCLIV2.pushVersion(cmdObj);
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
require("./src/cmd/push-version")(cmdObj);
|
|
151
|
+
return await globalEitriCLIV2.pushVersion(cmdObj);
|
|
158
152
|
});
|
|
159
153
|
|
|
160
154
|
program
|
|
@@ -183,8 +177,7 @@ const run = async () => {
|
|
|
183
177
|
.option("--bifrost", "Lista todas as versões do Bifrost")
|
|
184
178
|
.option("--luminus", "Lista todas as versões do Luminus")
|
|
185
179
|
.action(async (cmdObj) => {
|
|
186
|
-
|
|
187
|
-
await eitriCLIV2.eitriLibs(cmdObj);
|
|
180
|
+
await globalEitriCLIV2.eitriLibs(cmdObj);
|
|
188
181
|
});
|
|
189
182
|
|
|
190
183
|
program
|
|
@@ -193,12 +186,7 @@ const run = async () => {
|
|
|
193
186
|
"Valida as dependências externas para execução da CLI do Eitri"
|
|
194
187
|
)
|
|
195
188
|
.action(async (cmdObj) => {
|
|
196
|
-
|
|
197
|
-
console.log("doctor (v2)");
|
|
198
|
-
const eitriCLIV2 = require("./eitri-cli-v2/index.js");
|
|
199
|
-
return await eitriCLIV2.doctor();
|
|
200
|
-
}
|
|
201
|
-
require("./src/cmd/doctor")(cmdObj);
|
|
189
|
+
return await globalEitriCLIV2.doctor();
|
|
202
190
|
});
|
|
203
191
|
|
|
204
192
|
program
|
|
@@ -210,8 +198,7 @@ const run = async () => {
|
|
|
210
198
|
)
|
|
211
199
|
.option("-m, --message <publish-message>", "Adiciona comentários na versão")
|
|
212
200
|
.action(async (cmdObj) => {
|
|
213
|
-
|
|
214
|
-
await eitriCLIV2.publish(cmdObj.environment, cmdObj.message || "");
|
|
201
|
+
await globalEitriCLIV2.publish(cmdObj.environment, cmdObj.message || "");
|
|
215
202
|
});
|
|
216
203
|
|
|
217
204
|
program
|
|
@@ -233,8 +220,7 @@ const run = async () => {
|
|
|
233
220
|
"Fornece um prompt para geração de Views com o Eitri-GPT."
|
|
234
221
|
)
|
|
235
222
|
.action(async (cmdObj) => {
|
|
236
|
-
|
|
237
|
-
return await eitriCLIV2.gpt();
|
|
223
|
+
return await globalEitriCLIV2.gpt();
|
|
238
224
|
});
|
|
239
225
|
|
|
240
226
|
program.addCommand(VegvisirCommand());
|
package/package.json
CHANGED