wdio-lambdatest-service-sdk 5.1.0 → 5.1.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.
- package/README.md +19 -1
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -39,6 +39,24 @@ npm install wdio-lambdatest-service --save-dev
|
|
|
39
39
|
bun add wdio-lambdatest-service --dev
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
### Peer dependency conflict (ERESOLVE)
|
|
43
|
+
|
|
44
|
+
If you see `ERESOLVE unable to resolve dependency tree` because your project uses **WebdriverIO 5 or 6** and the installed package expects a different major version, use one of these:
|
|
45
|
+
|
|
46
|
+
**Option 1 – Install and allow peer mismatch (recommended):**
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npm install wdio-lambdatest-service --save-dev --legacy-peer-deps
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Option 2 – Force install:**
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npm install wdio-lambdatest-service --save-dev --force
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
This package declares support for **@wdio/cli** and **webdriverio** `^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0`. If you are on an older published version of the service that had stricter peer deps, upgrade to the latest version or use `--legacy-peer-deps` until you can upgrade.
|
|
59
|
+
|
|
42
60
|
---
|
|
43
61
|
|
|
44
62
|
## Try the SDK / CLI with the Sample Project
|
|
@@ -66,7 +84,7 @@ From the **repo root** (or from inside `android-sample` / `ios-sample` if you pr
|
|
|
66
84
|
# From repo root – install SDK as dev dependency
|
|
67
85
|
npm install ./wdio-lambdatest-service --save-dev
|
|
68
86
|
# or, if the SDK is published:
|
|
69
|
-
|
|
87
|
+
npm install wdio-lambdatest-service
|
|
70
88
|
```
|
|
71
89
|
|
|
72
90
|
### 3. Set LambdaTest Credentials
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wdio-lambdatest-service-sdk",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"description": "WebdriverIO service and CLI for LambdaTest Appium & browser automation",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -39,8 +39,12 @@
|
|
|
39
39
|
"inquirer": "^13.2.2"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@wdio/cli": "
|
|
43
|
-
"webdriverio": "
|
|
42
|
+
"@wdio/cli": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0",
|
|
43
|
+
"webdriverio": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0"
|
|
44
|
+
},
|
|
45
|
+
"peerDependenciesMeta": {
|
|
46
|
+
"@wdio/cli": { "optional": false },
|
|
47
|
+
"webdriverio": { "optional": false }
|
|
44
48
|
},
|
|
45
49
|
"engines": {
|
|
46
50
|
"node": ">=18.0.0",
|