Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 - #53

Closed
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/typescript-6.0.3
Closed

chore(deps-dev): bump typescript from 5.9.3 to 6.0.3#53
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/typescript-6.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 23, 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

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 23, 2026
@LiukScot

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github May 24, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@LiukScot

Copy link
Copy Markdown
Owner

@dependabot recreate

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/typescript-6.0.3 branch from c204280 to 282d4f9 Compare May 24, 2026 18:07

@claude claude 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.

Sintesi

TypeScript 6.0 introduce il nuovo errore TS2882 che richiede dichiarazioni di tipo per i side-effect import CSS. La build e il typecheck di @notes/web falliscono entrambi con 3 errori identici.

Root cause

In TypeScript 6.0, ogni import "...css" senza binding richiede una dichiarazione di modulo in un file .d.ts. In TS 5.x era silenziosamente ignorato (breaking change documentato nel blog TS 6.0).

File colpiti (non nel diff, ma rotti dal bump):

  • src/components/editor/Editor.tsx righe 1-2: import CSS di @blocknote/core e @blocknote/mantine
  • src/main.tsx riga 6: import di ./styles.css

Il repo non contiene nessun file .d.ts in apps/web/src/ e il tsconfig.json non referenzia vite/client, quindi i tipi per i moduli CSS non sono mai dichiarati.

Soluzione consigliata

Creare apps/web/src/vite-env.d.ts con:

/// <reference types="vite/client" />

vite/client dichiara gia tutti i moduli CSS come side-effect; con questa reference TS2882 scompare su tutti e tre gli import. Questo file viene generato automaticamente da vite create ma e assente in questo repo.

Alternativa di breve termine: hold su ^5.9 (vedi suggerimento inline su package.json).

Comment thread apps/web/package.json
"postcss": "^8.5.15",
"tailwindcss": "^4",
"typescript": "^5.7",
"typescript": "^6.0",

This comment was marked as low quality.

@LiukScot
LiukScot enabled auto-merge (squash) May 25, 2026 07:32
@LiukScot

Copy link
Copy Markdown
Owner

Chiudo: TypeScript 6 fallisce su side-effect import di .css files senza module declaration. Richiede aggiungere declare module '*.css' (o config tsconfig) in più punti. Non trivial, da affrontare in PR dedicato per migrazione TS 6.

@LiukScot LiukScot closed this May 25, 2026
auto-merge was automatically disabled May 25, 2026 08:46

Pull request was closed

@dependabot @github

dependabot Bot commented on behalf of github May 25, 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/typescript-6.0.3 branch May 25, 2026 08:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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