create-playwright-pom-start 1.0.0-beta.1 → 1.0.0-beta.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.
Files changed (2) hide show
  1. package/README.md +27 -0
  2. package/package.json +3 -2
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # create-playwright-pom-start
2
+
3
+ Scaffold a **Playwright Page Object Model (POM)** project with one command.
4
+
5
+ ## How to start
6
+
7
+ From an empty folder (or where you want the project):
8
+
9
+ ```bash
10
+ npm init playwright-pom-start
11
+ ```
12
+
13
+ You’ll be prompted for:
14
+
15
+ 1. **Language** — JavaScript or TypeScript (arrow keys + Enter)
16
+ 2. **Project name** — if you didn’t pass it (e.g. `npm init playwright-pom-start my-project`)
17
+ 3. **Page names** — optional; space-separated, or Enter to skip
18
+ 4. **Playwright** — installed automatically if missing
19
+
20
+ Then you get a ready-to-use structure: `pages/`, `utils/`, `fixtures/`, base page, global setup/teardown, and Playwright config.
21
+
22
+ **Requirements:** Node.js **v18** or later.
23
+
24
+ ## More options
25
+
26
+ - **Install the CLI and run it:** `npm i playwright-pom` then `npx playwright-pom` or `npx playwright-pom my-project`
27
+ - **Full docs:** [playwright-pom](https://www.npmjs.com/package/playwright-pom) on npm
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-playwright-pom-start",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.2",
4
4
  "description": "Scaffold a Playwright POM project (run via npm init playwright-pom-start)",
5
5
  "type": "module",
6
6
  "engines": {
@@ -10,7 +10,8 @@
10
10
  "create-playwright-pom-start": "./index.js"
11
11
  },
12
12
  "files": [
13
- "index.js"
13
+ "index.js",
14
+ "README.md"
14
15
  ],
15
16
  "author": "Gabriel Dali <https://www.linkedin.com/in/gabriel-dali-qa/>",
16
17
  "license": "MIT",