Skip to content

deps(docs): upgrade TypeScript to 6.0.3 and defer incompatible 7.x - #130

Merged
rodri-oliveira-dev merged 4 commits into
mainfrom
dependabot/npm_and_yarn/website/typescript-7.0.2
Oct 30, 2026
Merged

rodri-oliveira-dev merged 4 commits into
mainfrom
dependabot/npm_and_yarn/website/typescript-7.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Upgrade the documentation portal from TypeScript 5.9.3 to 6.0.3 rather than TypeScript 7.0.2.

The original Dependabot proposal for TypeScript 7 could not pass npm ci: @astrojs/check@0.9.12 declares a TypeScript peer range of ^5.0.0 || ^6.0.0, and Astro/Volar language tooling also requires <7. The portal, accessibility, SEO, and Lighthouse workflows all failed at dependency installation with ERESOLVE.

Changes

  • Upgrade the documentation portal to the latest supported TypeScript 6 release (6.0.3).
  • Update website/package-lock.json with the published TypeScript 6.0.3 package metadata.
  • Add an npm Dependabot ignore rule for TypeScript >=7.0.0 until compatible Astro language tooling is available.
  • Preserve astro check, existing scripts, quality gates, and the Node.js engine policy.

Compatibility and validation

The existing @astrojs/check@0.9.12 supports TypeScript 5 and 6, and the Volar peers accept versions below 7. The previous TypeScript 7 run failed during npm ci; review the new GitHub Actions run for npm ci --ignore-scripts, npm run check, tests, build, accessibility, SEO/HTML, and Lighthouse before merging.

This PR deliberately does not use --force or --legacy-peer-deps and does not disable quality gates.

Follow-up

Revisit TypeScript 7 after the Astro checker and language server explicitly support it, including a successful clean npm ci and astro check run.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 30, 2026
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

SonarQube Cloud success

The SonarQube Cloud Quality Gate passed for this PR.

Quality Gate status: OK

Metric Status Actual Threshold
new_reliability_rating OK 1 1
new_security_rating OK 1 1
new_maintainability_rating OK 1 1
new_security_hotspots_reviewed OK 100.0 100

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.9.3...v7.0.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/website/typescript-7.0.2 branch from 3a82a97 to 3bf0f24 Compare October 30, 2026 01:03
@rodri-oliveira-dev rodri-oliveira-dev changed the title deps(deps-dev): bump typescript from 5.9.3 to 7.0.2 in /website deps(docs): upgrade TypeScript to 6.0.3 and defer incompatible 7.x Oct 30, 2026
@rodri-oliveira-dev
rodri-oliveira-dev merged commit 24779a2 into main Oct 30, 2026
27 checks passed
@rodri-oliveira-dev
rodri-oliveira-dev deleted the dependabot/npm_and_yarn/website/typescript-7.0.2 branch October 30, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant