You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The React/JSX-based generators (html, renamed from web), jsx-ast, llms-txt, sitemap, and orama-db have moved into the new @doc-kittens/react package, and are loaded via import specifiers such as @doc-kittens/react/html.
To avoid breaking existing CLIs, the html generator can be referred to by the web specifier.
High Risk
Major packaging and naming change: consumers must use the new package/specifiers and html config keys; incorrect installs or stale web config could break doc builds, though aliases and registry tests mitigate CLI breakage.
Overview
Introduces @doc-kittens/react and moves the JSX-oriented generators (html, jsx-ast, llms-txt, sitemap, orama-db) out of @node-core/doc-kit. Core’s generator registry now resolves those targets to @doc-kittens/react/* import specifiers instead of in-package paths, and drops the corresponding package.json exports and heavy UI/Vite/Preact dependencies from core.
The former web generator is renamed to html: config and generator name use html, while web remains a deprecated CLI/config alias via a new deprecatedGenerators map and tests that still load it. The Recma/JSX remark pipeline (getRemarkRecma) moves from core remark.mjs into packages/react/src/jsx-ast/utils/remark.mjs; core keeps only the HTML-oriented remark pipelines.
Moved code imports shared utilities from @node-core/doc-kit (config, metadata types, highlighter, etc.). ESLint browser overrides and scripts/vercel-build.sh switch from web to html. Changeset: major for @doc-kittens/react, minor for @node-core/doc-kit.
Reviewed by Cursor Bugbot for commit 316965a. Bugbot is set up for automated code reviews on this repo. Configure here.
The reason will be displayed to describe this comment to others. Learn more.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The React/JSX-based generators (
html, renamed fromweb),jsx-ast,llms-txt,sitemap, andorama-dbhave moved into the new@doc-kittens/reactpackage, and are loaded via import specifiers such as@doc-kittens/react/html.To avoid breaking existing CLIs, the
htmlgenerator can be referred to by thewebspecifier.