experiment-e2e-generator 1.0.1 → 1.0.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 +3 -3
- package/package.json +1 -1
- package/src/package-updater.js +2 -2
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ npx experiment-e2e-generator
|
|
|
21
21
|
|
|
22
22
|
### Requirements
|
|
23
23
|
|
|
24
|
-
- Node.js >=
|
|
24
|
+
- Node.js >= 18 (required by Playwright 1.40+)
|
|
25
25
|
- Existing `package.json` in project root
|
|
26
26
|
- Project must be an Experiment Framework project
|
|
27
27
|
|
|
@@ -344,8 +344,8 @@ The generator safely updates your `package.json`:
|
|
|
344
344
|
```json
|
|
345
345
|
{
|
|
346
346
|
"devDependencies": {
|
|
347
|
-
"@playwright/test": "
|
|
348
|
-
"playwright": "
|
|
347
|
+
"@playwright/test": "1.40.0",
|
|
348
|
+
"playwright": "1.40.0"
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
```
|
package/package.json
CHANGED
package/src/package-updater.js
CHANGED
|
@@ -17,8 +17,8 @@ export async function updatePackageJson(targetDir) {
|
|
|
17
17
|
// Define additions
|
|
18
18
|
const additions = {
|
|
19
19
|
devDependencies: {
|
|
20
|
-
'@playwright/test': '
|
|
21
|
-
'playwright': '
|
|
20
|
+
'@playwright/test': '1.40.0',
|
|
21
|
+
'playwright': '1.40.0',
|
|
22
22
|
},
|
|
23
23
|
scripts: {},
|
|
24
24
|
};
|