playwright-toolbox
v1.0.0
Published
Workspace monorepo for Playwright packages
Downloads
93
Readme
Playwright Toolbox Monorepo
This repository is an npm workspaces monorepo with three independent packages:
@acahet/pw-standard@acahet/playwright-config@acahet/playwright-history-dashboard
Workspace layout
packages/pw-standardpackages/playwright-configpackages/playwright-history-dashboard
Package usage
1) @acahet/pw-standard
Use for Playwright ESLint rules, base abstractions, and tsconfig presets.
npm i -D @acahet/pw-standard2) @acahet/playwright-config
Use for extracted Playwright config presets.
npm i -D @acahet/playwright-config3) @acahet/playwright-history-dashboard
Use for local run history tracking and static dashboard visualization.
npm i -D @acahet/playwright-history-dashboardSee package-specific docs:
packages/pw-standard/README.mdpackages/playwright-config/README.mdpackages/playwright-history-dashboard/README.md
Local development
Run from monorepo root:
npm install
npm run build
npm test
npm run lintIndependent versioning and release
Changesets is configured for independent package versioning.
npm run changeset
npm run version-packages
npm run releaseMigration notes
Import migration
- Previous:
@acahet/pw-standard/playwright - New preferred:
@acahet/playwright-config - Compatibility:
@acahet/pw-standard/playwrightis still re-exported for transition safety.
Folder migration
Previous rules source:
playwright-rules/srcNew rules source:
packages/pw-standard/srcPrevious rules tests:
playwright-rules/testsNew rules tests:
packages/pw-standard/testsPrevious dashboard folder:
playwright-history-dashboard/New dashboard folder:
packages/playwright-history-dashboard/
Release migration
- Previous root package publish model: one publishable root package plus one nested package.
- New model: three independent workspace packages with Changesets-managed versioning.
