build(deps): 10 safe root bumps; defer + ignore swizzled openapi-docs#127
Merged
Conversation
…kages Ships the 10 routine bumps from Dependabot group PR #126, holding back the one breaking update in that group: docusaurus-theme-openapi-docs 5.0.0 -> 5.1.0. 5.1.0 emptied its translationIds module, which our swizzled RequestSchema/ResponseSchema components import — 4 TS errors that would fail the deploy's typecheck. GitHub marked #126 mergeable because there is no PR-level CI; only a local typecheck caught it. Bumped (verified typecheck + build clean): - @docusaurus/faster / tsconfig / types -> 3.10.1 - @easyops-cn/docusaurus-search-local -> 0.55.2 - docusaurus-markdown-source-plugin -> 2.2.5 - react / react-dom -> 19.2.7 - sass -> 1.101.0 - @apidevtools/json-schema-ref-parser -> 15.4.0 - typescript -> 6.0.3 Also ignores docusaurus-theme-openapi-docs and its sibling docusaurus-plugin-openapi-docs in dependabot.yml (root ecosystem): both are swizzled (src/theme/Schema, SchemaItem, RequestSchema, ResponseSchema, ApiExplorer/*) and must be upgraded manually with swizzle reconciliation, never auto-merged. Verified: npm ci clean, npm run typecheck 0 errors, npm run build SUCCESS, search-index.json 2.8MB (cap 50MB), 29 API reference pages render. Supersedes the safe portion of #126; the 5.1.0 theme upgrade is deferred to a dedicated task. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
What
Ships the 10 safe bumps from Dependabot group PR #126, and holds back the one breaking update in that group.
Why #126 wasn't mergeable as-is
#126 ("npm-root group, 11 updates") bundled one poison pill:
docusaurus-theme-openapi-docs5.0.0 → 5.1.0. 5.1.0 emptied itstranslationIdsmodule (export {};), and our swizzledRequestSchema/ResponseSchemacomponents importOPENAPI_REQUEST/OPENAPI_SCHEMA/OPENAPI_SCHEMA_ITEMfrom it → 4 TypeScript errors → the deploy'snpm run typecheckstep would fail. GitHub marked #126 "mergeable" only because there's no PR-level CI.Verified locally: pinning just the theme back to 5.0.0 (keeping the other 10) →
tscexits 0. So the theme is the sole culprit.Bumps in this PR (theme excluded, held at ^5.0.0)
Dependabot config
Adds
docusaurus-theme-openapi-docsand its siblingdocusaurus-plugin-openapi-docsto the root-ecosystemignorelist. Both are swizzled (src/theme/Schema,SchemaItem,RequestSchema,ResponseSchema,ApiExplorer/*) — minor bumps break our coupled components, so they must be upgraded manually with swizzle reconciliation. Same treatment asdocusaurus-plugin-mcp-server.Verification
npm ciclean (lockfile in sync) ✅npm run typecheck→ 0 errors ✅npm run build→[SUCCESS]✅search-index.json2.8MB (cap 50MB; mcp plugin untouched at 0.13.0) ✅Follow-up
Supersedes the safe portion of #126 (closed in favor of this). The real 5.1.0 theme upgrade is deferred — it needs reconciling 5.1.0's API against 8 swizzled files (most critically the deep-link
Schema/SchemaItemcomponents). Its own scoped task.🤖 Generated with Claude Code