`vp migrate`: warn when the workspace uses Turborepo

Aberta
#3,298 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@voidzero-bot já está trabalhando nisso.

Desde 31/10/2026.

  • #3300 de @voidzero-bot — aberto

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
30/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
cli

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

- 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.
Linguagem predominante
TypeScript
Estrelas
6.6k
Forks
303
Merge médio
1d 4h
PRs com merge (30d)
224

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de voidzero-dev/vite-plus

Todas as issues de voidzero-dev/vite-plus

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.