Skip to content

feat(core): support configurable dock renderers - #542

Open
dvcolomban wants to merge 3 commits into
vitejs:mainfrom
dvcolomban:codex/configurable-dock-renderers
Open

feat(core): support configurable dock renderers#542
dvcolomban wants to merge 3 commits into
vitejs:mainfrom
dvcolomban:codex/configurable-dock-renderers

Conversation

@dvcolomban

@dvcolomban dvcolomban commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Add configurable dock renderer registration and thread the registrations through hosted and static DevTools setups.
  • Preserve the generic JSON-render author API and optional schema pass-through.
  • Add coverage for renderer merging and server/static renderer resolution.
  • Update the affected public API snapshots.

Why it changed

This lets consumers supply their own dock renderer implementation without coupling DevTools to a downstream catalog. The generic JSON-render API depends on the companion Devframe API change, so this PR remains a draft until that change is merged and released.

Related to devframes/devframe#267 and depends on devframes/devframe#273.
Closes #537.

Validation

  • pnpm --filter @vitejs/devtools-kit build
  • pnpm --filter @vitejs/devtools build
  • pnpm exec vitest run -u --project test exports.test.ts (with TSNAPI_ALLOW_BREAKING=1 for the intentional public type change)

@pkg-pr-new

pkg-pr-new Bot commented Aug 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@542

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@542

@vitejs/devtools-oxc

npm i https://pkg.pr.new/@vitejs/devtools-oxc@542

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@542

@vitejs/devtools-vite

npm i https://pkg.pr.new/@vitejs/devtools-vite@542

@vitejs/devtools-vitest

npm i https://pkg.pr.new/@vitejs/devtools-vitest@542

commit: 121656d

@dvcolomban
dvcolomban force-pushed the codex/configurable-dock-renderers branch from 300bf7b to 121656d Compare August 22, 2026 10:46
@dvcolomban
dvcolomban marked this pull request as ready for review August 22, 2026 10:49
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.

Allow supplying a custom json-render renderer (own component library / registry)

1 participant