Skip to content

chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 in /web - #99

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web/typescript-6.0.3
Closed

chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 in /web#99
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web/typescript-6.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 5.9.3 to 6.0.3.

Release notes

Sourced from typescript's releases.

TypeScript 6.0.3

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

Downloads are available on:

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
  • 050880c Bump version to 6.0.3 and LKG
  • eeae9dd 🤖 Pick PR #63401 (Also check package name validity in...) into release-6.0 (#...
  • ad1c695 🤖 Pick PR #63368 (Harden ATA package name filtering) into release-6.0 (#63372)
  • 0725fb4 🤖 Pick PR #63310 (Mark class property initializers as...) into release-6.0 (#...
  • 607a22a Bump version to 6.0.2 and LKG
  • 9e72ab7 🤖 Pick PR #63239 (Fix missing lib files in reused pro...) into release-6.0 (#...
  • 35ff23d 🤖 Pick PR #63163 (Port anyFunctionType subtype fix an...) into release-6.0 (#...
  • e175b69 Bump version to 6.0.1-rc and LKG
  • af4caac Update LKG
  • 8efd7e8 Merge remote-tracking branch 'origin/main' into release-6.0
  • Additional commits viewable in compare view

Summary by CodeRabbit

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

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 9, 2026
@dependabot
dependabot Bot requested a review from elkaix as a code owner June 9, 2026 20:21
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Jun 9, 2026
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The PR updates the TypeScript devDependency in web/package.json from version ~5.9.3 to ~6.0.3.

Changes

TypeScript Dependency Upgrade

Layer / File(s) Summary
TypeScript version bump
web/package.json
TypeScript devDependency updated from ~5.9.3 to ~6.0.3.

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is missing required sections from the template (Related Issue, Description, Checklist) and does not follow the expected structure. Add the missing template sections: link the related issue, provide a description of the change, and complete the checklist items.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title follows conventional commits format with type 'chore', scope 'deps-dev', and a clear description of the dependency bump.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/web/typescript-6.0.3

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@web/package.json`:
- Line 83: The tsconfig currently triggers TS5101 because "baseUrl" is
deprecated under TypeScript 6.0; open the project's tsconfig.app.json and under
"compilerOptions" either remove/migrate the "baseUrl" usage (replace with
explicit "paths" mappings if needed) or add the temporary unblocker
"ignoreDeprecations": "6.0" so the typecheck passes; ensure you update the
"baseUrl" key and/or add "ignoreDeprecations" in the same "compilerOptions"
object to resolve the error.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 5973dd8a-ac84-4b2d-a84c-15cd42b34d5b

📥 Commits

Reviewing files that changed from the base of the PR and between b6a6350 and bdde1d6.

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

Comment thread web/package.json
"@vitejs/plugin-react": "^5.1.1",
"rollup-plugin-visualizer": "6.0.3",
"typescript": "~5.9.3",
"typescript": "~6.0.3",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

TypeScript 6.0 release notes breaking changes

💡 Result:

TypeScript 6.0, released on March 23, 2026, serves as a significant transition release designed to prepare developers for TypeScript 7.0, which will introduce a native port of the compiler [1][2][3]. While TypeScript 6.0 maintains API compatibility with version 5.9, it introduces several breaking changes and deprecations [1][2]. Important Migration Note: To ease the transition, deprecations in TypeScript 6.0 can be temporarily ignored by setting "ignoreDeprecations": "6.0" in your tsconfig.json [1][2][4]. However, these options will be removed entirely in TypeScript 7.0 [1][5]. Key Breaking Changes and Default Shifts: - Strict Mode: "strict" now defaults to true [1][2][6]. - Module Format: "module" now defaults to "esnext" [3][6]. - ECMAScript Target: "target" now defaults to "es2025" [3][6]. - Module Resolution: "moduleResolution" now defaults to "bundler" [3]. The "classic" resolution strategy is removed entirely [6]. - Type Defaults: "types" now defaults to an empty array ([]) [1][2][6]. - Project Root: "rootDir" now defaults to the directory containing your tsconfig.json, rather than the computed source root [3][6][5]. - Library Imports: "noUncheckedSideEffectImports" now defaults to true [3][6]. - Import Settings: "esModuleInterop" and "allowSyntheticDefaultImports" are now always enabled [2][6]. Deprecated Features: The following features are deprecated and will be removed in TypeScript 7.0 [1][2]: - target: "es5" [1][2][6] - --moduleResolution node (use "node10" or "bundler" instead) [1][2][5] - --moduleResolution classic [1][2][6] - --downlevelIteration [2] - --baseUrl [2][5] - --esModuleInterop false and --allowSyntheticDefaultImports false [2] - --alwaysStrict false [2][5] - outFile [2][5] - asserts keyword on imports [2][5] - no-default-lib directives [2][5] Additionally, using AMD, UMD, or System module formats will now trigger compiler errors [6]. Specifying files via the command line when a tsconfig.json exists is also now an error [5].

Citations:


🏁 Script executed:

#!/bin/bash
# Description: Run typecheck with TypeScript 6.0.3 to verify compatibility

cd web && npm install && npm run typecheck

Repository: Pythoughts-labs/pythinker-code

Length of output: 890


TypeScript 6.x bump breaks web typecheck—fix baseUrl deprecation in tsconfig first.

TypeScript 6.0 introduces breaking changes/deprecations, and with "typescript": "~6.0.3" the web build fails in web/tsconfig.app.json(28,5) with TS5101 (“Option 'baseUrl' is deprecated… Specify 'ignoreDeprecations': '6.0' to silence”). Update web/tsconfig.app.json to migrate away from baseUrl (or add "ignoreDeprecations": "6.0" as an unblocker) so npm run typecheck / make check-web passes.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@web/package.json` at line 83, The tsconfig currently triggers TS5101 because
"baseUrl" is deprecated under TypeScript 6.0; open the project's
tsconfig.app.json and under "compilerOptions" either remove/migrate the
"baseUrl" usage (replace with explicit "paths" mappings if needed) or add the
temporary unblocker "ignoreDeprecations": "6.0" so the typecheck passes; ensure
you update the "baseUrl" key and/or add "ignoreDeprecations" in the same
"compilerOptions" object to resolve the error.

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

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 6.0.3
  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/web/typescript-6.0.3 branch from bdde1d6 to 4b72dd8 Compare June 9, 2026 20:49

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (1)
web/package.json (1)

