epic: typescript migration
@ChayanDass ci sta già lavorando.
Dal 18/3/2026.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Refactoring
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, react, typescript
- Ambito
- frontend
Direzione di ricerca
Inizia con le TypeScript Migration Guidelines di questo issue ed esamina tsconfig.json per comprendere l'ambito attuale della migrazione. L'issue è completa solo quando la codebase è stata migrata completamente e vengono seguite le linee guida elencate relative a TypeScript, linting, testing, dipendenze e compatibilità.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
TypeScript Migration Guidelines
Context:
We are migrating our codebase to TypeScript. This issue will remain open until the migration is fully complete. Please ensure that all new contributions follow these guidelines to maintain consistency and code quality.
File Types & Naming Conventions
- File Types:
- Use TypeScript files only: use
.tsxfor React components and.tsfor non-React components.
- Use TypeScript files only: use
- Filename Convention:
- Use kebab-case for filenames (lowercase only, words separated by hyphens).
Code Standards
- Component Style:
- All components must be functional.
- Do not use
prop-typesor.defaultPropsas these are unnecessary in a TypeScript codebase.
- Imports:
- All imports must include the
.jsextension.
- All imports must include the
- State Management & Bundles:
- Do not use
redux-bundlerorredux-bundler-react. - Do not add new bundles; if possible, create a hook or use context instead.
- Do not use
- Internationalization:
- Do not use
withTransation; useuseTranslationinstead.
- Do not use
Project Configuration
- TypeScript Setup:
- Add new TypeScript files to
tsconfig.json. - Include any dependent files that require type checking.
- If an existing file is too large or requires extensive changes, it can be temporarily ignored until someone can convert it properly.
- Add new TypeScript files to
Additional Guidelines for Contributors
- Linting & Formatting:
- Follow the project’s ESLint and Standard (we're trying to get to a point where we can lint using
aegir lint) configurations to maintain a consistent code style.
- Follow the project’s ESLint and Standard (we're trying to get to a point where we can lint using
- Testing:
- Include unit tests & e2e tests with 100% coverage for all new code. This ensures that our code remains robust during the migration.
- Documentation:
- Update or add documentation as necessary to reflect changes or new patterns introduced during the migration.
- Dependencies:
- Verify that any new third-party libraries include proper TypeScript type definitions.
- Backwards Compatibility:
- Avoid breaking changes. When updating legacy code, strive to maintain compatibility until the entire file can be migrated.
- Questions & Support:
- If you have any questions or need clarification on migration specifics, please ping @SgtPooki.
Your cooperation in following these guidelines is essential for a smooth transition to a fully TypeScript codebase. Thank you for your contributions!
- Lingua principale
- JavaScript
- Stelle
- 1.6k
- Fork
- 539
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ipfs/ipfs-webui
-
need/triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ipfs/ipfs-webui#2454 ·
-
Stories anonymous objectApertaneed/triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 45/100
ipfs/ipfs-webui#2391 · 3 commenti ·
-
effort/days exp/intermediate help wanted P2 status/blocked
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ipfs/ipfs-webui#2380 · 6 commenti · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
ipfs/ipfs-webui#2359 · 3 commenti · 1 reazione ·
-
feat: create shortcut component that can be used on any pageForse già presa @george-hub331 l’ha presa 588 giorni fa. ApertaP3
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ipfs/ipfs-webui#2350 · 2 commenti ·
Tutte le issue di ipfs/ipfs-webui
Issue simili
-
chore cloudflare-workers consistency d1 difficulty: easy documentation dx enhancement good first issue help wanted hygiene javascript maintenance priority: P3 seo
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Link Checker ReportApertaautomated issue report
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
MattiaPARRINELLO/backstage#70 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
untemps/svelte-palette#298 ·