create-wdio 9.17.0 → 9.17.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/build/config/cli.js +3 -3
- package/build/index.js +2 -2
- package/build/install/cli.js +3 -3
- package/build/utils/index.js +2 -2
- package/package.json +2 -2
package/build/config/cli.js
CHANGED
|
@@ -128,7 +128,7 @@ function getInstallCommand(pm, packages, dev) {
|
|
|
128
128
|
var NPM_COMMAND = /^win/.test(process.platform) ? "npm.cmd" : "npm";
|
|
129
129
|
var __dirname = path.dirname(url.fileURLToPath(import.meta.url));
|
|
130
130
|
process.on("SIGINT", () => printAndExit(void 0, "SIGINT"));
|
|
131
|
-
var TEMPLATE_ROOT_DIR = path.join(__dirname, "templates", "exampleFiles");
|
|
131
|
+
var TEMPLATE_ROOT_DIR = path.join(__dirname, "..", "templates", "exampleFiles");
|
|
132
132
|
function runProgram(command2, args, options) {
|
|
133
133
|
const child = spawn(command2, args, { stdio: "inherit", ...options });
|
|
134
134
|
return new Promise((resolve, rejects) => {
|
|
@@ -453,7 +453,7 @@ function addServiceDeps(names, packages, update = false) {
|
|
|
453
453
|
async function createWDIOConfig(parsedAnswers) {
|
|
454
454
|
try {
|
|
455
455
|
console.log("Creating a WebdriverIO config file...");
|
|
456
|
-
const tplPath = path.resolve(__dirname, "templates", "wdio.conf.tpl.ejs");
|
|
456
|
+
const tplPath = path.resolve(__dirname, "..", "templates", "wdio.conf.tpl.ejs");
|
|
457
457
|
const renderedTpl = await renderFile(tplPath, {
|
|
458
458
|
answers: parsedAnswers,
|
|
459
459
|
_: new EjsHelpers({ useEsm: parsedAnswers.esmSupport, useTypeScript: parsedAnswers.isUsingTypeScript })
|
|
@@ -669,7 +669,7 @@ async function formatConfigFilePaths(config) {
|
|
|
669
669
|
// package.json
|
|
670
670
|
var package_default = {
|
|
671
671
|
name: "create-wdio",
|
|
672
|
-
version: "9.
|
|
672
|
+
version: "9.17.0",
|
|
673
673
|
description: "Install and setup a WebdriverIO project with all its dependencies in a single run",
|
|
674
674
|
author: "WebdriverIO Team <mail@webdriver.io>",
|
|
675
675
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/create-wdio",
|
package/build/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import spawn from "cross-spawn";
|
|
|
24
24
|
// package.json
|
|
25
25
|
var package_default = {
|
|
26
26
|
name: "create-wdio",
|
|
27
|
-
version: "9.
|
|
27
|
+
version: "9.17.0",
|
|
28
28
|
description: "Install and setup a WebdriverIO project with all its dependencies in a single run",
|
|
29
29
|
author: "WebdriverIO Team <mail@webdriver.io>",
|
|
30
30
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/create-wdio",
|
|
@@ -851,7 +851,7 @@ import { execa } from "execa";
|
|
|
851
851
|
var NPM_COMMAND = /^win/.test(process.platform) ? "npm.cmd" : "npm";
|
|
852
852
|
var __dirname = path2.dirname(url.fileURLToPath(import.meta.url));
|
|
853
853
|
process.on("SIGINT", () => printAndExit(void 0, "SIGINT"));
|
|
854
|
-
var TEMPLATE_ROOT_DIR = path2.join(__dirname, "templates", "exampleFiles");
|
|
854
|
+
var TEMPLATE_ROOT_DIR = path2.join(__dirname, "..", "templates", "exampleFiles");
|
|
855
855
|
function runProgram(command, args, options) {
|
|
856
856
|
const child = spawn(command, args, { stdio: "inherit", ...options });
|
|
857
857
|
return new Promise((resolve2, rejects) => {
|
package/build/install/cli.js
CHANGED
|
@@ -85,7 +85,7 @@ import spawn from "cross-spawn";
|
|
|
85
85
|
// package.json
|
|
86
86
|
var package_default = {
|
|
87
87
|
name: "create-wdio",
|
|
88
|
-
version: "9.
|
|
88
|
+
version: "9.17.0",
|
|
89
89
|
description: "Install and setup a WebdriverIO project with all its dependencies in a single run",
|
|
90
90
|
author: "WebdriverIO Team <mail@webdriver.io>",
|
|
91
91
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/create-wdio",
|
|
@@ -925,7 +925,7 @@ function getInstallCommand(pm, packages, dev) {
|
|
|
925
925
|
var NPM_COMMAND = /^win/.test(process.platform) ? "npm.cmd" : "npm";
|
|
926
926
|
var __dirname = path2.dirname(url.fileURLToPath(import.meta.url));
|
|
927
927
|
process.on("SIGINT", () => printAndExit(void 0, "SIGINT"));
|
|
928
|
-
var TEMPLATE_ROOT_DIR = path2.join(__dirname, "templates", "exampleFiles");
|
|
928
|
+
var TEMPLATE_ROOT_DIR = path2.join(__dirname, "..", "templates", "exampleFiles");
|
|
929
929
|
function runProgram(command2, args, options) {
|
|
930
930
|
const child = spawn(command2, args, { stdio: "inherit", ...options });
|
|
931
931
|
return new Promise((resolve, rejects) => {
|
|
@@ -1250,7 +1250,7 @@ function addServiceDeps(names, packages, update = false) {
|
|
|
1250
1250
|
async function createWDIOConfig(parsedAnswers) {
|
|
1251
1251
|
try {
|
|
1252
1252
|
console.log("Creating a WebdriverIO config file...");
|
|
1253
|
-
const tplPath = path2.resolve(__dirname, "templates", "wdio.conf.tpl.ejs");
|
|
1253
|
+
const tplPath = path2.resolve(__dirname, "..", "templates", "wdio.conf.tpl.ejs");
|
|
1254
1254
|
const renderedTpl = await renderFile(tplPath, {
|
|
1255
1255
|
answers: parsedAnswers,
|
|
1256
1256
|
_: new EjsHelpers({ useEsm: parsedAnswers.esmSupport, useTypeScript: parsedAnswers.isUsingTypeScript })
|
package/build/utils/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import { execa } from "execa";
|
|
|
19
19
|
var NPM_COMMAND = /^win/.test(process.platform) ? "npm.cmd" : "npm";
|
|
20
20
|
var __dirname = path.dirname(url.fileURLToPath(import.meta.url));
|
|
21
21
|
process.on("SIGINT", () => printAndExit(void 0, "SIGINT"));
|
|
22
|
-
var TEMPLATE_ROOT_DIR = path.join(__dirname, "templates", "exampleFiles");
|
|
22
|
+
var TEMPLATE_ROOT_DIR = path.join(__dirname, "..", "templates", "exampleFiles");
|
|
23
23
|
function printAndExit(error, signal) {
|
|
24
24
|
if (signal === "SIGINT") {
|
|
25
25
|
console.log("\n\nGoodbye \u{1F44B}");
|
|
@@ -88,7 +88,7 @@ async function detectCompiler(answers) {
|
|
|
88
88
|
// package.json
|
|
89
89
|
var package_default = {
|
|
90
90
|
name: "create-wdio",
|
|
91
|
-
version: "9.
|
|
91
|
+
version: "9.17.0",
|
|
92
92
|
description: "Install and setup a WebdriverIO project with all its dependencies in a single run",
|
|
93
93
|
author: "WebdriverIO Team <mail@webdriver.io>",
|
|
94
94
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/create-wdio",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-wdio",
|
|
3
|
-
"version": "9.17.
|
|
3
|
+
"version": "9.17.1",
|
|
4
4
|
"description": "Install and setup a WebdriverIO project with all its dependencies in a single run",
|
|
5
5
|
"author": "WebdriverIO Team <mail@webdriver.io>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/create-wdio",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "76c095bd0d0fa3d83dff0785fe786f8571d709a0"
|
|
81
81
|
}
|