diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..27958938 --- /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.render.vip/ diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 0fbcd047..02cc4d2e 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -4,6 +4,7 @@ "styled-components.vscode-styled-components", "sysoev.vscode-open-in-github", "usernamehw.errorlens", - "wix.vscode-import-cost" + "wix.vscode-import-cost", + "VoidZero.vite-plus-extension-pack" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 7147b763..61600051 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -28,5 +28,11 @@ "typescript.updateImportsOnFileMove.enabled": "always", "typescript.preferences.autoImportFileExcludePatterns": ["**/node_modules/vitest"], "typescript.tsdk": "node_modules/typescript/lib", - "typescript.experimental.useTsgo": true + "typescript.experimental.useTsgo": true, + "editor.defaultFormatter": "oxc.oxc-vscode", + "[javascriptreact]": { + "editor.defaultFormatter": "oxc.oxc-vscode" + }, + "oxc.fmt.configPath": "./vite.config.ts", + "editor.formatOnSaveMode": "file" } diff --git a/AGENTS.md b/AGENTS.md index 2c7e1c52..403e8e13 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,3 +1,20 @@ Run `vp run test:all` to verify changes. Run `vp check --fix` to fix formatting and lint errors. + + + +# 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