Skip to content

chore(deps-dev): bump typescript from 5.9.3 to 7.0.2 - #11

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2
Open

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 15, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 5.9.3 to 7.0.2.

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.1 RC

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
Maintainer changes

This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.


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 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
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 added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 15, 2026
O TS 7 exige declaracao para import de efeito colateral de arquivo nao-TS.
Sem isto o typecheck quebra com TS2882 em src/showcase/main.tsx nas duas
linhas que importam CSS.
@Samuelf27 Samuelf27 closed this Aug 15, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 15, 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.

@Samuelf27 Samuelf27 reopened this Aug 15, 2026
@Samuelf27

Copy link
Copy Markdown
Owner

Diagnostico e correcao proposta

Este PR falhava com:

src/showcase/main.tsx(4,8): error TS2882: Cannot find module or type declarations
  for side-effect import of '../styles.css'.
src/showcase/main.tsx(5,8): error TS2882: ... './showcase.css'.

Nao e problema de peer dependency. Este repositorio nao usa typescript-eslint, entao aqui nao existe o conflito typescript <6.1.0 que trava outros projetos. O bloqueio e outro: o TypeScript 7 passou a exigir declaracao de tipo para import de efeito colateral de arquivo nao-TS.

Correcao

Adicionei o commit 7503e341 criando src/css.d.ts:

declare module '*.css';

O tsconfig.json tem "include": ["src"], entao o arquivo e capturado. O bundler (tsup/Vite) continua resolvendo o CSS de fato — a declaracao existe so para o compilador saber que o modulo e valido e nao exporta nada.

Situacao atual

O PR ficou com conflito de lockfile, porque #3 (postcss) e #10 (jest-axe) foram mergeados depois. O CI tambem nao re-disparou para o meu commit.

⚠️ Atencao ao rodar @dependabot rebase: o Dependabot recria a propria branch e o commit 7503e341 provavelmente sera descartado. Se isso acontecer, basta recriar o src/css.d.ts com o conteudo acima — o diagnostico continua valendo.

Como e bump de devDependency, nao ha urgencia. Sugiro tratar depois dos PRs de producao.

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