create-playwright-pom-start 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -24,7 +24,7 @@ You’ll be prompted for:
24
24
  2. **Page names** — optional; space-separated, or Enter to skip. Names are normalized to PascalCase + `Page` (e.g. `dashboard` → `DashboardPage`).
25
25
  3. **Playwright** — installed automatically if missing.
26
26
 
27
- **Requirements:** Node.js **v18** or later. Supported on **Windows**, **macOS**, and **Linux**.
27
+ **Requirements:** Node.js **v18** or later.
28
28
 
29
29
  ## Alternative: install then run
30
30
 
@@ -35,6 +35,8 @@ npx playwright-pom
35
35
 
36
36
  Or scaffold in a subfolder: `npx playwright-pom my-project`
37
37
 
38
+ To **add more pages** to an existing project, run from the project root: `npx playwright-pom add pages`.
39
+
38
40
  ## Flow
39
41
 
40
42
  - If Playwright is **already installed** in the folder, the CLI detects JS or TS and skips the language question.
@@ -71,6 +73,7 @@ Or scaffold in a subfolder: `npx playwright-pom my-project`
71
73
  - Converted to PascalCase + `Page` (e.g. `checkout` → `CheckoutPage`, `userProfile` → `UserProfilePage`).
72
74
  - Invalid tokens and existing files are skipped (reported in the console).
73
75
 
76
+
74
77
  **JavaScript based output project structure**
75
78
 
76
79
  ![JavaScript based output project structure](https://raw.githubusercontent.com/GabrielDali/pom-pw-js/main/assets/01.png)
@@ -89,7 +92,7 @@ Or scaffold in a subfolder: `npx playwright-pom my-project`
89
92
 
90
93
  ## Repository & docs
91
94
 
92
- - **GitHub:** [github.com/GabrielDali/pom-pw-js](https://github.com/GabrielDali/playwright-pom)
95
+ - **GitHub:** [github.com/GabrielDali/pom-pw-js](https://github.com/GabrielDali/pom-pw-js)
93
96
  - **Main package (playwright-pom):** [npmjs.com/package/playwright-pom](https://www.npmjs.com/package/playwright-pom)
94
97
 
95
98
  ## Author & license
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-playwright-pom-start",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Scaffold a Playwright POM project (run via npm init playwright-pom-start)",
5
5
  "keywords": [
6
6
  "playwright",
@@ -30,6 +30,6 @@
30
30
  "url": "https://github.com/GabrielDali/pom-pw-js.git"
31
31
  },
32
32
  "dependencies": {
33
- "playwright-pom": "1.0.0-beta.3"
33
+ "playwright-pom": "1.0.2"
34
34
  }
35
35
  }