Skip to content

chore(deps): pin the docs TypeScript, and say what decides it - #2

Merged
htcom-code merged 1 commit into
mainfrom
chore/pin-docs-typescript
Aug 8, 2026
Merged

htcom-code merged 1 commit into
mainfrom
chore/pin-docs-typescript

Conversation

@htcom-code

Copy link
Copy Markdown
Owner

Dependabot opened #1 — typescript 6.0.3 → 7.0.2 against tools/docs — the day this repository went public. Merging it would leave typedoc unable to load: its peer range stops at 6.0.x, and 6.0.3 is the newest version that range allows.

Why an ignore rather than closing the PR

There are two TypeScripts here and they are not free to move together:

Version Why
Build 7 The repository compiles with the native port
tools/docs 6.0.3 typedoc's peer is 5.0.x … 6.0.x; 6.0.3 is the newest it accepts

Dependabot matches by dependency name and cannot be told to leave one alone while updating the other. Closing #1 would bring it back next week, so majors are ignored for typescript.

The cost, and the trigger that pays for it

The cost is real: the build's own TypeScript major is now a manual decision rather than a PR that appears. That is only safe if the decision has a trigger, so the rule and CONTRIBUTING.md both name the question that answers it:

npm view typedoc version peerDependencies

If typedoc accepts the newer major, raise both and drop the ignore. If it has not, the pin stays — and a "typescript is out of date" report is answered by that command rather than by bumping.

Checked today: typedoc 0.28.20 (latest), peer still 5.0.x || … || 6.0.x. 6.0.3 is also the newest 6.x that exists, so the pin costs nothing today.

Minors and patches are unaffected in both places.

Verified

core 384, api reports match, actionlint PASS, dependabot.yml parses.

Closes #1 once merged — the ignore rule is what stops it returning.

Dependabot opened `typescript 6.0.3 → 7.0.2` against `tools/docs` the day
this repository went public. Merging it would have left typedoc unable to
load: its peer range stops at `6.0.x`, and 6.0.3 is the newest version
that range allows.

There are two TypeScripts here — the build runs 7, the documentation
tooling runs 6 — and Dependabot matches by dependency name, so it cannot
be told to leave one alone and update the other. Majors are ignored for
`typescript` as a result, which makes the build's own major a manual
decision rather than a PR that appears.

That trade is only safe if the manual decision has a trigger, so both the
rule and CONTRIBUTING name the question that answers it:

    npm view typedoc version peerDependencies

Checked today: typedoc 0.28.20, still `5.0.x … 6.0.x`. The pin stands.
Minors and patches are unaffected in both places.

Co-Authored-By: htjulia <htjulia1@gmail.com>
@htcom-code
htcom-code merged commit c704870 into main Aug 8, 2026
4 checks passed
@htcom-code
htcom-code deleted the chore/pin-docs-typescript branch August 8, 2026 02:54
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.

1 participant