Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

deps: hold typescript at 6 until typescript-eslint supports 7

Aperta
#235 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
15/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript
Ambito
build-system

Direzione di ricerca

Nothing can change yet: the blocker is upstream. Read the typescript pin in package.json and the eslint hold in .github/dependabot.yml, then follow the typescript-eslint issue linked in the body. Done means the unblock criteria hold and the bump passes pnpm lint, pnpm typecheck, pnpm test and pnpm build.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

dependencies javascript low-priority revisit

package.json pins typescript: "^6". Dependabot's monthly dev-dependencies group PR proposes ^7, and it cannot land: typescript-eslint does not support TypeScript 7 yet.

What breaks

With [email protected] installed, pnpm lint dies before ESLint evaluates a single file:

typescript-eslint does not support TS 7.0.
Please see https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/#running-side-by-side-with-typescript-6.0 to run typescript-eslint using the TS 6 API.

Oops! Something went wrong! :(
ESLint: 9.39.4
Error: typescript-eslint does not support TS 7.0.
    at Object.<anonymous> (node_modules/.pnpm/[email protected]_.../typescript-eslint/dist/index.js:52:11)
 ELIFECYCLE  Command failed with exit code 2.

It's a hard throw at module load in typescript-eslint, reached through eslint-config-next. That fails the website workflow's check job and, because the Pages build runs the same script, the Cloudflare Pages deployment too.

Upstream tracking

Decision

Stay on TypeScript 6 for now. #231 is parked as a draft rather than closed so the other 11 bumps in that group stay reviewable.

This is the same shape as the eslint major hold already recorded in .github/dependabot.yml — a transitive peer that hasn't caught up yet.

Unblock criteria

  1. typescript-eslint ships a release supporting TS >= 7.
  2. eslint-config-next depends on a version of it that does.

Then: bump typescript to ^7, run pnpm lint, pnpm typecheck, pnpm test, pnpm build, and undraft/re-run #231 (or let Dependabot open a fresh group PR).

Optional, if the recurring PR noise is annoying

Add a version-update:semver-major ignore for typescript in .github/dependabot.yml, next to the existing eslint entry. Not done here — it would also silence the signal that the upgrade is ready.

Lingua principale
TypeScript
Stelle
3
Fork
0
Merge medio
13h 30m
PR unite (30g)
64

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di decdn/website

Tutte le issue di decdn/website

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.