Skip to content

auto dependabot: bump typescript from 5.9.3 to 6.0.2#971

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/typescript-6.0.2
Open

auto dependabot: bump typescript from 5.9.3 to 6.0.2#971
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/typescript-6.0.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 30, 2026

Bumps typescript from 5.9.3 to 6.0.2.

Release notes

Sourced from typescript's releases.

TypeScript 6.0

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0 Beta

For release notes, check out the release announcement.

Downloads are available on:

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 30, 2026
@dependabot dependabot bot requested a review from a team as a code owner March 30, 2026 12:28
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 30, 2026
@ramsessanchez
Copy link
Copy Markdown
Contributor

TypeScript 6.0 Build Failure Analysis

The build is failing across all Node matrix versions (18.x, 20.x, 22.x) with two deprecation errors that TypeScript 6.0 now treats as hard errors:

Error 1: TS5107moduleResolution=node10 is deprecated

  • Source: Root tsconfig.json"moduleResolution": "Node"
  • Inherited by: Every workspace package via packages/tsconfig.base.json
  • Fix: Update to "moduleResolution": "Node16" or "Bundler" in tsconfig.json

Error 2: TS5101baseUrl is deprecated

  • Source: Each workspace package's own tsconfig.json (e.g. packages/msgraph-sdk-users/tsconfig.json)
  • Current value: "baseUrl": "./" (used alongside paths for project references)
  • Fix: Remove baseUrl from all ~68 workspace tsconfigs. With moduleResolution: "Node16" or "Bundler", TypeScript resolves paths relative to the tsconfig location by default.

Recommended Changes

Option A — Proper migration (recommended):

  1. In tsconfig.json: change "moduleResolution": "Node""moduleResolution": "Node16" and "module": "ES6""module": "Node16"
  2. In all packages/*/tsconfig.json: remove the "baseUrl": "./" line
  3. Also consider removing "experimentalDecorators" and "emitDecoratorMetadata" from packages/tsconfig.base.json since these are deprecated in TS6 as well (TC39 decorators are now standard)

Option B — Quick unblock (temporary):
Add "ignoreDeprecations": "6.0" to the root tsconfig.json compilerOptions to suppress the errors. This buys time but the options will be removed in TypeScript 7.0.


Note: The baseUrl deprecation affects all ~68 workspace packages that follow the same tsconfig pattern. A script or bulk find-and-replace would be the most efficient approach for Option A.

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