CLAUDE.mdtypescript
Socket-Inspector CLAUDE.md
Socket Inspector is a Chrome DevTools extension that enables the user to debug WebSocket connections on a host page.
Socket Inspector
Socket Inspector is a Chrome DevTools extension that enables the user to debug WebSocket connections on a host page.
Monorepo Structure
pnpm workspace with the following packages:
packages/extension- the extension itselfpackages/test-app-ui- host page for testing the extensionpackages/test-app-server- websocket server consumed bytest-app-uipackages/playwright-tests- e2e tests
Common Commands
# formatter
pnpm format
# linter
pnpm lint:fix
# type checker
pnpm typecheck
# unit tests
pnpm test:unit
# e2e tests
pnpm prepare:e2e # build mock extension first
pnpm e2e # run tests
# full validation suite
pnpm prepare:release