create-playwright-pom-start 1.0.2 → 1.0.4

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 +21 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,6 +16,8 @@ Or with a project name:
16
16
  npm init playwright-pom-start my-playwright-project
17
17
  ```
18
18
 
19
+
20
+
19
21
  You’ll be prompted for:
20
22
 
21
23
  1. **Language** — JavaScript or TypeScript (arrow keys + Enter). Default is JS.
@@ -69,11 +71,28 @@ Or scaffold in a subfolder: `npx playwright-pom my-project`
69
71
  - Converted to PascalCase + `Page` (e.g. `checkout` → `CheckoutPage`, `userProfile` → `UserProfilePage`).
70
72
  - Invalid tokens and existing files are skipped (reported in the console).
71
73
 
74
+ **JavaScript based output project structure**
75
+
76
+ ![JavaScript based output project structure](https://raw.githubusercontent.com/GabrielDali/pom-pw-js/main/assets/01.png)
77
+
78
+ **JavaScript based output created page example**
79
+
80
+ ![JavaScript based output created page example](https://raw.githubusercontent.com/GabrielDali/pom-pw-js/main/assets/02.png)
81
+
82
+ **TypeScript based output project structure**
83
+
84
+ ![TypeScript based output project structure](https://raw.githubusercontent.com/GabrielDali/pom-pw-js/main/assets/03.png)
85
+
86
+ **TypeScript based output created page example**
87
+
88
+ ![TypeScript based output created page example](https://raw.githubusercontent.com/GabrielDali/pom-pw-js/main/assets/04.png)
89
+
72
90
  ## Repository & docs
73
91
 
74
92
  - **GitHub:** [github.com/GabrielDali/pom-pw-js](https://github.com/GabrielDali/playwright-pom)
75
93
  - **Main package (playwright-pom):** [npmjs.com/package/playwright-pom](https://www.npmjs.com/package/playwright-pom)
76
94
 
77
- ## License
95
+ ## Author & license
78
96
 
79
- MIT
97
+ **Author:** [Gabriel Dali](https://www.linkedin.com/in/gabriel-dali-qa/)
98
+ **License:** MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-playwright-pom-start",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Scaffold a Playwright POM project (run via npm init playwright-pom-start)",
5
5
  "keywords": [
6
6
  "playwright",