create-wdio 9.18.2-alpha.1 → 9.18.2-alpha.2

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.
@@ -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) => {
package/build/index.js CHANGED
@@ -852,7 +852,7 @@ import { execa } from "execa";
852
852
  var NPM_COMMAND = /^win/.test(process.platform) ? "npm.cmd" : "npm";
853
853
  var __dirname = path2.dirname(url.fileURLToPath(import.meta.url));
854
854
  process.on("SIGINT", () => printAndExit(void 0, "SIGINT"));
855
- var TEMPLATE_ROOT_DIR = path2.join(__dirname, "templates", "exampleFiles");
855
+ var TEMPLATE_ROOT_DIR = path2.join(__dirname, "..", "templates", "exampleFiles");
856
856
  function runProgram(command, args, options) {
857
857
  const child = spawn(command, args, { stdio: "inherit", ...options });
858
858
  return new Promise((resolve2, rejects) => {
@@ -926,7 +926,7 @@ function getInstallCommand(pm, packages, dev) {
926
926
  var NPM_COMMAND = /^win/.test(process.platform) ? "npm.cmd" : "npm";
927
927
  var __dirname = path2.dirname(url.fileURLToPath(import.meta.url));
928
928
  process.on("SIGINT", () => printAndExit(void 0, "SIGINT"));
929
- var TEMPLATE_ROOT_DIR = path2.join(__dirname, "templates", "exampleFiles");
929
+ var TEMPLATE_ROOT_DIR = path2.join(__dirname, "..", "templates", "exampleFiles");
930
930
  function runProgram(command2, args, options) {
931
931
  const child = spawn(command2, args, { stdio: "inherit", ...options });
932
932
  return new Promise((resolve, rejects) => {
@@ -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}");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-wdio",
3
- "version": "9.18.2-alpha.1+d723aebe6",
3
+ "version": "9.18.2-alpha.2+8aff2cd89",
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": "d723aebe672e9604903b14992e7c993849669705"
80
+ "gitHead": "8aff2cd899235ce0d60d1b06eee2ea1fd776e9b4"
81
81
  }