diff --git a/example-electron-builder/package.json b/example-electron-builder/package.json index dade77c6..9e23feeb 100644 --- a/example-electron-builder/package.json +++ b/example-electron-builder/package.json @@ -13,6 +13,9 @@ "clean:dist": "pnpx rimraf ./dist && mkdir -p ./dist", "test": "wdio run ./wdio.conf.ts" }, + "dependencies": { + "wdio-electron-service": "file:../" + }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.4", "@rollup/plugin-node-resolve": "^15.2.1", @@ -29,14 +32,8 @@ "ts-loader": "^9.4.4", "ts-node": "^10.9.1", "typescript": "^5.3.2", - "wdio-electron-service": "file:../", "webdriverio": "^8.27.2" }, - "pnpm": { - "overrides": { - "expect-webdriverio": "4.9.3" - } - }, "peerDependencies": { "typescript": "5.2.2" }, diff --git a/example/package.json b/example/package.json index f0ed8e16..acf4d708 100644 --- a/example/package.json +++ b/example/package.json @@ -9,10 +9,13 @@ "build:bundle": "tsc && rollup -c rollup.config.js", "build:package": "cp ./src/index.html ./dist && electron-forge package", "ci": "pnpm i && pnpm build && pnpm test", - "clean": "pnpm clean:dist && rm -rf ./node_modules pnpm-lock.yaml ./wdio-logs", + "clean": "pnpm clean:dist && rm -rf ./node_modules pnpm-lock.yaml ./wdio-logs ./out", "clean:dist": "pnpx rimraf ./dist && mkdir -p ./dist", "test": "wdio run ./wdio.conf.ts && wdio run ./wdio.multiremote.conf.ts" }, + "dependencies": { + "wdio-electron-service": "file:../" + }, "devDependencies": { "@electron-forge/cli": "^7.2.0", "@rollup/plugin-commonjs": "^25.0.4", @@ -29,14 +32,8 @@ "ts-loader": "^9.4.4", "ts-node": "^10.9.1", "typescript": "^5.3.2", - "wdio-electron-service": "file:../", "webdriverio": "^8.27.2" }, - "pnpm": { - "overrides": { - "expect-webdriverio": "4.9.3" - } - }, "peerDependencies": { "typescript": "5.2.2" } diff --git a/package.json b/package.json index 32e79829..a5b7abc8 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "eslint-plugin-vitest": "^0.3.16", "eslint-plugin-wdio": "^8.20.0", "expect": "^29.7.0", - "expect-webdriverio": "4.11.7", + "expect-webdriverio": "^4.11.7", "globals": "^14.0.0", "husky": "^9.0.10", "jsdom": "^24.0.0", @@ -135,11 +135,6 @@ "vitest": "^1.2.0", "webdriverio": "^8.27.2" }, - "pnpm": { - "overrides": { - "expect-webdriverio": "4.11.7" - } - }, "files": [ "bin/*", "dist/*"