`vp migrate`: warn when the workspace uses Turborepo

Aperta
#3,298 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@voidzero-bot ci sta già lavorando.

Dal 31/10/2026.

  • #3300 di @voidzero-bot — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

Check PR #3275 to see where vp migrate emits warnings for rollup, rolldown and jest. Add a similar guard detecting turbo.json or a turbo dependency, printing the suggested warning. Verify with the existing migrate CLI tests.

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

Descrizione

- P3: minor bug enhancement triage: fix verified
Description

vp migrate (1.4.0) on our Turborepo monorepo finished with exit 0 and no mention of turbo. It left turbo.json, 38 per-package turbo.json files and 25 root scripts that call turbo run, which is fine, but nothing says that task orchestration and caching weren't migrated, or that vp run won't pick up anything from turbo.json. Someone skimming the output could reasonably think the repo is now on Vite Task.

Suggested solution

A warning like the ones #3275 added for rollup, rolldown and jest, when turbo.json or a turbo dependency is found, pointing to the run and cache guides. Something like:

▲ Turborepo detected (turbo.json). Task orchestration was not migrated; see https://viteplus.dev/guide/run
Alternative

A full turbo.json to run.tasks conversion, but that was declined in voidzero-dev/vite-task#206, and a warning covers the confusion.

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
6.5k
Fork
297
Merge medio
1g 1h
PR unite (30g)
249

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.