create-wdio 8.4.6 → 8.4.8
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/README.md +1 -1
- package/build/index.js +4 -3
- package/build/utils.js +1 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ One command to create a fresh WebdriverIO project or add WebdriverIO to an exist
|
|
|
10
10
|
|
|
11
11
|
`create-wdio` works on macOS, Windows, and Linux.<br>
|
|
12
12
|
If something doesn’t work, please [file an issue](https://github.com/webdriverio/create-wdio/issues/new).<br>
|
|
13
|
-
If you have questions or need help, please ask in our [
|
|
13
|
+
If you have questions or need help, please ask in our [Discord Support channel](https://discord.webdriver.io).
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
16
16
|
<img src="https://raw.githubusercontent.com/webdriverio/wdio/main/.github/assets/demo.gif" alt="Example" />
|
package/build/index.js
CHANGED
|
@@ -75,7 +75,8 @@ export async function createWebdriverIO(opts) {
|
|
|
75
75
|
EXECUTE_COMMAND[pm],
|
|
76
76
|
WDIO_COMMAND,
|
|
77
77
|
'config',
|
|
78
|
-
...(opts.yes ? ['--yes'] : [])
|
|
78
|
+
...(opts.yes ? ['--yes'] : []),
|
|
79
|
+
...(opts.npmTag ? ['--npm-tag', opts.npmTag] : [])
|
|
79
80
|
].filter(i => !!i), { cwd: root });
|
|
80
81
|
}
|
|
81
82
|
async function isCLIInstalled(path) {
|
|
@@ -85,7 +86,7 @@ async function isCLIInstalled(path) {
|
|
|
85
86
|
resolve('@wdio/cli', pathToFileURL(path).href);
|
|
86
87
|
return true;
|
|
87
88
|
}
|
|
88
|
-
catch
|
|
89
|
+
catch {
|
|
89
90
|
// check of the cli is installed globally
|
|
90
91
|
// wrap in try/catch as it can fail on Windows
|
|
91
92
|
try {
|
|
@@ -97,7 +98,7 @@ async function isCLIInstalled(path) {
|
|
|
97
98
|
return true;
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
|
-
catch
|
|
101
|
+
catch {
|
|
101
102
|
return false;
|
|
102
103
|
}
|
|
103
104
|
return false;
|
package/build/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-wdio",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.8",
|
|
4
4
|
"description": "Install and setup a WebdriverIO project with all its dependencies in a single run",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,24 +39,24 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/cross-spawn": "^6.0.6",
|
|
42
|
-
"@types/node": "^
|
|
43
|
-
"@types/semver": "^7.5.
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
45
|
-
"@typescript-eslint/parser": "^
|
|
46
|
-
"@vitest/coverage-v8": "^
|
|
47
|
-
"eslint": "^8.
|
|
42
|
+
"@types/node": "^22.0.0",
|
|
43
|
+
"@types/semver": "^7.5.8",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
45
|
+
"@typescript-eslint/parser": "^8.1.0",
|
|
46
|
+
"@vitest/coverage-v8": "^2.0.5",
|
|
47
|
+
"eslint": "^8.57.0",
|
|
48
48
|
"eslint-plugin-import": "^2.29.1",
|
|
49
|
-
"eslint-plugin-unicorn": "^
|
|
49
|
+
"eslint-plugin-unicorn": "^55.0.0",
|
|
50
50
|
"npm-run-all": "^4.1.5",
|
|
51
|
-
"release-it": "^17.0
|
|
52
|
-
"typescript": "^5.
|
|
53
|
-
"vitest": "^
|
|
51
|
+
"release-it": "^17.6.0",
|
|
52
|
+
"typescript": "^5.5.4",
|
|
53
|
+
"vitest": "^2.0.5"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"chalk": "^5.3.0",
|
|
57
|
-
"commander": "^
|
|
57
|
+
"commander": "^12.1.0",
|
|
58
58
|
"cross-spawn": "^7.0.3",
|
|
59
|
-
"import-meta-resolve": "^4.
|
|
60
|
-
"semver": "^7.
|
|
59
|
+
"import-meta-resolve": "^4.1.0",
|
|
60
|
+
"semver": "^7.6.3"
|
|
61
61
|
}
|
|
62
62
|
}
|