diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..36a0b827e --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +# pkg.pr.new registry bridge (added by test-pkg-pr-new-migrate.sh) +registry=https://pkg-pr-registry-bridge.void.app/ diff --git a/.vscode/settings.json b/.vscode/settings.json index 671a32bb3..6450452c1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -37,5 +37,17 @@ "editor.formatOnSaveMode": "file", "[json]": { "editor.defaultFormatter": "oxc.oxc-vscode" + }, + "[javascript]": { + "editor.defaultFormatter": "oxc.oxc-vscode" + }, + "[javascriptreact]": { + "editor.defaultFormatter": "oxc.oxc-vscode" + }, + "[typescript]": { + "editor.defaultFormatter": "oxc.oxc-vscode" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "oxc.oxc-vscode" } } diff --git a/AGENTS.md b/AGENTS.md index 774b1f75e..8060cbf53 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,3 +1,20 @@ # Agent Guide See [CONTRIBUTING](./CONTRIBUTING.md) for the main contributor guide that applies to both human contributors and agents. + + + +# 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