83-83: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

TypeScript 6.0 upgrade blocked by deprecated baseUrl in tsconfig.

The past review identified that TypeScript 6.0 deprecates baseUrl, causing TS5101 error. The web/tsconfig.json still contains "baseUrl": ".", so npm run typecheck (used by make check-web) will fail. Fix the tsconfig before merging this bump:

  1. Recommended: Migrate away from baseUrl - the existing paths mappings can reference explicit locations
  2. Temporary unblocker: Add "ignoreDeprecations": "6.0" to compilerOptions (but this must be removed before TS 7.0)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@web/package.json` at line 83, The tsconfig currently uses the deprecated
"baseUrl" compiler option which breaks TypeScript 6.0; update the project's
tsconfig.json by removing "baseUrl" and adjusting any "paths" entries to use
explicit relative paths (or absolute package references) so imports still
resolve, or as a temporary unblocker add "ignoreDeprecations": "6.0" under
"compilerOptions" to suppress the TS5101 deprecation until you fully migrate;
ensure the change lets `npm run typecheck` (used by `make check-web`) succeed
and remove the temporary "ignoreDeprecations" before upgrading to TS 7.0.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@web/package.json`:
- Line 83: The tsconfig currently uses the deprecated "baseUrl" compiler option
which breaks TypeScript 6.0; update the project's tsconfig.json by removing
"baseUrl" and adjusting any "paths" entries to use explicit relative paths (or
absolute package references) so imports still resolve, or as a temporary
unblocker add "ignoreDeprecations": "6.0" under "compilerOptions" to suppress
the TS5101 deprecation until you fully migrate; ensure the change lets `npm run
typecheck` (used by `make check-web`) succeed and remove the temporary
"ignoreDeprecations" before upgrading to TS 7.0.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 93baca6d-0e75-4b0c-ac3c-32e08cfbee0d

📥 Commits

Reviewing files that changed from the base of the PR and between bdde1d6 and 4b72dd8.

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

@elkaix

elkaix commented Jun 10, 2026

Copy link
Copy Markdown
Member

Deferring the TypeScript 5.9 → 6.0 major bump. TS 6.0 deprecates baseUrl (TS5101) and breaks the vis/ and web/ builds; a major TS migration across the monorepo needs a deliberate, coordinated change rather than four split dependabot PRs. Closing and adding a Dependabot ignore for the TS major so this stops reopening weekly. We'll adopt 6.x as a dedicated migration.

@elkaix elkaix closed this Jun 10, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/web/typescript-6.0.3 branch June 10, 2026 19:10
elkaix added a commit that referenced this pull request Jun 10, 2026
TS 6.0 deprecates tsconfig `baseUrl` (TS5101) and breaks the vis/ and
web/ builds. Defer the 5.x→6.x major to a coordinated monorepo migration
instead of recurring split bot PRs (#96-#99); minor/patch still flow.
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