diff --git a/.changeset/configurable-navigation.md b/.changeset/configurable-navigation.md deleted file mode 100644 index 90876a5f..00000000 --- a/.changeset/configurable-navigation.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Add `web.navigation`, which supplies the sidebar groups (`navigation.sidebar`) -and the navigation bar items (`navigation.navbar`) from configuration. diff --git a/.changeset/curvy-items-smile.md b/.changeset/curvy-items-smile.md deleted file mode 100644 index 2c851b96..00000000 --- a/.changeset/curvy-items-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': minor ---- - -Discover and load configuration files with `cosmiconfig`. diff --git a/.changeset/did-you-know-that-the-world-is-round.md b/.changeset/did-you-know-that-the-world-is-round.md deleted file mode 100644 index 20eba00a..00000000 --- a/.changeset/did-you-know-that-the-world-is-round.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Close Orama search when the target link is on the same page diff --git a/.changeset/display-name-type-unions.md b/.changeset/display-name-type-unions.md deleted file mode 100644 index f8687c82..00000000 --- a/.changeset/display-name-type-unions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Resolve unions and arrays of display-name types (`{HTTP/2 Headers Object | vm.Module}`, `{HTTP/2 Headers Object[]}`), and stop capturing prose such as `U+007B ({), and U+007D (}).` as a type annotation. diff --git a/.changeset/doc-kit-scope-move.md b/.changeset/doc-kit-scope-move.md deleted file mode 100644 index a2caef7d..00000000 --- a/.changeset/doc-kit-scope-move.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@doc-kit/core': major -'@doc-kit/cli': major ---- - -The doc-kit engine and CLI, previously published together as -`@node-core/doc-kit`, are now published as two packages: `@doc-kit/core` -(the engine) and `@doc-kit/cli` (the `doc-kit` command-line interface). -The `@node-core/doc-kit` name now contains only the Node.js-specific -generators (`api-links`, `addon-verify`, and `man-page`). diff --git a/.changeset/fix-relative-parent-path.md b/.changeset/fix-relative-parent-path.md deleted file mode 100644 index c8d3c1e0..00000000 --- a/.changeset/fix-relative-parent-path.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Fix `relative()` URL resolution when the target path is a prefix of the current -page's path (e.g. `/generators` from `/generators/web`): the target's final -segment was consumed as a common directory, producing `.` instead of -`../generators`. Unreachable in flat page layouts; surfaced by sites with -nested input directories. diff --git a/.changeset/legacy-kitten-package.md b/.changeset/legacy-kitten-package.md deleted file mode 100644 index 7078c8b7..00000000 --- a/.changeset/legacy-kitten-package.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@node-core/doc-kit-legacy': major -'@doc-kit/core': major ---- - -The legacy-format generators (`legacy-html`, `legacy-html-all`, -`legacy-json`, and `legacy-json-all`) now live in the new -`@node-core/doc-kit-legacy` package and are loaded via import specifiers such -as `@node-core/doc-kit-legacy/legacy-html`. The corresponding -`@doc-kit/core/*` package exports have been removed. The CLI shorthand -names are unchanged. diff --git a/.changeset/mdn-type-link-locale.md b/.changeset/mdn-type-link-locale.md deleted file mode 100644 index 24e65722..00000000 --- a/.changeset/mdn-type-link-locale.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@node-core/doc-kit': patch ---- - -Pin the `en-US` locale on builtin MDN type links that carry a hash fragment -(e.g. `number`, `string`, `any`). Locale-less MDN URLs redirect to the -visitor's preferred language, where heading anchor IDs are translated, so the -original fragment (e.g. `#number_type`) no longer matches any anchor on the -redirected page and the link fails to jump to the target section. diff --git a/.changeset/monorepo-layout.md b/.changeset/monorepo-layout.md deleted file mode 100644 index fdaa6c35..00000000 --- a/.changeset/monorepo-layout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Moved the package into a `packages/core` workspace. diff --git a/.changeset/node-kitten-package.md b/.changeset/node-kitten-package.md deleted file mode 100644 index ca0f1335..00000000 --- a/.changeset/node-kitten-package.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@node-core/doc-kit': major -'@doc-kit/core': major ---- - -The Node.js-specific generators (`api-links`, `addon-verify`, and -`man-page`) now live in the `@node-core/doc-kit` package and are loaded -via import specifiers such as `@node-core/doc-kit/man-page`. The -corresponding package exports have been removed from the doc-kit engine. -The CLI shorthand names are unchanged. diff --git a/.changeset/node-preset.md b/.changeset/node-preset.md deleted file mode 100644 index 664f1319..00000000 --- a/.changeset/node-preset.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@node-core/doc-kit': minor ---- - -Add the `@node-core/doc-kit/config` preset diff --git a/.changeset/opt-out-banners.md b/.changeset/opt-out-banners.md deleted file mode 100644 index 78a19bf0..00000000 --- a/.changeset/opt-out-banners.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': minor ---- - -Add banner opt-out diff --git a/.changeset/plain-defaults.md b/.changeset/plain-defaults.md deleted file mode 100644 index 804c0f90..00000000 --- a/.changeset/plain-defaults.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@doc-kit/core': patch -'@doc-kit/generator-react': minor ---- - -Defaults are now project-neutral instead of Node.js-specific diff --git a/.changeset/react-kitten-package.md b/.changeset/react-kitten-package.md deleted file mode 100644 index 7caa5714..00000000 --- a/.changeset/react-kitten-package.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@doc-kit/generator-react': minor -'@doc-kit/core': major ---- - -The React/JSX-based generators (`html` — previously `web` —, `jsx-ast`, -`llms-txt`, `sitemap`, and `orama-db`) now live in the new -`@doc-kit/generator-react` package and are loaded via import specifiers such as -`@doc-kit/generator-react/html`. The corresponding `@doc-kit/core/*` -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`. diff --git a/.changeset/riscv64-warning-spacing.md b/.changeset/riscv64-warning-spacing.md deleted file mode 100644 index 7d1b36f7..00000000 --- a/.changeset/riscv64-warning-spacing.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Fix missing spaces in the riscv64 multithreading warning message, which -previously concatenated as "failures whenallocating" and "spaceon riscv64". diff --git a/.changeset/short-deprecation-links.md b/.changeset/short-deprecation-links.md deleted file mode 100644 index 42a130af..00000000 --- a/.changeset/short-deprecation-links.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Use short `DEP` codes for deprecation heading anchors. diff --git a/.changeset/spaced-union-types.md b/.changeset/spaced-union-types.md deleted file mode 100644 index d9419214..00000000 --- a/.changeset/spaced-union-types.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Space union separators in type annotation values (`{string|URL}` is now rendered as `string | URL`). diff --git a/.changeset/specifier-generator-loading.md b/.changeset/specifier-generator-loading.md deleted file mode 100644 index 00168cc8..00000000 --- a/.changeset/specifier-generator-loading.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@doc-kit/core': minor ---- - -Generators are now loaded dynamically by import specifier instead of a static -registry. `--target` accepts either a built-in shorthand name (`web`, -`legacy-html`, …) or any import specifier resolving to a generator module -(e.g. `some-package/generator` or `./my-generator.mjs`), and a generator's -`dependsOn` is now a full import specifier. This lays the groundwork for -splitting the built-in generators into separate packages and enables -third-party generator packages. diff --git a/.changeset/swc.md b/.changeset/swc.md deleted file mode 100644 index c24f650a..00000000 --- a/.changeset/swc.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Switches `oxc-parser` for `@swc/wasm`, since `oxc-parser` does not provide the needed bindings. diff --git a/.changeset/tidy-deprecations-smile.md b/.changeset/tidy-deprecations-smile.md deleted file mode 100644 index 9b034473..00000000 --- a/.changeset/tidy-deprecations-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Preserve deprecation codes in generated table-of-contents labels. diff --git a/.changeset/tidy-donuts-search.md b/.changeset/tidy-donuts-search.md deleted file mode 100644 index b1f3788b..00000000 --- a/.changeset/tidy-donuts-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Sync the URL hash when following same-page search hits diff --git a/.changeset/vite-web-generator.md b/.changeset/vite-web-generator.md deleted file mode 100644 index d37a0138..00000000 --- a/.changeset/vite-web-generator.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@doc-kit/core': minor ---- - -Make the `web` generator bundler-neutral through a custom adapter contract, -with Vite 8.1 provided as the default adapter. diff --git a/.changeset/yes-i-did-know-that-thank-you.md b/.changeset/yes-i-did-know-that-thank-you.md deleted file mode 100644 index 7431cdaa..00000000 --- a/.changeset/yes-i-did-know-that-thank-you.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@doc-kit/core': patch ---- - -Render markdown `code` snippets in the sidebar diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md new file mode 100644 index 00000000..927a2e91 --- /dev/null +++ b/packages/cli/CHANGELOG.md @@ -0,0 +1,16 @@ +# @doc-kit/cli + +## 1.0.0 + +### Major Changes + +- [#961](https://github.com/nodejs/doc-kit/pull/961) [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17) Thanks [@avivkeller](https://github.com/avivkeller)! - The doc-kit engine and CLI, previously published together as + `@node-core/doc-kit`, are now published as two packages: `@doc-kit/core` + (the engine) and `@doc-kit/cli` (the `doc-kit` command-line interface). + The `@node-core/doc-kit` name now contains only the Node.js-specific + generators (`api-links`, `addon-verify`, and `man-page`). + +### Patch Changes + +- Updated dependencies [[`96e1c26`](https://github.com/nodejs/doc-kit/commit/96e1c26482098aec1753d5fb1aeacb607f7e097f), [`7bd1b5b`](https://github.com/nodejs/doc-kit/commit/7bd1b5b15ba2a444bd9e746fb36236030919b273), [`b80958f`](https://github.com/nodejs/doc-kit/commit/b80958ff53dd2388d33ce8ed282b14a67d3374f0), [`d3306a2`](https://github.com/nodejs/doc-kit/commit/d3306a20bf913d2c83739215bc5692434ceef166), [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17), [`68751af`](https://github.com/nodejs/doc-kit/commit/68751af17a45cc0c8e76d36308fb1be3f1dec4af), [`c734403`](https://github.com/nodejs/doc-kit/commit/c7344034d83dd5858250a5cc386fbe729f07ede0), [`70b7526`](https://github.com/nodejs/doc-kit/commit/70b75269e9d0ed6b199c217bb268de96e65645c9), [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17), [`ada6540`](https://github.com/nodejs/doc-kit/commit/ada6540fe6c2c32cfa254187c159941b245ebf80), [`740b613`](https://github.com/nodejs/doc-kit/commit/740b613ded7326eada843c34809ea128c6a9d7b5), [`ca36039`](https://github.com/nodejs/doc-kit/commit/ca3603916bee58fb80c1ea3a2e0023c13903fc63), [`9ab2840`](https://github.com/nodejs/doc-kit/commit/9ab2840559d2f04a6db6b29bbf6c6d470a1dde0b), [`b73b704`](https://github.com/nodejs/doc-kit/commit/b73b70474a2c499c1be315ebf2595e6932124e19), [`cef45ca`](https://github.com/nodejs/doc-kit/commit/cef45caf14cba83c77c373f59cee7f33f9f3df9b), [`0bd347d`](https://github.com/nodejs/doc-kit/commit/0bd347da847e21c2501732c0acbdee7db1b0f8f1), [`e6f1769`](https://github.com/nodejs/doc-kit/commit/e6f176958f6323d054dc86c4437accc9340e6914), [`d0f0de0`](https://github.com/nodejs/doc-kit/commit/d0f0de069e9061b6684269b412029bdd3dd288ba), [`2f9defe`](https://github.com/nodejs/doc-kit/commit/2f9defe49cac2d0e95c6fb213075291509a50a5f), [`43a09f7`](https://github.com/nodejs/doc-kit/commit/43a09f7ae9cdd4a1863e98b067abcf104e8937f2), [`b80958f`](https://github.com/nodejs/doc-kit/commit/b80958ff53dd2388d33ce8ed282b14a67d3374f0)]: + - @doc-kit/core@1.0.0 diff --git a/packages/cli/package.json b/packages/cli/package.json index d32f3f4a..fa3e37d3 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@doc-kit/cli", "type": "module", - "version": "0.0.0", + "version": "1.0.0", "description": "The doc-kit command-line interface: runs @doc-kit/core generators from the terminal", "repository": { "type": "git", @@ -22,7 +22,7 @@ "README.md" ], "dependencies": { - "@doc-kit/core": "^0.0.0", + "@doc-kit/core": "^1.0.0", "commander": "^15.0.0" } } diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index b8a07f37..a462c9f4 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,92 @@ # @doc-kit/core +## 1.0.0 + +### Major Changes + +- [#961](https://github.com/nodejs/doc-kit/pull/961) [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17) Thanks [@avivkeller](https://github.com/avivkeller)! - The doc-kit engine and CLI, previously published together as + `@node-core/doc-kit`, are now published as two packages: `@doc-kit/core` + (the engine) and `@doc-kit/cli` (the `doc-kit` command-line interface). + The `@node-core/doc-kit` name now contains only the Node.js-specific + generators (`api-links`, `addon-verify`, and `man-page`). + +- [#960](https://github.com/nodejs/doc-kit/pull/960) [`c734403`](https://github.com/nodejs/doc-kit/commit/c7344034d83dd5858250a5cc386fbe729f07ede0) Thanks [@avivkeller](https://github.com/avivkeller)! - The legacy-format generators (`legacy-html`, `legacy-html-all`, + `legacy-json`, and `legacy-json-all`) now live in the new + `@node-core/doc-kit-legacy` package and are loaded via import specifiers such + as `@node-core/doc-kit-legacy/legacy-html`. The corresponding + `@doc-kit/core/*` package exports have been removed. The CLI shorthand + names are unchanged. + +- [#961](https://github.com/nodejs/doc-kit/pull/961) [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17) Thanks [@avivkeller](https://github.com/avivkeller)! - The Node.js-specific generators (`api-links`, `addon-verify`, and + `man-page`) now live in the `@node-core/doc-kit` package and are loaded + via import specifiers such as `@node-core/doc-kit/man-page`. The + corresponding package exports have been removed from the doc-kit engine. + The CLI shorthand names are unchanged. + +- [#959](https://github.com/nodejs/doc-kit/pull/959) [`ca36039`](https://github.com/nodejs/doc-kit/commit/ca3603916bee58fb80c1ea3a2e0023c13903fc63) Thanks [@avivkeller](https://github.com/avivkeller)! - The React/JSX-based generators (`html` — previously `web` —, `jsx-ast`, + `llms-txt`, `sitemap`, and `orama-db`) now live in the new + `@doc-kit/generator-react` package and are loaded via import specifiers such as + `@doc-kit/generator-react/html`. The corresponding `@doc-kit/core/*` + 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`. + +### Minor Changes + +- [#939](https://github.com/nodejs/doc-kit/pull/939) [`7bd1b5b`](https://github.com/nodejs/doc-kit/commit/7bd1b5b15ba2a444bd9e746fb36236030919b273) Thanks [@avivkeller](https://github.com/avivkeller)! - Discover and load configuration files with `cosmiconfig`. + +- [#911](https://github.com/nodejs/doc-kit/pull/911) [`ada6540`](https://github.com/nodejs/doc-kit/commit/ada6540fe6c2c32cfa254187c159941b245ebf80) Thanks [@avivkeller](https://github.com/avivkeller)! - Add banner opt-out + +- [#958](https://github.com/nodejs/doc-kit/pull/958) [`0bd347d`](https://github.com/nodejs/doc-kit/commit/0bd347da847e21c2501732c0acbdee7db1b0f8f1) Thanks [@avivkeller](https://github.com/avivkeller)! - Generators are now loaded dynamically by import specifier instead of a static + registry. `--target` accepts either a built-in shorthand name (`web`, + `legacy-html`, …) or any import specifier resolving to a generator module + (e.g. `some-package/generator` or `./my-generator.mjs`), and a generator's + `dependsOn` is now a full import specifier. This lays the groundwork for + splitting the built-in generators into separate packages and enables + third-party generator packages. + +- [#937](https://github.com/nodejs/doc-kit/pull/937) [`43a09f7`](https://github.com/nodejs/doc-kit/commit/43a09f7ae9cdd4a1863e98b067abcf104e8937f2) Thanks [@avivkeller](https://github.com/avivkeller)! - Make the `web` generator bundler-neutral through a custom adapter contract, + with Vite 8.1 provided as the default adapter. + +### Patch Changes + +- [#964](https://github.com/nodejs/doc-kit/pull/964) [`96e1c26`](https://github.com/nodejs/doc-kit/commit/96e1c26482098aec1753d5fb1aeacb607f7e097f) Thanks [@avivkeller](https://github.com/avivkeller)! - Add `web.navigation`, which supplies the sidebar groups (`navigation.sidebar`) + and the navigation bar items (`navigation.navbar`) from configuration. + +- [#955](https://github.com/nodejs/doc-kit/pull/955) [`b80958f`](https://github.com/nodejs/doc-kit/commit/b80958ff53dd2388d33ce8ed282b14a67d3374f0) Thanks [@avivkeller](https://github.com/avivkeller)! - Close Orama search when the target link is on the same page + +- [#968](https://github.com/nodejs/doc-kit/pull/968) [`d3306a2`](https://github.com/nodejs/doc-kit/commit/d3306a20bf913d2c83739215bc5692434ceef166) Thanks [@pimterry](https://github.com/pimterry)! - Resolve unions and arrays of display-name types (`{HTTP/2 Headers Object | vm.Module}`, `{HTTP/2 Headers Object[]}`), and stop capturing prose such as `U+007B ({), and U+007D (}).` as a type annotation. + +- [#889](https://github.com/nodejs/doc-kit/pull/889) [`68751af`](https://github.com/nodejs/doc-kit/commit/68751af17a45cc0c8e76d36308fb1be3f1dec4af) Thanks [@bmuenzenmeyer](https://github.com/bmuenzenmeyer)! - Fix `relative()` URL resolution when the target path is a prefix of the current + page's path (e.g. `/generators` from `/generators/web`): the target's final + segment was consumed as a common directory, producing `.` instead of + `../generators`. Unreachable in flat page layouts; surfaced by sites with + nested input directories. + +- [#945](https://github.com/nodejs/doc-kit/pull/945) [`70b7526`](https://github.com/nodejs/doc-kit/commit/70b75269e9d0ed6b199c217bb268de96e65645c9) Thanks [@avivkeller](https://github.com/avivkeller)! - Moved the package into a `packages/core` workspace. + +- [#1002](https://github.com/nodejs/doc-kit/pull/1002) [`740b613`](https://github.com/nodejs/doc-kit/commit/740b613ded7326eada843c34809ea128c6a9d7b5) Thanks [@avivkeller](https://github.com/avivkeller)! - Defaults are now project-neutral instead of Node.js-specific + +- [#946](https://github.com/nodejs/doc-kit/pull/946) [`9ab2840`](https://github.com/nodejs/doc-kit/commit/9ab2840559d2f04a6db6b29bbf6c6d470a1dde0b) Thanks [@btea](https://github.com/btea)! - Fix missing spaces in the riscv64 multithreading warning message, which + previously concatenated as "failures whenallocating" and "spaceon riscv64". + +- [#933](https://github.com/nodejs/doc-kit/pull/933) [`b73b704`](https://github.com/nodejs/doc-kit/commit/b73b70474a2c499c1be315ebf2595e6932124e19) Thanks [@vsolano9](https://github.com/vsolano9)! - Use short `DEP` codes for deprecation heading anchors. + +- [#942](https://github.com/nodejs/doc-kit/pull/942) [`cef45ca`](https://github.com/nodejs/doc-kit/commit/cef45caf14cba83c77c373f59cee7f33f9f3df9b) Thanks [@btea](https://github.com/btea)! - Space union separators in type annotation values (`{string|URL}` is now rendered as `string | URL`). + +- [#934](https://github.com/nodejs/doc-kit/pull/934) [`e6f1769`](https://github.com/nodejs/doc-kit/commit/e6f176958f6323d054dc86c4437accc9340e6914) Thanks [@avivkeller](https://github.com/avivkeller)! - Switches `oxc-parser` for `@swc/wasm`, since `oxc-parser` does not provide the needed bindings. + +- [#919](https://github.com/nodejs/doc-kit/pull/919) [`d0f0de0`](https://github.com/nodejs/doc-kit/commit/d0f0de069e9061b6684269b412029bdd3dd288ba) Thanks [@MFA-G](https://github.com/MFA-G)! - Preserve deprecation codes in generated table-of-contents labels. + +- [#963](https://github.com/nodejs/doc-kit/pull/963) [`2f9defe`](https://github.com/nodejs/doc-kit/commit/2f9defe49cac2d0e95c6fb213075291509a50a5f) Thanks [@btea](https://github.com/btea)! - Sync the URL hash when following same-page search hits + +- [#955](https://github.com/nodejs/doc-kit/pull/955) [`b80958f`](https://github.com/nodejs/doc-kit/commit/b80958ff53dd2388d33ce8ed282b14a67d3374f0) Thanks [@avivkeller](https://github.com/avivkeller)! - Render markdown `code` snippets in the sidebar + +- Updated dependencies [[`c734403`](https://github.com/nodejs/doc-kit/commit/c7344034d83dd5858250a5cc386fbe729f07ede0), [`4bafb28`](https://github.com/nodejs/doc-kit/commit/4bafb287eda25dc07be9525e16aa6bfc63ebad1d), [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17), [`740b613`](https://github.com/nodejs/doc-kit/commit/740b613ded7326eada843c34809ea128c6a9d7b5), [`740b613`](https://github.com/nodejs/doc-kit/commit/740b613ded7326eada843c34809ea128c6a9d7b5), [`ca36039`](https://github.com/nodejs/doc-kit/commit/ca3603916bee58fb80c1ea3a2e0023c13903fc63)]: + - @node-core/doc-kit-legacy@1.0.0 + - @node-core/doc-kit@2.0.0 + - @doc-kit/generator-react@0.1.0 + ## 1.4.3 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 092964a6..f464a4c0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@doc-kit/core", "type": "module", - "version": "0.0.0", + "version": "1.0.0", "description": "The doc-kit engine: the pipeline and shared APIs that power the doc-kit generators and CLI", "repository": { "type": "git", @@ -66,9 +66,9 @@ "yaml": "^2.9.0" }, "peerDependencies": { - "@node-core/doc-kit": "^1.4.3", - "@node-core/doc-kit-legacy": "^0.0.0", - "@doc-kit/generator-react": "^0.0.0" + "@node-core/doc-kit": "^2.0.0", + "@node-core/doc-kit-legacy": "^1.0.0", + "@doc-kit/generator-react": "^0.1.0" }, "peerDependenciesMeta": { "@node-core/doc-kit": { diff --git a/packages/node-legacy/CHANGELOG.md b/packages/node-legacy/CHANGELOG.md new file mode 100644 index 00000000..7759fa7b --- /dev/null +++ b/packages/node-legacy/CHANGELOG.md @@ -0,0 +1,17 @@ +# @node-core/doc-kit-legacy + +## 1.0.0 + +### Major Changes + +- [#960](https://github.com/nodejs/doc-kit/pull/960) [`c734403`](https://github.com/nodejs/doc-kit/commit/c7344034d83dd5858250a5cc386fbe729f07ede0) Thanks [@avivkeller](https://github.com/avivkeller)! - The legacy-format generators (`legacy-html`, `legacy-html-all`, + `legacy-json`, and `legacy-json-all`) now live in the new + `@node-core/doc-kit-legacy` package and are loaded via import specifiers such + as `@node-core/doc-kit-legacy/legacy-html`. The corresponding + `@doc-kit/core/*` package exports have been removed. The CLI shorthand + names are unchanged. + +### Patch Changes + +- Updated dependencies [[`96e1c26`](https://github.com/nodejs/doc-kit/commit/96e1c26482098aec1753d5fb1aeacb607f7e097f), [`7bd1b5b`](https://github.com/nodejs/doc-kit/commit/7bd1b5b15ba2a444bd9e746fb36236030919b273), [`b80958f`](https://github.com/nodejs/doc-kit/commit/b80958ff53dd2388d33ce8ed282b14a67d3374f0), [`d3306a2`](https://github.com/nodejs/doc-kit/commit/d3306a20bf913d2c83739215bc5692434ceef166), [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17), [`68751af`](https://github.com/nodejs/doc-kit/commit/68751af17a45cc0c8e76d36308fb1be3f1dec4af), [`c734403`](https://github.com/nodejs/doc-kit/commit/c7344034d83dd5858250a5cc386fbe729f07ede0), [`70b7526`](https://github.com/nodejs/doc-kit/commit/70b75269e9d0ed6b199c217bb268de96e65645c9), [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17), [`ada6540`](https://github.com/nodejs/doc-kit/commit/ada6540fe6c2c32cfa254187c159941b245ebf80), [`740b613`](https://github.com/nodejs/doc-kit/commit/740b613ded7326eada843c34809ea128c6a9d7b5), [`ca36039`](https://github.com/nodejs/doc-kit/commit/ca3603916bee58fb80c1ea3a2e0023c13903fc63), [`9ab2840`](https://github.com/nodejs/doc-kit/commit/9ab2840559d2f04a6db6b29bbf6c6d470a1dde0b), [`b73b704`](https://github.com/nodejs/doc-kit/commit/b73b70474a2c499c1be315ebf2595e6932124e19), [`cef45ca`](https://github.com/nodejs/doc-kit/commit/cef45caf14cba83c77c373f59cee7f33f9f3df9b), [`0bd347d`](https://github.com/nodejs/doc-kit/commit/0bd347da847e21c2501732c0acbdee7db1b0f8f1), [`e6f1769`](https://github.com/nodejs/doc-kit/commit/e6f176958f6323d054dc86c4437accc9340e6914), [`d0f0de0`](https://github.com/nodejs/doc-kit/commit/d0f0de069e9061b6684269b412029bdd3dd288ba), [`2f9defe`](https://github.com/nodejs/doc-kit/commit/2f9defe49cac2d0e95c6fb213075291509a50a5f), [`43a09f7`](https://github.com/nodejs/doc-kit/commit/43a09f7ae9cdd4a1863e98b067abcf104e8937f2), [`b80958f`](https://github.com/nodejs/doc-kit/commit/b80958ff53dd2388d33ce8ed282b14a67d3374f0)]: + - @doc-kit/core@1.0.0 diff --git a/packages/node-legacy/package.json b/packages/node-legacy/package.json index 0e4a067f..b6ea2a55 100644 --- a/packages/node-legacy/package.json +++ b/packages/node-legacy/package.json @@ -1,7 +1,7 @@ { "name": "@node-core/doc-kit-legacy", "type": "module", - "version": "0.0.0", + "version": "1.0.0", "description": "Node.js legacy-format generators for @doc-kit/core: legacy-html, legacy-html-all, legacy-json, and legacy-json-all", "repository": { "type": "git", @@ -24,7 +24,7 @@ "README.md" ], "dependencies": { - "@doc-kit/core": "^0.0.0", + "@doc-kit/core": "^1.0.0", "hastscript": "^9.0.1", "unist-builder": "^4.0.0", "unist-util-visit": "^5.1.0" diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md new file mode 100644 index 00000000..35ba3e05 --- /dev/null +++ b/packages/node/CHANGELOG.md @@ -0,0 +1,25 @@ +# @node-core/doc-kit + +## 2.0.0 + +### Major Changes + +- [#961](https://github.com/nodejs/doc-kit/pull/961) [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17) Thanks [@avivkeller](https://github.com/avivkeller)! - The Node.js-specific generators (`api-links`, `addon-verify`, and + `man-page`) now live in the `@node-core/doc-kit` package and are loaded + via import specifiers such as `@node-core/doc-kit/man-page`. The + corresponding package exports have been removed from the doc-kit engine. + The CLI shorthand names are unchanged. + +### Minor Changes + +- [#1002](https://github.com/nodejs/doc-kit/pull/1002) [`740b613`](https://github.com/nodejs/doc-kit/commit/740b613ded7326eada843c34809ea128c6a9d7b5) Thanks [@avivkeller](https://github.com/avivkeller)! - Add the `@node-core/doc-kit/config` preset + +### Patch Changes + +- [#997](https://github.com/nodejs/doc-kit/pull/997) [`4bafb28`](https://github.com/nodejs/doc-kit/commit/4bafb287eda25dc07be9525e16aa6bfc63ebad1d) Thanks [@btea](https://github.com/btea)! - Pin the `en-US` locale on builtin MDN type links that carry a hash fragment + (e.g. `number`, `string`, `any`). Locale-less MDN URLs redirect to the + visitor's preferred language, where heading anchor IDs are translated, so the + original fragment (e.g. `#number_type`) no longer matches any anchor on the + redirected page and the link fails to jump to the target section. +- Updated dependencies [[`96e1c26`](https://github.com/nodejs/doc-kit/commit/96e1c26482098aec1753d5fb1aeacb607f7e097f), [`7bd1b5b`](https://github.com/nodejs/doc-kit/commit/7bd1b5b15ba2a444bd9e746fb36236030919b273), [`b80958f`](https://github.com/nodejs/doc-kit/commit/b80958ff53dd2388d33ce8ed282b14a67d3374f0), [`d3306a2`](https://github.com/nodejs/doc-kit/commit/d3306a20bf913d2c83739215bc5692434ceef166), [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17), [`68751af`](https://github.com/nodejs/doc-kit/commit/68751af17a45cc0c8e76d36308fb1be3f1dec4af), [`c734403`](https://github.com/nodejs/doc-kit/commit/c7344034d83dd5858250a5cc386fbe729f07ede0), [`70b7526`](https://github.com/nodejs/doc-kit/commit/70b75269e9d0ed6b199c217bb268de96e65645c9), [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17), [`ada6540`](https://github.com/nodejs/doc-kit/commit/ada6540fe6c2c32cfa254187c159941b245ebf80), [`740b613`](https://github.com/nodejs/doc-kit/commit/740b613ded7326eada843c34809ea128c6a9d7b5), [`ca36039`](https://github.com/nodejs/doc-kit/commit/ca3603916bee58fb80c1ea3a2e0023c13903fc63), [`9ab2840`](https://github.com/nodejs/doc-kit/commit/9ab2840559d2f04a6db6b29bbf6c6d470a1dde0b), [`b73b704`](https://github.com/nodejs/doc-kit/commit/b73b70474a2c499c1be315ebf2595e6932124e19), [`cef45ca`](https://github.com/nodejs/doc-kit/commit/cef45caf14cba83c77c373f59cee7f33f9f3df9b), [`0bd347d`](https://github.com/nodejs/doc-kit/commit/0bd347da847e21c2501732c0acbdee7db1b0f8f1), [`e6f1769`](https://github.com/nodejs/doc-kit/commit/e6f176958f6323d054dc86c4437accc9340e6914), [`d0f0de0`](https://github.com/nodejs/doc-kit/commit/d0f0de069e9061b6684269b412029bdd3dd288ba), [`2f9defe`](https://github.com/nodejs/doc-kit/commit/2f9defe49cac2d0e95c6fb213075291509a50a5f), [`43a09f7`](https://github.com/nodejs/doc-kit/commit/43a09f7ae9cdd4a1863e98b067abcf104e8937f2), [`b80958f`](https://github.com/nodejs/doc-kit/commit/b80958ff53dd2388d33ce8ed282b14a67d3374f0)]: + - @doc-kit/core@1.0.0 diff --git a/packages/node/package.json b/packages/node/package.json index d7cff3f9..8e526680 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,7 +1,7 @@ { "name": "@node-core/doc-kit", "type": "module", - "version": "1.4.3", + "version": "2.0.0", "description": "Node.js-specific generators for @doc-kit/core: api-links, addon-verify, and man-page", "repository": { "type": "git", @@ -24,7 +24,7 @@ "README.md" ], "dependencies": { - "@doc-kit/core": "^0.0.0", + "@doc-kit/core": "^1.0.0", "dedent": "^1.7.2", "estree-util-visit": "^2.0.0", "unist-util-visit": "^5.1.0" diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md new file mode 100644 index 00000000..01c03e51 --- /dev/null +++ b/packages/react/CHANGELOG.md @@ -0,0 +1,20 @@ +# @doc-kit/generator-react + +## 0.1.0 + +### Minor Changes + +- [#1002](https://github.com/nodejs/doc-kit/pull/1002) [`740b613`](https://github.com/nodejs/doc-kit/commit/740b613ded7326eada843c34809ea128c6a9d7b5) Thanks [@avivkeller](https://github.com/avivkeller)! - Defaults are now project-neutral instead of Node.js-specific + +- [#959](https://github.com/nodejs/doc-kit/pull/959) [`ca36039`](https://github.com/nodejs/doc-kit/commit/ca3603916bee58fb80c1ea3a2e0023c13903fc63) Thanks [@avivkeller](https://github.com/avivkeller)! - The React/JSX-based generators (`html` — previously `web` —, `jsx-ast`, + `llms-txt`, `sitemap`, and `orama-db`) now live in the new + `@doc-kit/generator-react` package and are loaded via import specifiers such as + `@doc-kit/generator-react/html`. The corresponding `@doc-kit/core/*` + 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`. + +### Patch Changes + +- Updated dependencies [[`96e1c26`](https://github.com/nodejs/doc-kit/commit/96e1c26482098aec1753d5fb1aeacb607f7e097f), [`7bd1b5b`](https://github.com/nodejs/doc-kit/commit/7bd1b5b15ba2a444bd9e746fb36236030919b273), [`b80958f`](https://github.com/nodejs/doc-kit/commit/b80958ff53dd2388d33ce8ed282b14a67d3374f0), [`d3306a2`](https://github.com/nodejs/doc-kit/commit/d3306a20bf913d2c83739215bc5692434ceef166), [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17), [`68751af`](https://github.com/nodejs/doc-kit/commit/68751af17a45cc0c8e76d36308fb1be3f1dec4af), [`c734403`](https://github.com/nodejs/doc-kit/commit/c7344034d83dd5858250a5cc386fbe729f07ede0), [`70b7526`](https://github.com/nodejs/doc-kit/commit/70b75269e9d0ed6b199c217bb268de96e65645c9), [`c334823`](https://github.com/nodejs/doc-kit/commit/c334823a1ee7c1dc4642fa1b0dad90912de22f17), [`ada6540`](https://github.com/nodejs/doc-kit/commit/ada6540fe6c2c32cfa254187c159941b245ebf80), [`740b613`](https://github.com/nodejs/doc-kit/commit/740b613ded7326eada843c34809ea128c6a9d7b5), [`ca36039`](https://github.com/nodejs/doc-kit/commit/ca3603916bee58fb80c1ea3a2e0023c13903fc63), [`9ab2840`](https://github.com/nodejs/doc-kit/commit/9ab2840559d2f04a6db6b29bbf6c6d470a1dde0b), [`b73b704`](https://github.com/nodejs/doc-kit/commit/b73b70474a2c499c1be315ebf2595e6932124e19), [`cef45ca`](https://github.com/nodejs/doc-kit/commit/cef45caf14cba83c77c373f59cee7f33f9f3df9b), [`0bd347d`](https://github.com/nodejs/doc-kit/commit/0bd347da847e21c2501732c0acbdee7db1b0f8f1), [`e6f1769`](https://github.com/nodejs/doc-kit/commit/e6f176958f6323d054dc86c4437accc9340e6914), [`d0f0de0`](https://github.com/nodejs/doc-kit/commit/d0f0de069e9061b6684269b412029bdd3dd288ba), [`2f9defe`](https://github.com/nodejs/doc-kit/commit/2f9defe49cac2d0e95c6fb213075291509a50a5f), [`43a09f7`](https://github.com/nodejs/doc-kit/commit/43a09f7ae9cdd4a1863e98b067abcf104e8937f2), [`b80958f`](https://github.com/nodejs/doc-kit/commit/b80958ff53dd2388d33ce8ed282b14a67d3374f0)]: + - @doc-kit/core@1.0.0 diff --git a/packages/react/package.json b/packages/react/package.json index f36bbfcd..3927fb3a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@doc-kit/generator-react", "type": "module", - "version": "0.0.0", + "version": "0.1.0", "description": "React/JSX-based generators for @doc-kit/core: html, jsx-ast, llms-txt, sitemap, and orama-db", "repository": { "type": "git", @@ -30,7 +30,7 @@ "@fontsource-variable/open-sans": "^5.3.0", "@fontsource/ibm-plex-mono": "^5.3.0", "@heroicons/react": "^2.2.0", - "@doc-kit/core": "^0.0.0", + "@doc-kit/core": "^1.0.0", "@node-core/rehype-shiki": "^1.4.3", "@node-core/ui-components": "^1.7.4", "@orama/orama": "^3.1.18",