@wdio/cli 8.0.0-alpha.630 → 8.0.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/build/utils.js +1 -1
- package/package.json +9 -9
package/build/utils.js
CHANGED
|
@@ -648,7 +648,7 @@ export async function createWDIOScript(parsedAnswers) {
|
|
|
648
648
|
try {
|
|
649
649
|
console.log(`Adding ${chalk.bold('"wdio"')} script to package.json.`);
|
|
650
650
|
const script = `wdio run ./${path.join('.', parsedAnswers.wdioConfigPath.replace(projectProps?.path || process.cwd(), ''))}`;
|
|
651
|
-
await runProgram('npm', ['pkg', 'set',
|
|
651
|
+
await runProgram('npm', ['pkg', 'set', `scripts.wdio=${script}`], { cwd: parsedAnswers.projectRootDir });
|
|
652
652
|
console.log(chalk.green.bold('✔ Success!'));
|
|
653
653
|
}
|
|
654
654
|
catch (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "8.0.0
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "WebdriverIO testrunner command line interface",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cli",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@types/lodash.union": "^4.6.7",
|
|
41
41
|
"@types/recursive-readdir": "^2.2.1",
|
|
42
42
|
"@types/yargs": "^17.0.10",
|
|
43
|
-
"@wdio/config": "8.0.0
|
|
44
|
-
"@wdio/globals": "8.0.0
|
|
45
|
-
"@wdio/logger": "8.0.0
|
|
46
|
-
"@wdio/protocols": "8.0.0
|
|
47
|
-
"@wdio/types": "8.0.0
|
|
48
|
-
"@wdio/utils": "8.0.0
|
|
43
|
+
"@wdio/config": "8.0.0",
|
|
44
|
+
"@wdio/globals": "8.0.0",
|
|
45
|
+
"@wdio/logger": "8.0.0",
|
|
46
|
+
"@wdio/protocols": "8.0.0",
|
|
47
|
+
"@wdio/types": "8.0.0",
|
|
48
|
+
"@wdio/utils": "8.0.0",
|
|
49
49
|
"async-exit-hook": "^2.0.1",
|
|
50
50
|
"chalk": "^5.0.1",
|
|
51
51
|
"chokidar": "^3.5.3",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"mkdirp": "^1.0.4",
|
|
60
60
|
"read-pkg-up": "9.1.0",
|
|
61
61
|
"recursive-readdir": "^2.2.2",
|
|
62
|
-
"webdriverio": "8.0.0
|
|
62
|
+
"webdriverio": "8.0.0",
|
|
63
63
|
"yargs": "^17.5.1",
|
|
64
64
|
"yarn-install": "^1.0.0"
|
|
65
65
|
},
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@types/node": "^18.0.0"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "a9b5954c62b7dff2af701159ff7837eb98a9b258"
|
|
73
73
|
}
|