Skip to content

Document add-on behavior and shared-browser configuration#8

Merged
andrewbelcher merged 1 commit into
mainfrom
docs-and-sharing
Jun 23, 2026
Merged

Document add-on behavior and shared-browser configuration#8
andrewbelcher merged 1 commit into
mainfrom
docs-and-sharing

Conversation

@andrewbelcher

Copy link
Copy Markdown
Contributor

README

  • Documents what the add-on does on each start (adds @playwright/cli to package.json, installs Chromium into DDEV's shared cache, installs Claude skills, trusts the mkcert CA) — none of which was previously stated.
  • Adds usage examples (open, config-print, install-browser).
  • Adds "Sharing a browser version with other tools (Storybook/Vitest)" — explains the PLAYWRIGHT_BROWSERS_PATH shared cache, that sharing requires a single resolved playwright-core (browsers are revision-keyed), and how to pin it via npm overrides. This documents the mechanism without imposing project-specific pinning as a default.

.gitattributes

  • export-ignore CONTRIBUTING.md so it's excluded from release tarballs, consistent with tests/ and .github/.

🤖 Generated with Claude Code

Expand the README to cover what the add-on actually does (adds @playwright/cli to
package.json, installs Chromium into DDEV's shared cache, installs Claude skills,
trusts the mkcert CA) and add usage examples.

Add a "Sharing a browser version with other tools" section explaining the
PLAYWRIGHT_BROWSERS_PATH shared cache and how to align a single playwright-core
(via npm overrides) so playwright-cli and Storybook/Vitest browser tests reuse one
cached browser instead of each downloading their own.

Also export-ignore CONTRIBUTING.md so it's excluded from release tarballs, like the
tests and .github directories.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@andrewbelcher andrewbelcher enabled auto-merge (squash) June 23, 2026 15:22
@andrewbelcher andrewbelcher merged commit ffde5cd into main Jun 23, 2026
2 checks passed
@andrewbelcher andrewbelcher deleted the docs-and-sharing branch June 23, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant