chore: narrow the vitest cache exclusion (#32738)

This commit is contained in:
andig 2026-08-11 15:04:24 +02:00 • committed by GitHub
parent 5ae0f49eeb
commit ced9ed514b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@ This file provides guidance to AI coding agents when working with code in this r
- `make lint-ui` - run frontend linting
- `vp run dev` - start Vue dev server (http://127.0.0.1:7071)
- `vp run playwright` - run integration tests
- `build`, `openapi` and `test` are cached tasks in `vite.config.ts`, run them through `vp run` instead of adding `package.json` scripts
- `evcc --config [file] --disable-auth` - run a throw-away instance for UI checks without password setup
- `evcc --template-type [type] --template [file]` - test device templates
- `make docs` - generate template documentation

View file

@ -29,7 +29,7 @@ export default defineConfig({
command:
"cross-env TZ=Europe/Berlin NODE_OPTIONS=--no-experimental-webstorage vp test",
// vitest keeps its own result cache below node_modules
input: [{ auto: true }, "!**/node_modules/.vite/**"],
input: [{ auto: true }, "!**/node_modules/.vite/vitest/**"],
},
},
},