From 0b85e1057e25afa45f6603521ecd739ebb182e48 Mon Sep 17 00:00:00 2001 From: StreamDemon Date: Wed, 1 Jul 2026 23:22:39 +0800 Subject: [PATCH 1/6] chore: scaffold Vite+ pnpm monorepo Baseline created via `vp create vite:monorepo` (pnpm workspace + root Vite+ config). Demo apps/packages removed; the rules package lands next. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_018ur5Eu6dC17feVQH5smrFw --- .gitignore | 34 + CLAUDE.md | 16 + README.md | 30 +- package.json | 23 + pnpm-lock.yaml | 2193 +++++++++++++++++++++++++++++++++++++++++++ pnpm-workspace.yaml | 23 + tsconfig.json | 9 + vite.config.ts | 13 + 8 files changed, 2340 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 CLAUDE.md create mode 100644 package.json create mode 100644 pnpm-lock.yaml create mode 100644 pnpm-workspace.yaml create mode 100644 tsconfig.json create mode 100644 vite.config.ts diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0ae25fb --- /dev/null +++ b/.gitignore @@ -0,0 +1,34 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/settings.json +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +# AI agent worktrees +.claude/worktrees/ + +# Session memory (local only) +.remember/ + +# Source rulebook — copyrighted (Palladium Books); kept local, never committed +docs/rules/*.pdf diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..362b82a --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,16 @@ + + +# Using Vite+, the Unified Toolchain for the Web + +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. + +Docs are local at `node_modules/vite-plus/docs` or online at https://viteplus.dev/guide/. + +## Review Checklist + +- [ ] Run `vp install` after pulling remote changes and before getting started. +- [ ] Run `vp check` and `vp test` to format, lint, type check and test changes. +- [ ] Check if there are `vite.config.ts` tasks or `package.json` scripts necessary for validation, run via `vp run