From f978105249359b4f1f9c257c76587c7ca52d79a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Pradel?= Date: Fri, 11 Sep 2026 12:50:13 +0200 Subject: [PATCH] feat: indexer app setup --- AGENTS.md | 27 +++ apps/indexer/.gitignore | 4 + apps/indexer/package.json | 16 ++ apps/indexer/src/index.ts | 5 + apps/indexer/tsconfig.json | 20 ++ apps/indexer/vite.config.ts | 3 + pnpm-lock.yaml | 426 +++++++++++++++++++++++++++++++++--- 7 files changed, 473 insertions(+), 28 deletions(-) create mode 100644 AGENTS.md create mode 100644 apps/indexer/.gitignore create mode 100644 apps/indexer/package.json create mode 100644 apps/indexer/src/index.ts create mode 100644 apps/indexer/tsconfig.json create mode 100644 apps/indexer/vite.config.ts diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..e9e6326 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,27 @@ + + +# 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/. + +## Built-in Commands vs Scripts + +`vp ` runs a built-in command. `vp run ` runs a `package.json` script or a `vite.config.ts` task. Scripts cannot overwrite built-ins, so `vp dev` and `vp run dev` may do different things. Check `package.json` and `vite.config.ts` first, and run `vp run ` when the project defines a script or task with that name. + +## Tool Versions + +Run `vp toolchain` to show versions and relationships in the active Vite+ +release. Add a tool name to select part of the graph. For example, run +`vp toolchain vite`. Use `--global` to ignore the local `vite-plus` package. Use +`vp why ` to show the package-manager dependency graph. + +## 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