@scifeon/sdk 0.93.0 → 0.94.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/dist/cli/index.js +3 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -69,7 +69,7 @@ class ScifeonCLI {
|
|
|
69
69
|
.option("--branch <branch>", "Platform branch to use for SDK types.")
|
|
70
70
|
.allowUnknownOption()
|
|
71
71
|
.description("Build the App into the folder /build.\n")
|
|
72
|
-
.action((
|
|
72
|
+
.action((options) => __awaiter(this, void 0, void 0, function* () { return new build_1.BuildCommand().execute(options); }));
|
|
73
73
|
this.program
|
|
74
74
|
.command("clean")
|
|
75
75
|
.description("Remove the /build-folder.\n")
|
|
@@ -79,7 +79,7 @@ class ScifeonCLI {
|
|
|
79
79
|
.allowUnknownOption()
|
|
80
80
|
.option("--disable-browser-launch", "Don't launch http://localhost:5000 in the default browser.")
|
|
81
81
|
.description("Starts Scifeon development version and builds App with watch-mode.\n")
|
|
82
|
-
.action((
|
|
82
|
+
.action((options) => __awaiter(this, void 0, void 0, function* () {
|
|
83
83
|
return new debug_1.DebugCommand()
|
|
84
84
|
.execute(options.disableBrowserLaunch !== undefined && options.disableBrowserLaunch);
|
|
85
85
|
}));
|
|
@@ -106,7 +106,7 @@ class ScifeonCLI {
|
|
|
106
106
|
.option("--html-report")
|
|
107
107
|
.option("--dir <dir>")
|
|
108
108
|
.description("Run all unit-tests located in the /test/unit-folder.\n")
|
|
109
|
-
.action(
|
|
109
|
+
.action(options => new unit_test_1.TestCommand().execute(options));
|
|
110
110
|
this.program
|
|
111
111
|
.command("e2e-test")
|
|
112
112
|
.option("--url <url>", "URL for the scifeon instance to test", "http://localhost:5000")
|