Adds a ./react subpath export to @repo/core-analytics containing
<AnalyticsProvider value={IAnalytics}> and useAnalytics(): IAnalytics.
useAnalytics() throws AnalyticsContextError when called outside a provider.
React Testing Library test verifies track() flows through context using
RecordingAnalytics. Switches vitest config to pick up .tsx test files
via environmentMatchGlobs and extends tsconfig to react-library.json
for JSX support.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
105 lines
1.9 KiB
JSON
105 lines
1.9 KiB
JSON
{
|
|
"generatedAt": "2026-05-18T15:54:10.661Z",
|
|
"commit": "065ca1b",
|
|
"repo": {
|
|
"statements": 95.92,
|
|
"branches": 89.18,
|
|
"functions": 100,
|
|
"lines": 95.92,
|
|
"counts": {
|
|
"lf": 3165,
|
|
"lh": 3036,
|
|
"brf": 499,
|
|
"brh": 445,
|
|
"fnf": 152,
|
|
"fnh": 152
|
|
}
|
|
},
|
|
"byPackage": {
|
|
"@repo/auth": {
|
|
"statements": 93.81,
|
|
"branches": 90.82,
|
|
"functions": 100,
|
|
"lines": 93.81,
|
|
"counts": {
|
|
"lf": 791,
|
|
"lh": 742,
|
|
"brf": 98,
|
|
"brh": 89,
|
|
"fnf": 44,
|
|
"fnh": 44
|
|
}
|
|
},
|
|
"@repo/blog": {
|
|
"statements": 96.36,
|
|
"branches": 88.65,
|
|
"functions": 100,
|
|
"lines": 96.36,
|
|
"counts": {
|
|
"lf": 741,
|
|
"lh": 714,
|
|
"brf": 141,
|
|
"brh": 125,
|
|
"fnf": 29,
|
|
"fnh": 29
|
|
}
|
|
},
|
|
"@repo/core-analytics": {
|
|
"statements": 100,
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"counts": {
|
|
"lf": 52,
|
|
"lh": 52,
|
|
"brf": 12,
|
|
"brh": 12,
|
|
"fnf": 10,
|
|
"fnh": 10
|
|
}
|
|
},
|
|
"@repo/marketing-pages": {
|
|
"statements": 95.64,
|
|
"branches": 83.93,
|
|
"functions": 100,
|
|
"lines": 95.64,
|
|
"counts": {
|
|
"lf": 711,
|
|
"lh": 680,
|
|
"brf": 112,
|
|
"brh": 94,
|
|
"fnf": 32,
|
|
"fnh": 32
|
|
}
|
|
},
|
|
"@repo/media": {
|
|
"statements": 97.15,
|
|
"branches": 90.63,
|
|
"functions": 100,
|
|
"lines": 97.15,
|
|
"counts": {
|
|
"lf": 561,
|
|
"lh": 545,
|
|
"brf": 96,
|
|
"brh": 87,
|
|
"fnf": 24,
|
|
"fnh": 24
|
|
}
|
|
},
|
|
"@repo/navigation": {
|
|
"statements": 98.06,
|
|
"branches": 95,
|
|
"functions": 100,
|
|
"lines": 98.06,
|
|
"counts": {
|
|
"lf": 309,
|
|
"lh": 303,
|
|
"brf": 40,
|
|
"brh": 38,
|
|
"fnf": 13,
|
|
"fnh": 13
|
|
}
|
|
}
|
|
}
|
|
}
|