trilium/codecov.yml
Elian Doran e0aa90ee8e
chore: remove the express-partial-content package
Nothing imports it any more: its only two consumers were the open-partial
routes, which now run the transport-neutral range handler in core so that
standalone gets them too.

Drops the package along with its workspace dependency, three tsconfig
project references, its CI test and Codecov steps, the coverage flag, the
Nix components entry and the two monorepo structure listings.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 19:17:58 +03:00

60 lines
1.3 KiB
YAML

coverage:
status:
project:
default:
target: auto
threshold: 1%
patch:
default:
target: 80%
threshold: 5%
# No `fixes:` needed: every suite pins the lcov reporter's `projectRoot` to the repo root, so
# `SF:` paths already arrive repo-root-relative. Leaving them project-relative would make the
# shallow ones (`src/index.ts`, `src/utils.ts`) ambiguous across the monorepo, and Codecov would
# attribute their coverage to whichever project won the match.
flags:
client:
paths:
- apps/client/src/
carryforward: true
server:
paths:
- apps/server/src/
- packages/trilium-core/src/
carryforward: true
standalone:
paths:
- apps/standalone/src/
- packages/trilium-core/src/
carryforward: true
desktop:
paths:
- apps/desktop/src/
carryforward: true
commons:
paths:
- packages/commons/src/
carryforward: true
ckeditor5:
paths:
- packages/ckeditor5/src/
carryforward: true
codemirror:
paths:
- packages/codemirror/src/
carryforward: true
highlightjs:
paths:
- packages/highlightjs/src/
carryforward: true
pdfjs-viewer:
paths:
- packages/pdfjs-viewer/src/
carryforward: true
comment:
layout: "condensed_header, condensed_files, condensed_footer"
require_changes: true