Skip to content

Use TypeScript 6 for Learn tooling - #3030

Merged
ktsaou merged 1 commit into
masterfrom
maintenance/typescript-6
Aug 22, 2026
Merged

Use TypeScript 6 for Learn tooling#3030
ktsaou merged 1 commit into
masterfrom
maintenance/typescript-6

Conversation

@ktsaou

@ktsaou ktsaou commented Aug 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Upgrade the root TypeScript dependency from 5.9.3 to 6.0.3.
  • Preserve the JavaScript compiler API and tsserver executable used by MDX-compatible tooling.
  • Keep the root Yarn lockfile on the repository's existing npmjs provenance.

Compatibility rationale

TypeScript 6 is the stable transition release and remains API-compatible with TypeScript 5.9. TypeScript 7.0 does not expose a stable programmatic API, and Microsoft recommends that MDX projects remain on TypeScript 6 until that support is available.

Learn currently has no TypeScript source files or tsconfig. This update aligns the direct tooling dependency without changing the site runtime or rendered content.

Validation

  • TypeScript 6.0.3 compiler API and tsserver availability verified.
  • yarn install --frozen-lockfile passed.
  • yarn check --integrity passed.
  • yarn test:run passed: 436 Vitest, 64 IndexNow, 2 Swagger UI vendor, 3 dependency-authority, and 4 site-gate tests.
  • Two yarn build:netlify runs passed: 1,984 HTML files, 1,978 indexed pages, and zero site-gate findings or regressions.
  • Both production builds produced the same complete rendered-output digest.

Summary by cubic

Upgrade root typescript from 5.9.3 to 6.0.3 to align Learn’s tooling with the stable transition release. Keeps the compiler API and tsserver used by MDX tooling while avoiding TypeScript 7’s unstable programmatic API; no changes to site runtime or rendered output.

Review notes

  • Only package.json and yarn.lock changed; lockfile remains on npmjs provenance.
  • Validation passed: install checks, full test suite, and two Netlify builds produced identical output digests.
  • No migration required.

Written for commit 0d0335a. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Chores
    • Updated the TypeScript development dependency to version 6.0.3.

@netlify

netlify Bot commented Aug 22, 2026

Copy link
Copy Markdown

Deploy Preview for netdata-docusaurus ready!

Name Link
🔨 Latest commit 0d0335a
🔍 Latest deploy log https://app.netlify.com/projects/netdata-docusaurus/deploys/6a88e75b3500500008398790
😎 Deploy Preview https://deploy-preview-3030--netdata-docusaurus.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 28f53cca-c2d7-4d0b-9de8-c51891206650

📥 Commits

Reviewing files that changed from the base of the PR and between c966592 and 0d0335a.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The pull request updates the typescript dependency in package.json from ^5.9.3 to ^6.0.3.

Changes

TypeScript dependency upgrade

Layer / File(s) Summary
Update TypeScript requirement
package.json
The TypeScript dependency range changes from ^5.9.3 to ^6.0.3.

Estimated code review effort: 1 (Trivial) | ~2 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch maintenance/typescript-6

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ktsaou
ktsaou marked this pull request as ready for review August 22, 2026 03:07
@ktsaou
ktsaou merged commit 56331bd into master Aug 22, 2026
8 of 9 checks passed
@ktsaou
ktsaou deleted the maintenance/typescript-6 branch August 22, 2026 03:07
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