@midscene/cli 1.9.1-beta-20260605031620.0 → 1.9.1
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/framework/index.mjs +4 -3
- package/dist/es/framework/index.mjs.map +1 -1
- package/dist/es/index.mjs +7 -4
- package/dist/es/index.mjs.map +1 -1
- package/dist/lib/framework/index.js +3 -6
- package/dist/lib/framework/index.js.map +1 -1
- package/dist/lib/index.js +6 -7
- package/dist/lib/index.js.map +1 -1
- package/package.json +8 -8
package/dist/lib/index.js
CHANGED
|
@@ -3256,12 +3256,9 @@ defineYamlBatchTest(${JSON.stringify(testOptions, null, 2)});
|
|
|
3256
3256
|
}
|
|
3257
3257
|
const external_node_module_namespaceObject = require("node:module");
|
|
3258
3258
|
var external_node_url_ = __webpack_require__("node:url");
|
|
3259
|
-
const
|
|
3260
|
-
const entry = process.argv[1] ? (0, external_node_path_.resolve)(process.argv[1]) : (0, external_node_path_.join)(process.cwd(), 'midscene-cli.js');
|
|
3261
|
-
return (0, external_node_module_namespaceObject.createRequire)(entry);
|
|
3262
|
-
};
|
|
3259
|
+
const requireFromCliPackage = ()=>(0, external_node_module_namespaceObject.createRequire)((0, external_node_path_.join)(__dirname, 'index.js'));
|
|
3263
3260
|
const resolvePackageFromRstestCore = (packageName)=>{
|
|
3264
|
-
const require1 =
|
|
3261
|
+
const require1 = requireFromCliPackage();
|
|
3265
3262
|
const rstestPackageJsonPath = require1.resolve('@rstest/core/package.json');
|
|
3266
3263
|
return (0, external_node_module_namespaceObject.createRequire)(rstestPackageJsonPath).resolve(packageName);
|
|
3267
3264
|
};
|
|
@@ -3374,7 +3371,9 @@ defineYamlBatchTest(${JSON.stringify(testOptions, null, 2)});
|
|
|
3374
3371
|
const cli_namespaceObject = require("@midscene/shared/cli");
|
|
3375
3372
|
var main = __webpack_require__("../../node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js");
|
|
3376
3373
|
var main_default = /*#__PURE__*/ __webpack_require__.n(main);
|
|
3377
|
-
var package_namespaceObject =
|
|
3374
|
+
var package_namespaceObject = {
|
|
3375
|
+
rE: "1.9.1"
|
|
3376
|
+
};
|
|
3378
3377
|
var logger_ = __webpack_require__("@midscene/shared/logger");
|
|
3379
3378
|
var brace_expansion = __webpack_require__("../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js");
|
|
3380
3379
|
const MAX_PATTERN_LENGTH = 65536;
|
|
@@ -11208,7 +11207,7 @@ Usage:
|
|
|
11208
11207
|
type: 'boolean',
|
|
11209
11208
|
description: `Turn on logging to help debug why certain keys or values are not being set as you expect, default is ${config_factory_defaultConfig.dotenvDebug}`
|
|
11210
11209
|
}
|
|
11211
|
-
}).version('version', 'Show version number', "1.9.1
|
|
11210
|
+
}).version('version', 'Show version number', "1.9.1").help().epilogue(`For complete list of configuration options, please visit:
|
|
11212
11211
|
• Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
|
|
11213
11212
|
• Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
|
|
11214
11213
|
• iOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-ios-part
|