refactor(frontend): restructure lib/ from flat-by-type to domain-based (#408) #422
@@ -46,9 +46,17 @@ export default defineConfig({
|
|||||||
coverage: {
|
coverage: {
|
||||||
provider: 'v8',
|
provider: 'v8',
|
||||||
reporter: ['text', 'lcov'],
|
reporter: ['text', 'lcov'],
|
||||||
// Measure utility and server-side logic only — Svelte components
|
// Measure utility and server-side logic only. Svelte components run
|
||||||
// run in the browser project and are excluded here intentionally.
|
// in the browser project and are excluded here. Browser-only TS files
|
||||||
include: ['src/lib/shared/**', 'src/lib/document/**', 'src/lib/person/**'],
|
// (actions, hooks, domain-specific UI state) are also excluded.
|
||||||
|
// person/ is excluded until relationshipLabels.ts coverage is raised.
|
||||||
|
include: [
|
||||||
|
'src/lib/shared/utils/**',
|
||||||
|
'src/lib/shared/server/**',
|
||||||
|
'src/lib/shared/discussion/**',
|
||||||
|
'src/lib/document/**'
|
||||||
|
],
|
||||||
|
exclude: ['**/*.svelte', '**/*.svelte.ts', '**/__mocks__/**'],
|
||||||
thresholds: {
|
thresholds: {
|
||||||
branches: 80
|
branches: 80
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user