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

Warn on certain other tooling config files

Aperta
#2,546 1 commento 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
vite

Direzione di ricerca

Parti dall’entry point vp migrate e analizza come vengono rilevati i file di configurazione esistenti di Vite+, Vitest, tsdown, Oxlint e Oxfmt. Esamina le indicazioni di migrazione elencate per Jest, Rolldown, Rollup e possibilmente Biome. Il lavoro è completato quando le configurazioni rilevate producono gli avvisi di migrazione appropriati e indirizzano gli utenti alle istruzioni pertinenti.

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

Descrizione

migration pending triage
Description

Currently Vite+ migrates the following first-party tool configurations automatically:

  • Vite (vite.config.ts)
  • Vitest (vitest.config.ts)
  • tsdown (tsdown.config.ts)
  • Oxlint (.oxlintrc.json)
  • Oxfmt (.oxfmtrc.json)

As well as the following third-party tool configurations:

  • ESLint (via @oxlint/migrate)
  • Prettier (via oxfmt --migrate flow)
  • tsup (via tsdown-migrate)

However, this still leaves certain tools unmigrated, which may have a Vite+-native replacement.

Suggested solution

The following tools, if they and their config files are detected in the current project, will trigger a warning during vp migrate, pointing to each respective tool's instructions for migrating where possible:

  • Jest / vite-jest -> Vitest
    • vite-jest is 5 years old so it's probably going to be harder to migrate for most people.
  • Rolldown -> Vite or tsdown
    • Most users of Rolldown directly are likely looking for something like tsdown. The Vite mention is for if the user is a frontend library developer, in which case Vite(+)'s Library Mode probably makes more sense.
  • Rollup -> Rolldown or tsdown
    • I do not believe there is a direct Rollup -> tsdown migration guide, it probably makes sense to point to Rolldown's instead, but then it runs into the above condition of migrating off of direct Rolldown usage.
  • Biome? -> oxlint/oxfmt
    • This one is a bit of a stretch considering their current plugins API is different on a fundamental level, not to mention their parser being different, so I'm probably going to drop this in the final implementation.
Alternative

Not letting the user know. This means the user might be using an entirely different set of tools which may behave differently, partially defeating the point of the unified toolchain vision of Vite+.

Additional context

I'm thinking of working on this, it's been a thing on my mind for a couple of months now.

Validations
  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.
Lingua principale
Rust
Stelle
6k
Fork
274
Merge medio
1g 11h
PR unite (30g)
206

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 voidzero-dev/vite-plus

Tutte le issue di voidzero-dev/vite-plus

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.