eitri-cli 1.30.2 → 1.31.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/eitri-cli-v2/config/config.dev.toml +1 -0
- package/eitri-cli-v2/config/config.loc.toml +1 -0
- package/eitri-cli-v2/config/config.prod.toml +1 -0
- package/eitri-cli-v2/config/config.runes-foundry.toml +1 -0
- package/eitri-cli-v2/config/config.test.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 +6 -0
- package/eitri-cli-v2/index.js +2 -1
- package/index.js +5 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/eitri-cli-v2/index.d.ts
CHANGED
|
@@ -18,6 +18,11 @@ export interface EitriLibsArguments {
|
|
|
18
18
|
bifrost?: boolean
|
|
19
19
|
luminus?: boolean
|
|
20
20
|
}
|
|
21
|
+
export interface PushArgs {
|
|
22
|
+
verbose?: boolean
|
|
23
|
+
shared?: boolean
|
|
24
|
+
message?: string
|
|
25
|
+
}
|
|
21
26
|
export declare function publish(environment: string, message: string): Promise<void>
|
|
22
27
|
export declare function runTest(testPath: string): Promise<void>
|
|
23
28
|
export declare function eitriLibs(eitriLibsArgs: EitriLibsArguments): Promise<void>
|
|
@@ -27,6 +32,7 @@ export declare function create(args: CreateArguments): Promise<void>
|
|
|
27
32
|
export declare function updateChecker(): void
|
|
28
33
|
export declare function gpt(): Promise<void>
|
|
29
34
|
export declare function connectionCheck(): Promise<void>
|
|
35
|
+
export declare function pushVersion(args: PushArgs): Promise<void>
|
|
30
36
|
export declare namespace app {
|
|
31
37
|
export function start(args: StartArguments): Promise<void>
|
|
32
38
|
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, app, workspace } = nativeBinding
|
|
313
|
+
const { publish, runTest, eitriLibs, doctor, start, create, updateChecker, gpt, connectionCheck, pushVersion, app, workspace } = nativeBinding
|
|
314
314
|
|
|
315
315
|
module.exports.publish = publish
|
|
316
316
|
module.exports.runTest = runTest
|
|
@@ -321,5 +321,6 @@ module.exports.create = create
|
|
|
321
321
|
module.exports.updateChecker = updateChecker
|
|
322
322
|
module.exports.gpt = gpt
|
|
323
323
|
module.exports.connectionCheck = connectionCheck
|
|
324
|
+
module.exports.pushVersion = pushVersion
|
|
324
325
|
module.exports.app = app
|
|
325
326
|
module.exports.workspace = workspace
|
package/index.js
CHANGED
|
@@ -150,7 +150,11 @@ const run = async () => {
|
|
|
150
150
|
"Adiciona comentários na versão"
|
|
151
151
|
)
|
|
152
152
|
.option("-y, --yes", "Aceita automaticamente as respostas do prompt.")
|
|
153
|
-
.action((cmdObj) => {
|
|
153
|
+
.action(async (cmdObj) => {
|
|
154
|
+
if (process.env.FT_PUSH_VERSION_V2) {
|
|
155
|
+
await globalEitriCLIV2.pushVersion(cmdObj);
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
154
158
|
require("./src/cmd/push-version")(cmdObj);
|
|
155
159
|
});
|
|
156
160
|
|