fix(docs): silence TS5101 baseUrl deprecation in docusaurus tsconfig#475
Open
fix(docs): silence TS5101 baseUrl deprecation in docusaurus tsconfig#475
Conversation
Adds ignoreDeprecations: 6.0 as a temporary workaround. Tracked for removal in #474.
📚 Documentation Health ReportGenerated on: 2026-05-05 16:01:46 UTC 📈 Documentation Statistics
🏗️ Three-Tree Architecture Status
🔍 Quality Metrics
This report is automatically generated by the Documentation Automation workflow. |
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.
Description
Unblocks the
npm run typecheckjob in CI, which started failing with TS5101 because TypeScript now treatsbaseUrlin docs/docusaurus/tsconfig.json as deprecated. Added"ignoreDeprecations": "6.0"to the compilerOptions block so the existingbaseUrl: "."setting continues to compile cleanly without changing module resolution behavior.This is a deliberately minimal, temporary workaround. The proper migration (removing
baseUrlentirely, or moving topaths-based resolution before TypeScript 7) is tracked separately in #474.Related Issue
Relates to #474
Type of Change
Implementation Details
Edited docs/docusaurus/tsconfig.json to add
ignoreDeprecations: "6.0"alongside the existingbaseUrl: "."value. No other compiler options or files were touched, and the Docusaurus base config (@docusaurus/tsconfig) is still extended unchanged.Testing Performed
Validation Steps
npm run typecheckinside docs/docusaurus/ (or the workspace command that invokes it).baseUrl.Checklist
terraform fmton all Terraform codeterraform validateon all Terraform codeaz bicep formaton all Bicep codeaz bicep buildto validate all Bicep codeSecurity Review
Additional Notes
The
ignoreDeprecations: "6.0"flag is explicitly time-boxed: it stops working in TypeScript 7. Issue #474 captures the follow-up to removebaseUrl(and this flag) before the TS 7 upgrade.