chore: narrow the vitest cache exclusion (#32738)
This commit is contained in:
parent
5ae0f49eeb
commit
ced9ed514b
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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/**"],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue