Skip to content

Hold dependabot to TypeScript 5 until openapi-typescript supports 7 - #223

Open
jeremy wants to merge 1 commit into
mainfrom
deps/ignore-typescript-major
Open

jeremy wants to merge 1 commit into
mainfrom
deps/ignore-typescript-major

Conversation

@jeremy

@jeremy jeremy commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

#195 has been red since 2026-09-17 because it bumps typescript from 5.9.3 to 7.0.2, and openapi-typescript@7.13.0 (the latest release) declares peerDependencies: { typescript: "^5.x" }. npm ci stops with ERESOLVE before anything runs, so every TypeScript job, the conformance job and npm audit fail (run). Upstream tracks TypeScript 7 support in openapi-ts/openapi-typescript#2841, still open.

Because the group is all-or-nothing, the other three updates in it (@types/node 26.5.1, semver 7.8.5, vitest 5.0.0) are held back too. This adds a semver-major ignore for typescript to the npm entry, the same rule fizzy-sdk and basecamp-sdk already carry. Minor and patch TypeScript 5 updates still come through. Once this merges, dependabot rebuilds the group without the TypeScript major.

Checked the rebuilt group locally on Node 24: with those three updates applied on top of main, npm run typecheck, npm run build, npm run check:generated and npm run conformance (191 passed) all pass, and npm test passes apart from one test that calls /bin/true, which does not exist on macOS and does exist on the Linux runners.

The GitHub Actions audit check is red on main since 2026-09-20 for an unrelated reason (zizmor's ref-version-mismatch on the dtolnay/rust-toolchain pin in test.yml); #222 already fixes that, so this PR will show the same red until #222 lands.


Summary by cubic

Stops the TypeScript major-version bump from breaking CI by holding Dependabot to TypeScript 5 until openapi-typescript adds TypeScript 7 support.

The ignored update-types only cover semver-major versions for typescript, so minor and patch TypeScript 5 updates still flow through. This unblocks the other dev dependencies (@types/node, semver, vitest) that dependabot's all-or-nothing grouping had been holding back.

Written for commit 92712c7. Summary will update on new commits.

Review in cubic

openapi-typescript 7.13.0 peers on typescript ^5.x, so the grouped
bump to typescript 7.0.2 fails npm ci with ERESOLVE in every
TypeScript job and holds back the other dev updates in the group.
fizzy-sdk and basecamp-sdk carry the same ignore for the same reason.
Copilot AI balanced review requested due to automatic review settings September 22, 2026 22:04
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-22T22:06:25.843873Z 92712c7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approved

The configuration is valid, narrowly scoped, and consistent with the documented peer dependency constraint.

Review effort: Balanced
Findings: None

What changed in this PR

Pins Dependabot’s TypeScript updates to major version 5 while openapi-typescript requires TypeScript ^5.x.

Changes:

  • Ignores semver-major TypeScript updates.
  • Preserves minor and patch updates within TypeScript 5.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File Description
.github/​dependabot.yml Adds the scoped TypeScript major-version exclusion.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch has not been deployed

No deployments
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.

2 participants