Files
ruoyi-plus-vben5-h/scripts/turbo-run
xingyu a4736a49f8 feat: migrate to Tailwind CSS v4 (#7614)
* chore: update deps

* feat: use jsonc/x language

* chore: update eslint 10.0

* fix: no-useless-assignment

* feat: add CLAUDE.md

* chore: ignore

* feat: claude

* fix: lint

* chore: suppot eslint v10

* fix: lint

* fix: lint

* fix: type check

* fix: unit test

* fix: Suggested fix

* fix: unit test

* chore: update stylelint v17

* chore: update all major deps

* fix:  echarts console warn

* chore: update vitest v4

* feat: add skills ignores

* chore: update deps

* chore: update deps

* fix: cspell

* chore: update deps

* chore: update tailwindcss v4

* chore: remove postcss config

* fix: no use catalog

* chore: tailwind v4 config

* fix: tailwindcss v4 sort

* feat: use eslint-plugin-better-tailwindcss

* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier

* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier

* fix(lint): resolve prettier and better-tailwindcss formatting conflicts

* fix(tailwind): update theme references and lint sources

* style(format): normalize apps docs and playground vue files

* style(format): normalize core ui-kit components

* style(format): normalize effects ui and layout components
2026-03-10 05:08:45 +08:00
..
2026-02-09 05:09:57 +08:00

@vben/turbo-run

turbo-run 是一个命令行工具,允许你在多个包中并行运行命令。它提供了一个交互式的界面,让你可以选择要运行命令的包。

特性

  • 🚀 交互式选择要运行的包
  • 📦 支持 monorepo 项目结构
  • 🔍 自动检测可用的命令
  • 🎯 精确过滤目标包

安装

pnpm add -D @vben/turbo-run

使用方法

基本语法:

turbo-run [script]

例如,如果你想运行 dev 命令:

turbo-run dev

工具会自动检测哪些包有 dev 命令,并提供一个交互式界面让你选择要运行的包。

示例

假设你的项目中有以下包:

  • @vben/app
  • @vben/admin
  • @vben/website

当你运行:

turbo-run dev

工具会:

  1. 检测哪些包有 dev 命令
  2. 显示一个交互式选择界面
  3. 让你选择要运行命令的包
  4. 使用 pnpm --filter 在选定的包中运行命令

注意事项

  • 确保你的项目使用 pnpm 作为包管理器
  • 确保目标包在 package.json 中定义了相应的脚本命令
  • 该工具需要在 monorepo 项目的根目录下运行