diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f78b139d2..c43969d75f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -160,12 +160,12 @@ jobs: path: ./packages/cli/dist if-no-files-found: error - - name: Upload cli skills (docs for agent integration) + - name: Upload cli docs uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: ${{ matrix.settings.target == 'x86_64-unknown-linux-gnu' }} with: - name: cli-skills - path: ./packages/cli/skills + name: cli-docs + path: ./packages/cli/docs if-no-files-found: error - name: Upload LICENSE files @@ -210,11 +210,11 @@ jobs: pattern: cli merge-multiple: true - - name: Download cli skills + - name: Download cli docs uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 with: - path: packages/cli/skills - pattern: cli-skills + path: packages/cli/docs + pattern: cli-docs merge-multiple: true - name: Download cli binding diff --git a/packages/cli/.gitignore b/packages/cli/.gitignore index 1ff8aa7bb3..ad5190c5d2 100644 --- a/packages/cli/.gitignore +++ b/packages/cli/.gitignore @@ -1,4 +1,4 @@ /npm /artifacts /LICENSE -/skills/vite-plus/docs +/docs diff --git a/packages/cli/AGENTS.md b/packages/cli/AGENTS.md index 15b47ef93e..ef041769ab 100644 --- a/packages/cli/AGENTS.md +++ b/packages/cli/AGENTS.md @@ -4,17 +4,12 @@ This project is using Vite+, a unified toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Vite+ wraps runtime management, package management, and frontend tooling in a single global CLI called `vp`. Vite+ is distinct from Vite, and it invokes Vite through `vp dev` and `vp build`. Run `vp help` to print a list of commands and `vp --help` for information about a specific command. -## Common Pitfalls - -- **Running scripts:** Vite+ built-in commands (`vp lint`, `vp dev`, `vp build`, `vp test`, etc.) always run the Vite+ built-in tool. Use `vp run