create-wdio
Advanced tools
Comparing version 8.4.1 to 8.4.2
import { vi } from 'vitest' | ||
import * as path from 'node:path' | ||
@@ -9,3 +10,3 @@ const command: any = {} | ||
command.action = vi.fn((cb) => { | ||
cb('someProjectName') | ||
cb(`${path.sep}foo${path.sep}bar${path.sep}someProjectName`) | ||
return command | ||
@@ -12,0 +13,0 @@ }) |
@@ -59,3 +59,3 @@ import fs from 'node:fs/promises'; | ||
await fs.writeFile(path.resolve(root, 'package.json'), JSON.stringify({ | ||
name: root.replace(/\/$/, '').split('/').pop(), | ||
name: root.substring(root.lastIndexOf(path.sep) + 1), | ||
type: 'module' | ||
@@ -62,0 +62,0 @@ }, null, 2)); |
{ | ||
"name": "create-wdio", | ||
"version": "8.4.1", | ||
"version": "8.4.2", | ||
"description": "Install and setup a WebdriverIO project with all its dependencies in a single run", | ||
@@ -5,0 +5,0 @@ "author": "Christian Bromann <mail@bromann.dev>", |
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
17397
308