chore: preparar TS 6.0 (typescript-eslint 8.63.0 + module ESNext)#37
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contexto
O TypeScript 7.0 chegou ao GA (compilador nativo em Go, ~10x mais rápido), mas não expõe API programática estável até o 7.1. A Microsoft recomenda adotar o TypeScript 6.0 como etapa de transição (última versão baseada em JS, que mantém a API do compilador) para desriscar a ida ao 7.0.
Este PR prepara os pacotes compartilhados para consumidores no TS 6.0.
Mudanças
eslint-config:@typescript-eslint/*^8.57.2 → ^8.63.0. A janela de suporte do 8.63.0 (>=4.8.4 <6.1.0) inclui o TS 6.0.x; o 8.57/8.59 anterior era limitado a<5.9.tsconfig/base.json:moduleES2022 → ESNext. Alinha com o default do TS 6.0 e aposenta o override local que o pacoteevidence(no repoplatform) mantinha por causa de import attributes.Verificação
pnpm turbo run lint typecheck test— 4/4 tasks OK.Release
Versionamento unificado (semantic-release): o
fix+featdisparam um único ciclo que republica todos os pacotes não-privados. Consumido noplatformlogo em seguida (PR paralelo da migração TS 6.0).