Exact typescript version causes installed package size to be very large
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 35/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- tooling
Direzione di ricerca
Start by reviewing the dependency declarations in the repository's package.json and PR #89, then inspect why separate copies appear under node_modules/@openapi-codegen/typescript and node_modules/@openapi-codegen/cli. Done means confirming that a looser TypeScript range works for the project and avoids unnecessary duplicate installations without breaking the existing package behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In https://github.com/fabien0102/openapi-codegen/pull/89 it looks like the typescript version was bumped from "^4.6.2" to an exact version ("4.8.2"). It's unclear from the PR whether openapi-codegen requires that specific version of typescript but I suspect it does not.
The typescript package is ~65MB, and we now have three copies of it in our node_modules - one from our own package.json, one under node_modules/@openapi-codegen/typescript/node_modules, and one under node_modules/@openapi-codegen/cli/node_modules.
Would it be possible to relax the typescript dependency version to be looser, making it less likely that we'll end up with multiple copies of this package installed?
- Lingua principale
- TypeScript
- Stelle
- 634
- Fork
- 83
- 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 fabien0102/openapi-codegen
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fabien0102/openapi-codegen#343 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fabien0102/openapi-codegen#342 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
fabien0102/openapi-codegen#356 ·
-
update dependencies & removed unused deprecatedForse già presa @el-j l’ha presa 1 giorno fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
fabien0102/openapi-codegen#354 ·
-
deepMerge mutates its arguments, corrupting request payloads across callsForse già presa @richard-willis-chevin l’ha presa 45 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
fabien0102/openapi-codegen#349 ·
Tutte le issue di fabien0102/openapi-codegen
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
siyuan-note/siyuan#20313 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
alunduil/projects-v2-sync#14 ·
-
Service process inherits the caller's cwd at first use, holding that folder open on Windows (EBUSY)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
DevTools page styles leak into the host app in developmentForse già presa @onmax l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
nuxt-modules/better-auth#567 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno