@midscene/cli 1.0.1-beta-20251024063839.0 → 1.0.1-beta-20251024064637.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/es/index.mjs +6 -8
- package/dist/es/index.mjs.map +1 -1
- package/dist/lib/index.js +6 -8
- package/dist/lib/index.js.map +1 -1
- package/package.json +6 -6
package/dist/lib/index.js
CHANGED
|
@@ -3015,7 +3015,7 @@ var __webpack_modules__ = {
|
|
|
3015
3015
|
var external_node_path_default = /*#__PURE__*/ __webpack_require__.n(external_node_path_namespaceObject);
|
|
3016
3016
|
var main = __webpack_require__("../../node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js");
|
|
3017
3017
|
var main_default = /*#__PURE__*/ __webpack_require__.n(main);
|
|
3018
|
-
var package_namespaceObject = JSON.parse('{"i8":"1.0.1-beta-
|
|
3018
|
+
var package_namespaceObject = JSON.parse('{"i8":"1.0.1-beta-20251024064637.0"}');
|
|
3019
3019
|
const yaml_namespaceObject = require("@midscene/core/yaml");
|
|
3020
3020
|
const common_namespaceObject = require("@midscene/shared/common");
|
|
3021
3021
|
const external_lodash_merge_namespaceObject = require("lodash.merge");
|
|
@@ -3237,7 +3237,6 @@ var __webpack_modules__ = {
|
|
|
3237
3237
|
var _yamlScript_agent2;
|
|
3238
3238
|
const androidTarget = clonedYamlScript.android;
|
|
3239
3239
|
const agent = await (0, android_namespaceObject.agentFromAdbDevice)(null == androidTarget ? void 0 : androidTarget.deviceId, {
|
|
3240
|
-
...androidTarget,
|
|
3241
3240
|
cache: (0, utils_namespaceObject.processCacheConfig)(null == (_yamlScript_agent2 = yamlScript.agent) ? void 0 : _yamlScript_agent2.cache, fileName)
|
|
3242
3241
|
});
|
|
3243
3242
|
if (null == androidTarget ? void 0 : androidTarget.launch) await agent.launch(androidTarget.launch);
|
|
@@ -3251,11 +3250,10 @@ var __webpack_modules__ = {
|
|
|
3251
3250
|
};
|
|
3252
3251
|
}
|
|
3253
3252
|
if (void 0 !== clonedYamlScript.ios) {
|
|
3254
|
-
var _yamlScript_agent3;
|
|
3255
3253
|
const iosTarget = clonedYamlScript.ios;
|
|
3256
3254
|
const agent = await (0, ios_namespaceObject.agentFromWebDriverAgent)({
|
|
3257
|
-
|
|
3258
|
-
|
|
3255
|
+
wdaPort: null == iosTarget ? void 0 : iosTarget.wdaPort,
|
|
3256
|
+
wdaHost: null == iosTarget ? void 0 : iosTarget.wdaHost
|
|
3259
3257
|
});
|
|
3260
3258
|
if (null == iosTarget ? void 0 : iosTarget.launch) await agent.launch(iosTarget.launch);
|
|
3261
3259
|
freeFn.push({
|
|
@@ -3268,7 +3266,7 @@ var __webpack_modules__ = {
|
|
|
3268
3266
|
};
|
|
3269
3267
|
}
|
|
3270
3268
|
if (void 0 !== clonedYamlScript.interface) {
|
|
3271
|
-
var
|
|
3269
|
+
var _yamlScript_agent3;
|
|
3272
3270
|
const interfaceTarget = clonedYamlScript.interface;
|
|
3273
3271
|
const moduleSpecifier = interfaceTarget.module;
|
|
3274
3272
|
let finalModuleSpecifier;
|
|
@@ -3284,7 +3282,7 @@ var __webpack_modules__ = {
|
|
|
3284
3282
|
debug('creating agent from device', device);
|
|
3285
3283
|
const agent = (0, agent_namespaceObject.createAgent)(device, {
|
|
3286
3284
|
...yamlScript.agent,
|
|
3287
|
-
cache: (0, utils_namespaceObject.processCacheConfig)(null == (
|
|
3285
|
+
cache: (0, utils_namespaceObject.processCacheConfig)(null == (_yamlScript_agent3 = yamlScript.agent) ? void 0 : _yamlScript_agent3.cache, fileName)
|
|
3288
3286
|
});
|
|
3289
3287
|
freeFn.push({
|
|
3290
3288
|
name: 'destroy_general_interface_agent',
|
|
@@ -11920,7 +11918,7 @@ Usage:
|
|
|
11920
11918
|
type: 'string',
|
|
11921
11919
|
description: 'Override WebDriverAgent host for iOS environments.'
|
|
11922
11920
|
}
|
|
11923
|
-
}).version('version', 'Show version number', "1.0.1-beta-
|
|
11921
|
+
}).version('version', 'Show version number', "1.0.1-beta-20251024064637.0").help().wrap(yargs().terminalWidth());
|
|
11924
11922
|
const argv = await args.argv;
|
|
11925
11923
|
cli_utils_debug('argv', argv);
|
|
11926
11924
|
const transformedArgv = {
|