pwvm 0.1.0 → 0.1.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/README.md +10 -5
- package/dist/commands/doctor.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,25 +43,30 @@ Follow the printed instructions to add pwvm shims to your `PATH`.
|
|
|
43
43
|
## Common usage
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
|
-
pwvm install 1.
|
|
47
|
-
pwvm use 1.
|
|
46
|
+
pwvm install 1.57.0
|
|
47
|
+
pwvm use 1.57.0
|
|
48
|
+
playwright --version
|
|
48
49
|
playwright test
|
|
49
50
|
```
|
|
50
51
|
|
|
51
52
|
Pin versions per project with `.pwvmrc`:
|
|
52
53
|
|
|
53
54
|
```text
|
|
54
|
-
1.
|
|
55
|
+
1.57.0
|
|
55
56
|
```
|
|
56
57
|
|
|
57
58
|
---
|
|
58
59
|
|
|
59
|
-
|
|
60
|
+
### CI-friendly
|
|
60
61
|
|
|
61
62
|
`pwvm` works in GitHub Actions, Azure Pipelines, Bitbucket, and any CI where you control `PATH`.
|
|
62
63
|
|
|
63
64
|
Install → setup → select version → run Playwright.
|
|
64
65
|
|
|
66
|
+
### Dockerized
|
|
67
|
+
|
|
68
|
+
`pwvm` works seamlessly in Docker containers or local development.
|
|
69
|
+
|
|
65
70
|
---
|
|
66
71
|
|
|
67
72
|
## Support pwvm
|
|
@@ -72,7 +77,7 @@ If this tool saves you time, CI hours, or debugging frustration:
|
|
|
72
77
|
|
|
73
78
|
* ⭐ [Star the project](https://github.com/eaccmk/pwvm)
|
|
74
79
|
* ❤️ [Sponsor via GitHub](https://github.com/sponsors/eaccmk)
|
|
75
|
-
* 🔁 Share it with your team
|
|
80
|
+
* 🔁 Share it with your team and tag #QualityWithMillan
|
|
76
81
|
|
|
77
82
|
Your support helps keep pwvm maintained and improving.
|
|
78
83
|
|
package/dist/commands/doctor.js
CHANGED
|
@@ -24,7 +24,7 @@ export const runDoctorCommand = async (deps = {}) => {
|
|
|
24
24
|
const fsImpl = deps.fs ?? fs;
|
|
25
25
|
const pwvmDir = getPwvmDir();
|
|
26
26
|
const shimsDir = deps.shimsDir ?? getShimsDir();
|
|
27
|
-
const envPath = deps.envPath ?? process.env.PATH ?? "";
|
|
27
|
+
const envPath = deps.envPath ?? process.env.PATH ?? process.env.DOCKER_PATH ?? "";
|
|
28
28
|
const shimPath = path.join(shimsDir, "playwright");
|
|
29
29
|
const useColor = process.stdout.isTTY === true;
|
|
30
30
|
const withScope = (message) => message.startsWith(" ") ? `pwvm-doctor${message}` : `pwvm-doctor ${message}`;
|