- Rename 132 *.vitest.mjs -> *.vitest.ts - Rename vitest.setup.mjs -> vitest.setup.ts - Rename helpers/vitestEnvironment.mjs -> vitestEnvironment.ts - Delete settings_store.test.mjs (Node test runner, superseded by .vitest.ts) - Fix .mjs imports in vitest.setup.ts and grid_loader_adaptive_paging.vitest.ts Config updates: - vitest.config.mjs: setupFiles, include, coverage.include -> .ts - tsconfig.test.json: new dedicated config for test files (strict:false) - knip.json: update project pattern for tests - package.json: add typecheck:tests script (audit-only)
17 lines
534 B
JSON
17 lines
534 B
JSON
{
|
|
"$schema": "https://unpkg.com/knip@latest/schema.json",
|
|
"entry": ["ui/entry.ts", "vite.config.mjs", "vitest.config.mjs", "eslint.config.mjs"],
|
|
"project": ["ui/**/*.{ts,js,mjs,vue}", "ui/tests/**/*.{mjs,ts}", "*.{js,mjs}"],
|
|
"ignore": ["dist/**", "vendor/**", "node_modules/**", "ui/vue/majoor-ui.*"],
|
|
"ignoreDependencies": [
|
|
"@vitejs/plugin-vue",
|
|
"@vitest/coverage-v8",
|
|
"@vue/test-utils",
|
|
"eslint",
|
|
"happy-dom",
|
|
"prettier",
|
|
"vite",
|
|
"vitest"
|
|
]
|
|
}
|