create-wdio
Advanced tools
Comparing version 7.0.3 to 7.1.0
@@ -91,7 +91,7 @@ "use strict"; | ||
const pkgJson = require(pkgJsonPath); | ||
const isUsingTypescript = await (0, utils_1.exists)('wdio.conf.ts'); | ||
const isUsingTypescript = await (0, utils_1.exists)('test/wdio.conf.ts'); | ||
if (!pkgJson.scripts) { | ||
pkgJson.scripts = {}; | ||
} | ||
pkgJson.scripts['wdio'] = `wdio run wdio.conf.${isUsingTypescript ? 'ts' : 'js'}`; | ||
pkgJson.scripts['wdio'] = `wdio run ${isUsingTypescript ? 'test/wdio.conf.ts' : 'wdio.conf.js'}`; | ||
await fs_1.default.promises.writeFile(pkgJsonPath, JSON.stringify(pkgJson, null, 4)); | ||
@@ -98,0 +98,0 @@ } |
{ | ||
"name": "create-wdio", | ||
"version": "7.0.3", | ||
"version": "7.1.0", | ||
"description": "Install WebdriverIO with all its dependencies in a single run", | ||
@@ -43,3 +43,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
"@types/jest": "^27.0.2", | ||
"@types/node": "^16.11.1", | ||
"@types/node": "^17.0.7", | ||
"@types/semver": "^7.3.8", | ||
@@ -59,3 +59,3 @@ "@typescript-eslint/eslint-plugin": "^5.0.0", | ||
"chalk": "^4.1.2", | ||
"commander": "^8.2.0", | ||
"commander": "^9.0.0", | ||
"cross-spawn": "^7.0.3", | ||
@@ -62,0 +62,0 @@ "semver": "^7.3.5" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18741
+ Addedcommander@9.5.0(transitive)
- Removedcommander@8.3.0(transitive)
Updatedcommander@^9.0.0