mirror of
https://github.com/TanStack/devtools.git
synced 2026-11-16 10:49:48 +00:00
* feat(devtools-webmcp): add a development-only WebMCP tool registry A library calls registerDevtoolsTools to expose internals to a browser agent. The root import is a no-op outside development. * chore: format webmcp files * fix: sort example dependencies for sherif * fix(devtools-webmcp): wrap execute with a signal and drop JSDoc params |
History
|
|
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
Basic React example
Run the example from the repository root:
pnpm --filter @tanstack/devtools-example-react-basic dev
The accessibility plugin is registered only in development builds. The page's A11yAuditFixture deliberately includes three violations so the plugin has deterministic findings to display:
image-alt: an image without alternative textbutton-name: an icon-only button without an accessible namelabel: an input without an associated label
The fixture is intentionally invalid test content, not an accessibility pattern to copy. Browser extensions, environment differences, or future audit rules may report additional findings.