-
Notifications
You must be signed in to change notification settings - Fork 58
refactor(react): extract @nodejs/doc-kit-react package #959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| '@nodejs/doc-kit-react': major | ||
| '@node-core/doc-kit': minor | ||
| --- | ||
|
|
||
| The React/JSX-based generators (`html` — previously `web` —, `jsx-ast`, | ||
| `llms-txt`, `sitemap`, and `orama-db`) now live in the new | ||
| `@nodejs/doc-kit-react` package and are loaded via import specifiers such as | ||
| `@nodejs/doc-kit-react/html`. The corresponding `@node-core/doc-kit/*` | ||
| package exports have been removed. The `web` generator is renamed to `html`: | ||
| the CLI shorthand `web` keeps working as a deprecated alias, but the | ||
| configuration key is now `html` instead of `web`. | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,17 +23,12 @@ | |
| "./ast": "./src/generators/ast/index.mjs", | ||
| "./ast-js": "./src/generators/ast-js/index.mjs", | ||
| "./json-simple": "./src/generators/json-simple/index.mjs", | ||
| "./jsx-ast": "./src/generators/jsx-ast/index.mjs", | ||
| "./legacy-html": "./src/generators/legacy-html/index.mjs", | ||
| "./legacy-html-all": "./src/generators/legacy-html-all/index.mjs", | ||
| "./legacy-json": "./src/generators/legacy-json/index.mjs", | ||
| "./legacy-json-all": "./src/generators/legacy-json-all/index.mjs", | ||
| "./llms-txt": "./src/generators/llms-txt/index.mjs", | ||
| "./man-page": "./src/generators/man-page/index.mjs", | ||
| "./metadata": "./src/generators/metadata/index.mjs", | ||
| "./orama-db": "./src/generators/orama-db/index.mjs", | ||
| "./sitemap": "./src/generators/sitemap/index.mjs", | ||
| "./web": "./src/generators/web/index.mjs", | ||
| "./package.json": "./package.json", | ||
| "./shiki.config.mjs": "./shiki.config.mjs", | ||
| "./src/*": "./src/*", | ||
|
|
@@ -53,35 +48,19 @@ | |
| "README.md" | ||
| ], | ||
| "dependencies": { | ||
| "@11ty/is-land": "^5.0.1", | ||
| "@actions/core": "^3.0.0", | ||
| "@fontsource-variable/open-sans": "^5.3.0", | ||
| "@fontsource/ibm-plex-mono": "^5.3.0", | ||
| "@heroicons/react": "^2.2.0", | ||
| "@node-core/rehype-shiki": "^1.4.3", | ||
| "@node-core/ui-components": "^1.7.4", | ||
| "@orama/orama": "^3.1.18", | ||
| "@orama/ui": "^1.5.4", | ||
| "@swc/html-wasm": "^1.15.46", | ||
| "@swc/wasm": "^1.15.46", | ||
| "acorn": "^8.17.0", | ||
| "commander": "^15.0.0", | ||
| "cosmiconfig": "^9.0.2", | ||
| "dedent": "^1.7.2", | ||
| "estree-util-to-js": "^2.0.0", | ||
| "estree-util-visit": "^2.0.0", | ||
| "github-slugger": "^2.0.0", | ||
| "glob-parent": "^6.0.2", | ||
| "hast-util-to-string": "^3.0.1", | ||
| "hastscript": "^9.0.1", | ||
| "mdast-util-slice-markdown": "^2.0.1", | ||
| "piscina": "^5.3.0", | ||
| "preact": "^10.29.7", | ||
| "preact-render-to-string": "^6.7.0", | ||
| "reading-time": "^1.5.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Core missing react package dependencyHigh Severity
Additional Locations (2)Reviewed by Cursor Bugbot for commit 137230e. Configure here. |
||
| "recma-jsx": "^1.0.1", | ||
| "rehype-raw": "^7.0.0", | ||
| "rehype-recma": "^1.0.0", | ||
| "rehype-stringify": "^10.0.1", | ||
| "remark-gfm": "^4.0.1", | ||
| "remark-mdx": "^3.1.1", | ||
|
|
@@ -98,7 +77,6 @@ | |
| "unist-util-remove": "^4.0.0", | ||
| "unist-util-select": "^5.1.0", | ||
| "unist-util-visit": "^5.1.0", | ||
| "vite": "~8.1.5", | ||
| "yaml": "^2.9.0" | ||
| } | ||
| } | ||
This file was deleted.
This file was deleted.


Uh oh!
There was an error while loading. Please reload this page.