Skip to content

refactor: make browser runtime optional - #24

Merged
shenjiecode merged 1 commit into
mainfrom
chore/compatibility-playwright
Aug 17, 2026
Merged

refactor: make browser runtime optional#24
shenjiecode merged 1 commit into
mainfrom
chore/compatibility-playwright

Conversation

@shenjiecode

Copy link
Copy Markdown
Contributor

Summary

  • move playwright-core from runtime dependency to an optional peer
  • lazy-load the browser runtime so core activation works without Playwright
  • add Node/Pi compatibility matrix documentation and scheduled/manual CI
  • verify ordinary installs do not automatically install Playwright

Verification

  • npm run verify (48 tests)
  • build smoke with and without Playwright
  • local minimum Pi 0.80.2 verification
  • optional-peer clean-install smoke
  • npm run pack:dry-run
  • npm audit --omit=dev --audit-level=high

This PR is the source change only. The package release will be versioned separately after merge.

@shenjiecode
shenjiecode merged commit cb672b7 into main Aug 17, 2026
1 check passed
@shenjiecode
shenjiecode deleted the chore/compatibility-playwright branch August 17, 2026 07:45
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