@lambdatest/smartui-cli 2.0.0 → 2.0.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/dist/index.cjs +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -83,8 +83,8 @@ var server_default = (ctx) => __async(void 0, null, function* () {
|
|
|
83
83
|
reply.code(200).send({ data: { message: "success" } });
|
|
84
84
|
}));
|
|
85
85
|
yield server.listen({ port: 8080 });
|
|
86
|
-
let {
|
|
87
|
-
process.env.SMARTUI_SERVER_ADDRESS = `http
|
|
86
|
+
let { port } = server.addresses()[0];
|
|
87
|
+
process.env.SMARTUI_SERVER_ADDRESS = `http://localhost:${port}`;
|
|
88
88
|
return server;
|
|
89
89
|
});
|
|
90
90
|
|
|
@@ -92,7 +92,7 @@ var server_default = (ctx) => __async(void 0, null, function* () {
|
|
|
92
92
|
var env_default = () => {
|
|
93
93
|
const {
|
|
94
94
|
PROJECT_TOKEN = "",
|
|
95
|
-
SMARTUI_CLIENT_API_URL = "https://api.lambdatest.com",
|
|
95
|
+
SMARTUI_CLIENT_API_URL = "https://api.lambdatest.com/visualui/1.0",
|
|
96
96
|
SMARTUI_LOG_LEVEL,
|
|
97
97
|
SMARTUI_DEBUG
|
|
98
98
|
} = process.env;
|
|
@@ -230,7 +230,7 @@ function createWebStaticConfig(filepath) {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
// package.json
|
|
233
|
-
var version = "2.0.
|
|
233
|
+
var version = "2.0.2";
|
|
234
234
|
function delDir(dir) {
|
|
235
235
|
if (fs__default.default.existsSync(dir)) {
|
|
236
236
|
fs__default.default.rmSync(dir, { recursive: true });
|