qa 0.0.10 → 0.0.11
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/constants.js +2 -2
- package/package.json +3 -3
package/dist/constants.js
CHANGED
|
@@ -7,6 +7,6 @@ export const CLI_EPILOGUE = `Documentation: https://codeless.qa/docs/cli
|
|
|
7
7
|
qa (v${pkg.version})
|
|
8
8
|
© 2024 CodelessQA, Inc.
|
|
9
9
|
`;
|
|
10
|
-
export const PLATFORM_URL = 'https://codeless.qa' || 'http://localhost:4000';
|
|
11
|
-
export const WORKER_URL = 'wss://worker.codeless.qa' || 'ws://localhost:8080';
|
|
10
|
+
export const PLATFORM_URL = process.env.CODELESSQA_PLATFORM_URL || 'https://codeless.qa' || 'http://localhost:4000';
|
|
11
|
+
export const WORKER_URL = process.env.CODELESSQA_WORKER_URL || 'wss://worker.codeless.qa' || 'ws://localhost:8080';
|
|
12
12
|
export const TOKEN_PATH = path.join(homedir(), '/.codeless-qa');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qa",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"author": "Christian Bromann <christian@codeless.qa>",
|
|
5
5
|
"description": "Codeless QA CLI",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"build": "run-s build:*",
|
|
30
30
|
"build:ts": "tsc",
|
|
31
31
|
"build:replace": "run-s build:replace:*",
|
|
32
|
-
"build:replace:platform": "replace-in-files --string='process.env.PLATFORM_URL' --replacement=\"'
|
|
33
|
-
"build:replace:worker": "replace-in-files --string='process.env.WORKER_URL' --replacement=\"'
|
|
32
|
+
"build:replace:platform": "replace-in-files --string='process.env.PLATFORM_URL' --replacement=\"process.env.CODELESSQA_PLATFORM_URL || '$PLATFORM_URL'\" ./dist/constants.js",
|
|
33
|
+
"build:replace:worker": "replace-in-files --string='process.env.WORKER_URL' --replacement=\"process.env.CODELESSQA_WORKER_URL || '$WORKER_URL'\" ./dist/constants.js",
|
|
34
34
|
"start": "tsc --watch --preserveWatchOutput"
|
|
35
35
|
}
|
|
36
36
|
}
|