diff --git a/AGENTS.md b/AGENTS.md index bf19949dc..a7d2596ec 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -25,6 +25,7 @@ Monorepo (`pnpm` workspaces + `turbo`). ESM TypeScript; bundled with `tsdown`. P | `packages/vite` | `@vitejs/devtools-vite` | Nuxt UI for the Vite dev server's plugin pipeline and module transforms. Hub-mounted via `Plugin.devtools.setup`. Serves at `/__devtools-vite/`. | | `packages/oxc` | `@vitejs/devtools-oxc` | Oxc toolchain (oxlint/oxfmt) inspector, donated from [`yuyinws/oxc-inspector`](https://github.com/yuyinws/oxc-inspector) with full history; owned by Leo. Advertised by core as a built-in install launcher in the `viteplus` group (installed on demand), mounted via `DevToolsOxc()` from `@vitejs/devtools-oxc/vite` once present, plus a standalone CLI/client. Its Nuxt client is on the shared stack — UnoCSS via `presetDevToolsUI` and `@vitejs/devtools-ui` components (an oxc-cyan `primary` scale derived from the `BannerOxcDevTools` accent) — and is wired into the turbo build, `vue-tsc` typecheck (own `src/tsconfig.json` reference) and export-snapshot gates. It dogfoods its own oxlint/oxfmt on itself (run `pnpm -C packages/oxc lint`), whose formatting conflicts with the repo-wide antfu ESLint config, so it stays out of the shared ESLint run. | | `packages/vitest` | `@vitejs/devtools-vitest` | Slim launcher for the Vitest UI, in the `viteplus` dock group. A `launcher` dock (only shown when the project uses Vitest) installs `@vitest/ui` on demand, spawns `vitest --ui`, then swaps to an iframe. Serves its favicon at `/__devtools-vitest/`. | +| `packages/vite-task` | `@vitejs/devtools-vite-task` | Vite Plus task graph and dry-run cache inspector, mounted in the `viteplus` dock group. Serves at `/__devtools-vite-task/`. | | `packages/webext` | — | Browser extension scaffolding (ancillary). | Meta-introspection ("DevTools for the DevTools") is provided by the official upstream `@devframes/plugin-inspect`, mounted as a built-in via `createPluginFromDevframe` (replaces the former `packages/self-inspect`). @@ -38,10 +39,11 @@ flowchart TD hub --> devframe kit --> hub core --> kit - core --> rolldown & vite & vitest + core --> rolldown & vite & vitest & vite-task rolldown --> kit & ui vite --> kit & ui vitest --> kit + vite-task --> kit webext --> core ``` @@ -110,6 +112,7 @@ All node-side warnings and errors use structured diagnostics via [`nostics`](htt | `RDDT` | `packages/rolldown` | `packages/rolldown/src/node/diagnostics.ts` | | `VDT` | `packages/vite` | `packages/vite/src/node/diagnostics.ts` | | `VTDT` | `packages/vitest` | `packages/vitest/src/node/diagnostics.ts` | +| `VTKDT` | `packages/vite-task` | `packages/vite-task/src/node/diagnostics.ts` | | `OXDT` | `packages/oxc` | `packages/oxc/src/node/diagnostics.ts` | `DF` codes belong to the upstream devframe/hub projects — file new ones there. The `DF8xxx` sub-range covers `@devframes/hub` (DF8100–DF8199 docks, DF8200–DF8299 terminals, DF8300–DF8399 messages, DF8400–DF8499 commands). diff --git a/alias.ts b/alias.ts index 9c0891c10..eba4b133b 100644 --- a/alias.ts +++ b/alias.ts @@ -16,6 +16,7 @@ export const alias = { '@vitejs/devtools-kit': r('kit/src/index.ts'), '@vitejs/devtools-rolldown': r('rolldown/src/index.ts'), '@vitejs/devtools-vite': r('vite/src/index.ts'), + '@vitejs/devtools-vite-task': r('vite-task/src/index.ts'), '@vitejs/devtools-vitest': r('vitest/src/index.ts'), '@vitejs/devtools/internal': r('core/src/internal.ts'), '@vitejs/devtools/json-render': r('core/src/json-render.ts'), diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index a802b7b2d..e975b7910 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -44,6 +44,7 @@ const BuiltinDevToolsNav = [ { text: 'DevTools for Rolldown', link: '/rolldown/' }, { text: 'DevTools for Vite', link: '/vite/' }, { text: 'DevTools for Vitest', link: '/vitest/' }, + { text: 'DevTools for Vite Task', link: '/vite-task/' }, { text: 'DevTools for Oxc', link: '/oxc/' }, ] @@ -123,6 +124,7 @@ export default extendConfig(withMermaid(defineConfig({ { text: 'DevTools for Rolldown', link: '/rolldown/' }, { text: 'DevTools for Vite', link: '/vite/' }, { text: 'DevTools for Vitest', link: '/vitest/' }, + { text: 'DevTools for Vite Task', link: '/vite-task/' }, { text: 'DevTools for Oxc', link: '/oxc/' }, ], }, @@ -167,6 +169,14 @@ export default extendConfig(withMermaid(defineConfig({ link: `/errors/${code}`, })), }, + { + text: 'Vite Task DevTools (VTKDT)', + collapsed: true, + items: listErrorCodes('VTKDT').map(code => ({ + text: code, + link: `/errors/${code}`, + })), + }, ], }, ], diff --git a/docs/errors/VTKDT0001.md b/docs/errors/VTKDT0001.md new file mode 100644 index 000000000..7959265c7 --- /dev/null +++ b/docs/errors/VTKDT0001.md @@ -0,0 +1,25 @@ +--- +outline: deep +--- + +# VTKDT0001: Vite Plus Executable Not Found + +## Message + +> Local Vite Plus executable not found at "`{executable}`". + +## Cause + +The task inspector could not find the workspace's local Vite Plus executable in `node_modules/.bin`. + +## Example + +Opening the task inspector in a workspace where `vite-plus` has not been installed. + +## Fix + +Install `vite-plus` 1.6.0 or newer in the workspace root. + +## Source + +- [`packages/vite-task/src/node/tasks.ts`](https://github.com/vitejs/devtools/blob/main/packages/vite-task/src/node/tasks.ts) — `runJson()` throws this when the local executable is missing. diff --git a/docs/errors/VTKDT0002.md b/docs/errors/VTKDT0002.md new file mode 100644 index 000000000..a0ff9285e --- /dev/null +++ b/docs/errors/VTKDT0002.md @@ -0,0 +1,25 @@ +--- +outline: deep +--- + +# VTKDT0002: Unsupported Vite Plus Version + +## Message + +> Vite Plus `{version}` does not meet the required version >=1.6.0. + +## Cause + +The local Vite Plus version is older than the task inspector's required version, 1.6.0. + +## Example + +Opening the task inspector in a workspace using Vite Plus 1.5.0. + +## Fix + +Update the workspace's `vite-plus` dependency to 1.6.0 or newer. + +## Source + +- [`packages/vite-task/src/node/tasks.ts`](https://github.com/vitejs/devtools/blob/main/packages/vite-task/src/node/tasks.ts) — `runJson()` throws this when the local version is unsupported. diff --git a/docs/errors/VTKDT0003.md b/docs/errors/VTKDT0003.md new file mode 100644 index 000000000..28bc9c66e --- /dev/null +++ b/docs/errors/VTKDT0003.md @@ -0,0 +1,25 @@ +--- +outline: deep +--- + +# VTKDT0003: Vite Plus Command Failed + +## Message + +> Failed to run "`{command}`": `{reason}` + +## Cause + +A Vite Plus command failed, or the inspector could not recognize the output of `vp --version`. + +## Example + +Loading the task graph when a workspace task configuration causes `vp run --json` to fail. + +## Fix + +Check the local Vite Plus installation and workspace task configuration. Run the command shown in the diagnostic from the workspace root to inspect its output. + +## Source + +- [`packages/vite-task/src/node/tasks.ts`](https://github.com/vitejs/devtools/blob/main/packages/vite-task/src/node/tasks.ts) — `execute()` throws this on command failure; `runJson()` also throws it for unrecognized version output. diff --git a/docs/errors/VTKDT0004.md b/docs/errors/VTKDT0004.md new file mode 100644 index 000000000..42dbdf88a --- /dev/null +++ b/docs/errors/VTKDT0004.md @@ -0,0 +1,25 @@ +--- +outline: deep +--- + +# VTKDT0004: Invalid Vite Plus JSON + +## Message + +> Vite Plus returned invalid JSON for "`{command}`". + +## Cause + +The inspector could not parse the command's standard output as JSON. + +## Example + +Loading the task graph while workspace configuration prints additional text to standard output. + +## Fix + +Check the Vite Plus version and ensure the workspace configuration does not print to standard output. + +## Source + +- [`packages/vite-task/src/node/tasks.ts`](https://github.com/vitejs/devtools/blob/main/packages/vite-task/src/node/tasks.ts) — `runJson()` throws this when JSON parsing fails. diff --git a/docs/errors/VTKDT0005.md b/docs/errors/VTKDT0005.md new file mode 100644 index 000000000..9112de56f --- /dev/null +++ b/docs/errors/VTKDT0005.md @@ -0,0 +1,25 @@ +--- +outline: deep +--- + +# VTKDT0005: Invalid Task Name + +## Message + +> Invalid task name "`{task}`". + +## Cause + +The requested task is empty, starts with a dash, or is absent from the task graph. + +## Example + +Requesting a run plan for a task that has been removed from the workspace configuration. + +## Fix + +Refresh the task graph and select a non-empty task name that does not start with a dash. + +## Source + +- [`packages/vite-task/src/node/tasks.ts`](https://github.com/vitejs/devtools/blob/main/packages/vite-task/src/node/tasks.ts) — `loadRunPlan()` throws this when the task name is invalid or missing from the graph. diff --git a/docs/errors/index.md b/docs/errors/index.md index 888566601..1113f60bf 100644 --- a/docs/errors/index.md +++ b/docs/errors/index.md @@ -9,7 +9,7 @@ Vite DevTools uses structured diagnostics to surface actionable warnings and err ## How error codes work - Codes follow the pattern **prefix + 4-digit number** (e.g., `DF0001`, `DTK0008`, `RDDT0002`). -- Each prefix maps to a package: `DTK` for `@vitejs/devtools` (Vite-specific pieces), `RDDT` for `@vitejs/devtools-rolldown`, `VDT` for `@vitejs/devtools-vite`, `VTDT` for `@vitejs/devtools-vitest`. The framework-neutral `devframe` package documents its own `DF`-prefixed codes at the [Devframe docs site](https://devfra.me/errors/). +- Each prefix maps to a package: `DTK` for `@vitejs/devtools` (Vite-specific pieces), `RDDT` for `@vitejs/devtools-rolldown`, `VDT` for `@vitejs/devtools-vite`, `VTDT` for `@vitejs/devtools-vitest`, `VTKDT` for `@vitejs/devtools-vite-task`. The framework-neutral `devframe` package documents its own `DF`-prefixed codes at the [Devframe docs site](https://devfra.me/errors/). - Every error page includes the cause, recommended fix, and a reference to the source file that emits it. - The diagnostics system is powered by [`nostics`](https://github.com/vercel-labs/nostics), which provides structured diagnostic codes with docs URLs and ANSI-formatted console output. @@ -71,6 +71,18 @@ Emitted by `@vitejs/devtools-vitest`. | [VTDT0001](./VTDT0001) | error | Vitest UI Install Failed | | [VTDT0002](./VTDT0002) | error | Vitest UI Server Unreachable | +## Vite Task DevTools (VTKDT) + +Emitted by `@vitejs/devtools-vite-task`. + +| Code | Level | Title | +|------|-------|-------| +| [VTKDT0001](./VTKDT0001) | error | Vite Plus Executable Not Found | +| [VTKDT0002](./VTKDT0002) | error | Unsupported Vite Plus Version | +| [VTKDT0003](./VTKDT0003) | error | Vite Plus Command Failed | +| [VTKDT0004](./VTKDT0004) | error | Invalid Vite Plus JSON | +| [VTKDT0005](./VTKDT0005) | error | Invalid Task Name | + ## Oxc DevTools (OXDT) Emitted by `@vitejs/devtools-oxc`. diff --git a/docs/vite-task/index.md b/docs/vite-task/index.md new file mode 100644 index 000000000..867f3fe64 --- /dev/null +++ b/docs/vite-task/index.md @@ -0,0 +1,23 @@ +--- +outline: deep +--- + +# DevTools for Vite Task + +DevTools for Vite Task (`@vitejs/devtools-vite-task`) lets you explore your Vite+ task graph and track down cache misses. + +## What it does + +Select a task from the list or graph to see its run plan. DevTools builds the plan with `vp run --dry-run`. + +- **Task Flow** — follow the planned order of tasks and expand a task to inspect its steps. When a cached run is available, its duration appears next to the task or step. +- **Commands** — inspect each command and its cache status. **Inputs** and **Outputs** list the paths recorded for the cached run. Look under **Changes** to see which files or settings have changed since then. +- **Dependencies** — see what the selected task depends on and which tasks depend on it. Follow a link to inspect a related task. + +After editing an input, click **Refresh tasks** to see how the change affects the plan. + +## Getting started + +Use `vite-plus` v1.6.0 or later in your workspace root. To set up Vite DevTools, follow [Getting Started](/guide/). + +In the DevTools dock, open **Vite Task** under **Vite+**. If you see **Install @vitejs/devtools-vite-task**, click it and restart your dev server once the installation finishes. diff --git a/packages/core/assets/vite-task.svg b/packages/core/assets/vite-task.svg new file mode 100644 index 000000000..931b151b3 --- /dev/null +++ b/packages/core/assets/vite-task.svg @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/core/package.json b/packages/core/package.json index 40e919212..fa70811ad 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -49,6 +49,7 @@ "@vitejs/devtools-oxc": "workspace:^", "@vitejs/devtools-rolldown": "workspace:^", "@vitejs/devtools-vite": "workspace:^", + "@vitejs/devtools-vite-task": "workspace:^", "@vitejs/devtools-vitest": "workspace:^", "vite": "*" }, @@ -62,6 +63,9 @@ "@vitejs/devtools-vite": { "optional": true }, + "@vitejs/devtools-vite-task": { + "optional": true + }, "@vitejs/devtools-vitest": { "optional": true } diff --git a/packages/core/src/node/plugin-options.ts b/packages/core/src/node/plugin-options.ts index 9af9dddc9..41ce30304 100644 --- a/packages/core/src/node/plugin-options.ts +++ b/packages/core/src/node/plugin-options.ts @@ -42,7 +42,7 @@ export interface ViteDevToolsUiOptions { dockPreferences?: DevToolsDockPreferences } -export type DevToolsBuiltinIntegrationId = 'rolldown' | 'vite' | 'vitest' | 'oxc' +export type DevToolsBuiltinIntegrationId = 'rolldown' | 'vite' | 'vitest' | 'vite-task' | 'oxc' export interface DevToolsBuiltinOptions { /** @@ -64,7 +64,7 @@ export interface DevToolsBuiltinOptions { */ inspect?: boolean /** - * Built-in integrations (Rolldown, Vite, Vitest, Oxc), including their install launchers. + * Built-in integrations (Rolldown, Vite, Vitest, Vite Task, Oxc), including their install launchers. * * @default true */ diff --git a/packages/core/src/node/plugins/__tests__/builtin.test.ts b/packages/core/src/node/plugins/__tests__/builtin.test.ts index 4468fecb7..672c0ac7f 100644 --- a/packages/core/src/node/plugins/__tests__/builtin.test.ts +++ b/packages/core/src/node/plugins/__tests__/builtin.test.ts @@ -32,7 +32,7 @@ describe('resolveBuiltinOptions', () => { describe('devToolsBuiltin', () => { it('skips disabled integrations', async () => { vi.mocked(isPackageExists).mockClear() - await DevToolsBuiltin({ builtinDevTools: { integrations: { vitest: false, oxc: false } } }) + await DevToolsBuiltin({ builtinDevTools: { integrations: { 'vitest': false, 'vite-task': false, 'oxc': false } } }) expect(vi.mocked(isPackageExists).mock.calls.map(([pkg]) => pkg)) .toEqual(['@vitejs/devtools-rolldown', '@vitejs/devtools-vite']) diff --git a/packages/core/src/node/plugins/__tests__/index.test.ts b/packages/core/src/node/plugins/__tests__/index.test.ts index 27fec17f0..e5c84cdf6 100644 --- a/packages/core/src/node/plugins/__tests__/index.test.ts +++ b/packages/core/src/node/plugins/__tests__/index.test.ts @@ -24,11 +24,12 @@ describe('devTools', () => { await DevTools({ cwd }) - expect(vi.mocked(isPackageExists)).toHaveBeenCalledTimes(4) + expect(vi.mocked(isPackageExists)).toHaveBeenCalledTimes(5) expect(vi.mocked(isPackageExists).mock.calls).toEqual([ ['@vitejs/devtools-rolldown', { paths: [resolvedCwd] }], ['@vitejs/devtools-vite', { paths: [resolvedCwd] }], ['@vitejs/devtools-vitest', { paths: [resolvedCwd] }], + ['@vitejs/devtools-vite-task', { paths: [resolvedCwd] }], ['@vitejs/devtools-oxc', { paths: [resolvedCwd] }], ]) }) diff --git a/packages/core/src/node/plugins/builtin.ts b/packages/core/src/node/plugins/builtin.ts index 73f8a4a92..e35e1b3bf 100644 --- a/packages/core/src/node/plugins/builtin.ts +++ b/packages/core/src/node/plugins/builtin.ts @@ -79,6 +79,18 @@ const BUILTIN_LAUNCHER_INTEGRATIONS: BuiltinLauncherIntegration[] = [ // launcher lands on a clean "Start Vitest UI" after the restart. install: ['vitest', `@vitejs/devtools-vitest@^${version}`, '@vitest/ui'], }, + { + id: 'vite-task', + pkg: '@vitejs/devtools-vite-task', + title: 'Vite Task', + icon: `${DEVTOOLS_ASSETS_BASE}vite-task.svg`, + groupId: 'viteplus', + load: () => + // eslint-disable-next-line ts/ban-ts-comment + // @ts-ignore optional integration, resolved at runtime only + import('@vitejs/devtools-vite-task/vite').then(m => m.DevToolsViteTaskUI()), + install: [`@vitejs/devtools-vite-task@^${version}`], + }, { id: 'oxc', pkg: '@vitejs/devtools-oxc', @@ -114,7 +126,7 @@ export function resolveBuiltinOptions( /** * Set up the built-in DevTools dock entries (Terminals, Messages, Inspector) and - * the built-in integration launchers (Rolldown, Vite, Vitest, Oxc). + * the built-in integration launchers (Rolldown, Vite, Vitest, Vite Task, Oxc). */ export async function DevToolsBuiltin(options: { cwd?: string diff --git a/packages/rolldown/src/app/components/display/ExpandableContainer.ts b/packages/rolldown/src/app/components/display/ExpandableContainer.ts new file mode 100644 index 000000000..e76237070 --- /dev/null +++ b/packages/rolldown/src/app/components/display/ExpandableContainer.ts @@ -0,0 +1 @@ +export { default } from '@vitejs/devtools-ui/components/Display/DisplayExpandableContainer.vue' diff --git a/packages/rolldown/src/app/styles/global.css b/packages/rolldown/src/app/styles/global.css index 9adbb432b..415016f97 100644 --- a/packages/rolldown/src/app/styles/global.css +++ b/packages/rolldown/src/app/styles/global.css @@ -1,4 +1,5 @@ @import '@vitejs/devtools-ui/styles/global.css'; +@import '@vitejs/devtools-ui/styles/floating-vue.css'; summary::-webkit-details-marker { display: none; @@ -28,43 +29,6 @@ summary::-webkit-details-marker { --uno: font-mono; } -/* Overrides Floating Vue */ -.v-popper--theme-dropdown .v-popper__inner, -.v-popper--theme-tooltip .v-popper__inner { - --uno: bg-tooltip color-base font-sans rounded border border-base shadow dark:shadow-2xl; - box-shadow: 0 6px 30px #0000001a; -} - -.v-popper--theme-tooltip .v-popper__inner { - --uno: text-sm; -} - -.v-popper--theme-dropdown .v-popper__inner { - max-width: 50vw; - max-height: 50vh; - overflow: auto; -} - -.v-popper--theme-tooltip .v-popper__arrow-inner, -.v-popper--theme-dropdown .v-popper__arrow-inner { - visibility: visible; - --uno: border-solid border-white dark:border-#111; -} - -.v-popper--theme-tooltip .v-popper__arrow-outer, -.v-popper--theme-dropdown .v-popper__arrow-outer { - --uno: border-solid border-base; -} - -.v-popper--theme-tooltip.v-popper--shown, -.v-popper--theme-tooltip.v-popper--shown * { - transition: none !important; -} - -.v-popper__popper--shown { - overflow: visible !important; -} - /* Monaco */ .monaco-scrollable-element > .scrollbar { background: transparent !important; diff --git a/packages/rolldown/src/nuxt.config.ts b/packages/rolldown/src/nuxt.config.ts index 658044028..a9e0dfb7f 100644 --- a/packages/rolldown/src/nuxt.config.ts +++ b/packages/rolldown/src/nuxt.config.ts @@ -145,6 +145,7 @@ export default defineNuxtConfig({ // (see the root tsconfig); keep them out of rolldown's // workspace-wide Nuxt typecheck so they resolve under their own aliases. '../../../vite/**/*', + '../../../vite-task/**/*', '../../../oxc/**/*', ], }, diff --git a/packages/ui/package.json b/packages/ui/package.json index 6c753ae96..bf11d52a6 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -40,6 +40,7 @@ "types": "./src/unocss/shortcuts.ts", "import": "./src/unocss/shortcuts.ts" }, + "./styles/floating-vue.css": "./src/styles/floating-vue.css", "./styles/global.css": "./src/styles/global.css", "./components/*": { "types": "./src/components/*.vue", diff --git a/packages/ui/src/components/Display/DisplayExpandableContainer.stories.ts b/packages/ui/src/components/Display/DisplayExpandableContainer.stories.ts new file mode 100644 index 000000000..1491c6464 --- /dev/null +++ b/packages/ui/src/components/Display/DisplayExpandableContainer.stories.ts @@ -0,0 +1,20 @@ +import type { Meta, StoryObj } from '@storybook/vue3-vite' +import DisplayExpandableContainer from './DisplayExpandableContainer.vue' + +const meta = { + title: 'Display/DisplayExpandableContainer', +} satisfies Meta + +export default meta + +export const LongList: StoryObj<{ list: string[] }> = { + args: { list: Array.from({ length: 48 }, (_, i) => `module-${i + 1}.js`) }, + render: args => ({ + components: { DisplayExpandableContainer }, + setup: () => ({ args }), + template: ` + +
{{ item }}
+
`, + }), +} diff --git a/packages/rolldown/src/app/components/display/ExpandableContainer.vue b/packages/ui/src/components/Display/DisplayExpandableContainer.vue similarity index 100% rename from packages/rolldown/src/app/components/display/ExpandableContainer.vue rename to packages/ui/src/components/Display/DisplayExpandableContainer.vue diff --git a/packages/ui/src/components/Flowmap/FlowmapExpandable.vue b/packages/ui/src/components/Flowmap/FlowmapExpandable.vue index c6467ca27..a3fc0f4d4 100644 --- a/packages/ui/src/components/Flowmap/FlowmapExpandable.vue +++ b/packages/ui/src/components/Flowmap/FlowmapExpandable.vue @@ -2,6 +2,7 @@ import FlowmapNode from './FlowmapNode.vue' withDefaults(defineProps<{ + label?: string expandable?: boolean classRootNode?: string activeStart?: boolean @@ -17,7 +18,7 @@ const expanded = defineModel('expanded', { required: false, default: tr