Repository navigation
docs: generate TypeDoc for every package - #18331
Merged
WikiRik merged 1 commit intoSep 7, 2026
Merged
Conversation
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
4 of 5 tasks
WikiRik
force-pushed
the
WikiRik/typedoc-all-packages
branch
from
September 3, 2026 12:47
04bd9ba to
0b1b706
Compare
WikiRik
force-pushed
the
WikiRik/typedoc-all-packages
branch
from
September 3, 2026 13:13
0b1b706 to
7ba51de
Compare
WikiRik
force-pushed
the
WikiRik/typedoc-all-packages
branch
2 times, most recently
from
September 3, 2026 17:53
29e1c8d to
92e4bc1
Compare
WikiRik
force-pushed
the
WikiRik/typedoc-all-packages
branch
from
September 3, 2026 20:14
92e4bc1 to
70a18e0
Compare
WikiRik
marked this pull request as ready for review
September 3, 2026 20:17
Update TypeDoc to 0.28.19 and typedoc-plugin-missing-exports to 4.1.3. TypeStrong/typedoc#2467 is fixed in 0.28, which is what kept packages/postgres, and with it every other dialect package, out of the documentation build. Add all of them to the entry points, so the dialect packages are documented too. Qualify the `{@link}` targets that point at `sql` and its members, and at the other core exports, with `@sequelize/core!`. Unqualified, TypeDoc cannot resolve a member of the `sql` tag function and drops the link. Map those names to their generated pages through `externalSymbolLinkMappings`. Note for review: `Association#foreignKey` becomes a getter, which makes it read-only. This is not required by the compiler, only by TypeDoc, which otherwise documents the abstract property and the subclass field as two separate symbols. It is an API change and worth a second opinion. `yarn docs` completes with no warnings across all 13 packages. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01EgPPfqYYk6PFGbanp5mAFh
WikiRik
force-pushed
the
WikiRik/typedoc-all-packages
branch
from
September 3, 2026 20:18
70a18e0 to
a2f6e3c
Compare
4 of 5 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull Request Checklist
Description of Changes
Stacked on #18330. This must land before the TypeScript 6.0 PR above it — TypeDoc 0.27 refuses to run on TypeScript 6.0 (
yarn docsexits 3 with "You are running with an unsupported TypeScript version"), anddocsis a required CI job.Every package is documented now
TypeDoc goes to
0.28.19andtypedoc-plugin-missing-exportsto4.1.3.TypeStrong/typedoc#2467 is fixed in 0.28, and that issue is what kept
packages/postgres— and with it every other dialect package — out of the documentation build:All 12 documented packages are now entry points, so the dialect packages get API docs for the first time. (
packages/cliis deliberately not included — it has notypedoc.json.)Link resolution
The
{@link}targets pointing atsqland its members are qualified with@sequelize/core!. Unqualified, TypeDoc cannot resolve a member of thesqltag function and silently drops the link. Those names are mapped to their generated pages throughexternalSymbolLinkMappingsintypedoc.base.json.This accounts for most of the diff and is mechanical.
Association#foreignKeybecomes a getter, which makes it read-only.association.foreignKey = xwould now fail to compile and throw at runtime.This is not required by the compiler — I verified that reverting it still compiles cleanly, including under TypeScript 6.0. It is required only by TypeDoc, which otherwise documents the abstract property and the subclass field as two separate symbols. That is an API change made for a documentation reason, so please weigh it deliberately rather than waving it through; I'm happy to drop it and accept the duplicated symbol instead.
Verification
yarn docscompletes with no warnings across all 12 packages, on TypeScript 5.8.3.yarn build,yarn test-unit(2203 passing) andyarn test-typingsall pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01EgPPfqYYk6PFGbanp5mAFh