microsoft / microsoft/TypeScript

Review the project setup experience

Aperta
#41,580 13 commenti 35 reazioni 1 assegnatario Vedi su GitHub

@DanielRosenwasser ci sta già lavorando.

Dal 18/11/2020.

Needs Proposal Rescheduled Suggestion
Lingua principale
Go
Stelle
111k
Fork
14.3k
Merge medio
2g 4h
PR unite (30g)
132

Descrizione

Today, tsc --init creates a big-ol' file that is super intimidating. We try to provide comments and blocks of sections to give people a clear separation of config concerns. We also provide a link to https://aka.ms/tsconfig.json.

We also have a belief that most people don't even use tsc --init.

That said, there are problems, and tsc --init doesn't make it totally clear what the "best practices" are for starting a project. Things that are missing:

  • Project layout guidance (e.g. src, tsconfig naming)
  • "well known"/"blessed" flags as opposed to just ONE BIG PAGE of ALL THE FLAGS 😨
  • Easy way to find the information regardless of whether a user used tsc --init

In short:

  • Docs for tsconfig.json "getting started"
  • Link to that in generated tsconfig.json
  • Re-evaluate generated tsconfig content.

Guida per i contributori

Apri la guida per i contributori

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.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.