Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .claude/skills/dev/roll.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@

## Steps

1. **Update Playwright packages** in `package.json`:
1. **Obtain latest Playwright version**
`npm info playwright@next version`

2. **Update Playwright packages** in `package.json`:
- Update `playwright` (dependency) and `@playwright/test` (devDependency) to the target version.
- Run `npm install` to update `package-lock.json`.

2. **Run the update script** to sync skills and README:
3. **Run the update script** to sync skills and README:
```bash
node scripts/update.js
```
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
node_modules/
.vscode/
/test-results/
/.playwright-cli/
/.playwright-cli/
# Ignore self-skill which is a build artifact
.claude/skills/playwright-cli/
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"test": "playwright test"
},
"devDependencies": {
"@playwright/test": "1.59.0-alpha-1771104257000",
"@playwright/test": "1.59.0-alpha-1773598190000",
"@types/node": "^25.2.1"
},
"dependencies": {
"minimist": "^1.2.5",
"playwright": "1.59.0-alpha-1771104257000"
"playwright": "1.59.0-alpha-1773598190000"
},
"bin": {
"playwright-cli": "playwright-cli.js"
Expand Down
5 changes: 4 additions & 1 deletion playwright-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@
* limitations under the License.
*/

require('playwright/lib/cli/client/program');
const { program } = require('playwright-core/lib/tools/cli-client/program');
const packageJson = require('./package.json');

program({ embedderVersion: packageJson.version });
Loading