@burdenoff/fe-libs 2026.716.1 → 2026.717.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node_modules/web-vitals/dist/web-vitals.js +28 -13
- package/dist/shared/components/assistantWidget/AssistantWidget.d.ts +30 -2
- package/dist/shared/components/assistantWidget/AssistantWidget.d.ts.map +1 -1
- package/dist/shared/components/assistantWidget/AssistantWidget.js +214 -168
- package/dist/shared/components/index.d.ts +1 -1
- package/dist/shared/components/index.d.ts.map +1 -1
- package/dist/shared/events/index.d.ts +3 -2
- package/dist/shared/events/index.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +112 -105
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts +14 -1
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/ObservabilityProvider.js +20 -18
- package/package.json +3 -1
- package/shared/config/lighthouse-budget.json +19 -0
- package/shared/config/lighthouserc.base.json +44 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": [
|
|
3
|
+
"Shared Lighthouse CI base for all Burdenoff web surfaces (app shells + websites).",
|
|
4
|
+
"Consume it from a product repo's lighthouserc.json via:",
|
|
5
|
+
" { \"extends\": \"./node_modules/@burdenoff/fe-libs/shared/config/lighthouserc.base.json\" }",
|
|
6
|
+
"and then set ci.collect.staticDistDir / url + ci.collect.startServerCommand locally.",
|
|
7
|
+
"",
|
|
8
|
+
"AUDIT LOCAL BUILDS ONLY. Every alpha hostname is CF Access gated, so pointing this",
|
|
9
|
+
"at an alpha URL measures the SSO wall, not the app.",
|
|
10
|
+
"",
|
|
11
|
+
"INP IS NOT LAB-COLLECTIBLE. INP needs real user interaction, so Lighthouse cannot",
|
|
12
|
+
"produce it in a synthetic run. total-blocking-time is asserted below as the",
|
|
13
|
+
"documented lab proxy for the ticket's INP < 200ms budget. Real INP is a field/RUM",
|
|
14
|
+
"metric and is emitted as perf.inp.measured by fe-libs ShellTelemetryEmitter.",
|
|
15
|
+
"",
|
|
16
|
+
"ASSERTIONS ARE 'warn' ON PURPOSE UNTIL A BASELINE EXISTS. Do not promote to 'error'",
|
|
17
|
+
"for a surface whose numbers you have not actually measured — an error gate on an",
|
|
18
|
+
"unmeasured budget just breaks CI for the next person."
|
|
19
|
+
],
|
|
20
|
+
"ci": {
|
|
21
|
+
"collect": {
|
|
22
|
+
"numberOfRuns": 3,
|
|
23
|
+
"settings": {
|
|
24
|
+
"preset": "desktop"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"assert": {
|
|
28
|
+
"assertions": {
|
|
29
|
+
"categories:performance": ["warn", { "minScore": 0.9 }],
|
|
30
|
+
"categories:accessibility": ["warn", { "minScore": 0.9 }],
|
|
31
|
+
"categories:best-practices": ["warn", { "minScore": 0.9 }],
|
|
32
|
+
"categories:seo": ["warn", { "minScore": 0.9 }],
|
|
33
|
+
"largest-contentful-paint": ["warn", { "maxNumericValue": 2500 }],
|
|
34
|
+
"cumulative-layout-shift": ["warn", { "maxNumericValue": 0.1 }],
|
|
35
|
+
"total-blocking-time": ["warn", { "maxNumericValue": 200 }],
|
|
36
|
+
"server-response-time": ["warn", { "maxNumericValue": 600 }]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"upload": {
|
|
40
|
+
"target": "filesystem",
|
|
41
|
+
"outputDir": ".lighthouseci"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|