@radicaltools/cli 0.2.0 → 0.3.0
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/README.md +237 -22
- package/dist/hub-catalogue/concern/concern-api-evolution.radical +935 -0
- package/dist/hub-catalogue/concern/concern-architecture-style.radical +1112 -0
- package/dist/hub-catalogue/concern/concern-authentication.radical +685 -0
- package/dist/hub-catalogue/concern/concern-authorization.radical +1464 -0
- package/dist/hub-catalogue/concern/concern-availability.radical +804 -0
- package/dist/hub-catalogue/concern/concern-backend-stack.radical +1118 -0
- package/dist/hub-catalogue/concern/concern-backup-recovery.radical +1304 -0
- package/dist/hub-catalogue/concern/concern-capacity.radical +802 -0
- package/dist/hub-catalogue/concern/concern-communication-style.radical +1202 -0
- package/dist/hub-catalogue/concern/concern-data-consistency.radical +1081 -0
- package/dist/hub-catalogue/concern/concern-data-store.radical +960 -0
- package/dist/hub-catalogue/concern/concern-decomposition.radical +1143 -0
- package/dist/hub-catalogue/concern/concern-deployment.radical +952 -0
- package/dist/hub-catalogue/concern/concern-encryption.radical +1055 -0
- package/dist/hub-catalogue/concern/concern-frontend-stack.radical +1340 -0
- package/dist/hub-catalogue/concern/concern-infrastructure.radical +1151 -0
- package/dist/hub-catalogue/concern/concern-integration-resilience.radical +1079 -0
- package/dist/hub-catalogue/concern/concern-messaging.radical +940 -0
- package/dist/hub-catalogue/concern/concern-module-boundaries.radical +864 -0
- package/dist/hub-catalogue/concern/concern-observability.radical +1048 -0
- package/dist/hub-catalogue/concern/concern-personal-data.radical +1434 -0
- package/dist/hub-catalogue/concern/concern-rate-limiting.radical +1153 -0
- package/dist/hub-catalogue/concern/concern-secrets.radical +1026 -0
- package/dist/hub-catalogue/concern/concern-supply-chain.radical +1312 -0
- package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +1306 -0
- package/dist/hub-catalogue/concern/concern-test-strategy.radical +1193 -0
- package/dist/index.js +9204 -5242
- package/package.json +5 -3
|
@@ -0,0 +1,1340 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hub": {
|
|
3
|
+
"id": "concern-frontend-stack",
|
|
4
|
+
"category": "concern",
|
|
5
|
+
"name": "Frontend stack",
|
|
6
|
+
"description": "The UI framework and rendering model of a web front end, its design system, the browsers it supports, its performance budget (Core Web Vitals, JavaScript size) and its accessibility level.",
|
|
7
|
+
"tags": [
|
|
8
|
+
"technology",
|
|
9
|
+
"frontend",
|
|
10
|
+
"web",
|
|
11
|
+
"framework",
|
|
12
|
+
"core web vitals",
|
|
13
|
+
"accessibility",
|
|
14
|
+
"design system",
|
|
15
|
+
"browser support"
|
|
16
|
+
],
|
|
17
|
+
"requiredMetamodel": "c4-ddd-governance-builtin",
|
|
18
|
+
"concern": {
|
|
19
|
+
"id": "frontend-stack",
|
|
20
|
+
"trigger": "LIST NODES WHERE type = \"webapp\" AND external != true",
|
|
21
|
+
"why": "these are web front ends, so what they are built with, how they render, how fast and accessible they must be, and which browsers they support has to be decided.",
|
|
22
|
+
"group": "technology"
|
|
23
|
+
},
|
|
24
|
+
"sources": [
|
|
25
|
+
{
|
|
26
|
+
"title": "web.dev: Web Vitals (LCP, INP, CLS and their thresholds)",
|
|
27
|
+
"url": "https://web.dev/articles/vitals"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"title": "W3C: Web Content Accessibility Guidelines (WCAG) 2.2",
|
|
31
|
+
"url": "https://www.w3.org/TR/WCAG22/"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"title": "Browserslist",
|
|
35
|
+
"url": "https://github.com/browserslist/browserslist"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"title": "endoflife.date: framework support lifecycles",
|
|
39
|
+
"url": "https://endoflife.date/"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"title": "Lighthouse CI",
|
|
43
|
+
"url": "https://github.com/GoogleChrome/lighthouse-ci"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"title": "axe-core",
|
|
47
|
+
"url": "https://github.com/dequelabs/axe-core"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"title": "Thoughtworks Technology Radar",
|
|
51
|
+
"url": "https://www.thoughtworks.com/radar"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"templateParams": [
|
|
55
|
+
{
|
|
56
|
+
"key": "FRAMEWORK",
|
|
57
|
+
"title": "Framework",
|
|
58
|
+
"label": "What is the front end built with?",
|
|
59
|
+
"hint": "The framework brings its ecosystem, its way of rendering and the people who can work on it. Changing it later means rewriting the front end.",
|
|
60
|
+
"defaultValue": "react",
|
|
61
|
+
"options": [
|
|
62
|
+
{
|
|
63
|
+
"value": "react",
|
|
64
|
+
"label": "React (Next.js or Vite)",
|
|
65
|
+
"description": "The largest ecosystem and hiring pool; Next.js for server rendering and static pages, Vite for a plain single-page app. Pick it when the team knows React, or you need the widest choice of components and libraries."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"value": "angular",
|
|
69
|
+
"label": "Angular",
|
|
70
|
+
"description": "One opinionated framework with routing, forms, HTTP and testing included, and a published support schedule per major. Pick it for large business applications built by several teams that value one way of doing things, or where the team already knows it."
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"value": "vue",
|
|
74
|
+
"label": "Vue (Nuxt or Vite)",
|
|
75
|
+
"description": "Approachable, with single-file components; Nuxt for server rendering and static pages. Pick it when the team knows Vue, or it is adopted gradually into existing server-rendered pages."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"value": "svelte",
|
|
79
|
+
"label": "Svelte (SvelteKit)",
|
|
80
|
+
"description": "Compiles to small JavaScript, with SvelteKit for routing and every rendering mode. Pick it when bundle size and simplicity weigh most and a smaller ecosystem is acceptable."
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"value": "htmx",
|
|
84
|
+
"label": "server-rendered HTML with htmx",
|
|
85
|
+
"description": "The back end renders HTML from templates; htmx swaps parts of the page, and Alpine.js holds small client state. Pick it for forms-and-tables applications when the team is back-end heavy and rich client-side interaction is rare."
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"key": "RENDERING",
|
|
91
|
+
"title": "Rendering",
|
|
92
|
+
"label": "Where are pages rendered?",
|
|
93
|
+
"hint": "Rendering decides what the first response holds: an empty shell, the content, or a file built in advance. It sets first-load speed, search visibility and what the server must do.",
|
|
94
|
+
"defaultValue": "ssr",
|
|
95
|
+
"options": [
|
|
96
|
+
{
|
|
97
|
+
"value": "spa",
|
|
98
|
+
"label": "in the browser (single-page app)",
|
|
99
|
+
"description": "The server sends a shell and the browser renders everything. Pick it for applications behind sign-in, used for long sessions, where search engines do not matter and later navigation must be instant."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"value": "ssr",
|
|
103
|
+
"label": "on the server for each request (SSR)",
|
|
104
|
+
"description": "Each request gets HTML with its content, then the page becomes interactive. Pick it for public pages with personalised or fast-changing content where search and first load matter."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"value": "static",
|
|
108
|
+
"label": "at build time (static generation)",
|
|
109
|
+
"description": "Pages are built in advance and served from a CDN, rebuilt when content changes. Pick it for content that is the same for everyone and changes at most a few times an hour (marketing, documentation, catalogues)."
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"key": "DESIGN",
|
|
115
|
+
"title": "Design system",
|
|
116
|
+
"label": "What are the screens built from?",
|
|
117
|
+
"hint": "A design system keeps screens consistent and accessible; the question is whether you build it, adopt one, or compose one from utilities.",
|
|
118
|
+
"defaultValue": "library",
|
|
119
|
+
"options": [
|
|
120
|
+
{
|
|
121
|
+
"value": "own",
|
|
122
|
+
"label": "our own design system",
|
|
123
|
+
"description": "Our components and design tokens, built on accessible headless primitives (Radix, React Aria, Angular CDK), documented in Storybook. Pick it when the brand must be distinct and several applications share it, and a team can own it."
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"value": "library",
|
|
127
|
+
"label": "an established component library",
|
|
128
|
+
"description": "An off-the-shelf library themed to the brand: MUI, Angular Material, Vuetify, PrimeNG, Fluent UI, Skeleton. Pick it for business applications where speed matters more than a distinct look."
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"value": "utility",
|
|
132
|
+
"label": "utility CSS with copied components",
|
|
133
|
+
"description": "Tailwind CSS with the design tokens in its theme, and components copied into the codebase (shadcn/ui and similar). Pick it when you want full control of the markup without maintaining a separate library."
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"key": "BROWSERS",
|
|
139
|
+
"title": "Browser support",
|
|
140
|
+
"label": "Which browsers must work?",
|
|
141
|
+
"hint": "The browser list decides which language features and CSS ship untranspiled, which polyfills load, and which browsers the tests run in.",
|
|
142
|
+
"defaultValue": "defaults",
|
|
143
|
+
"options": [
|
|
144
|
+
{
|
|
145
|
+
"value": "modern",
|
|
146
|
+
"label": "the last two versions of Chrome, Edge, Firefox and Safari",
|
|
147
|
+
"description": "Only current evergreen browsers. Pick it for internal tools and applications whose users have managed, up-to-date devices."
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"value": "defaults",
|
|
151
|
+
"label": "browserslist defaults (over 0.5% use, last 2 versions, Firefox ESR)",
|
|
152
|
+
"description": "The broad default most public sites use. Pick it for public sites and applications with a general audience."
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"value": "extended",
|
|
156
|
+
"label": "an extended list, including older phones (iOS 15 and later)",
|
|
157
|
+
"description": "Over 0.2% use, last 3 versions, Firefox ESR, iOS Safari 15 and later. Pick it when analytics show many users on older phones (emerging markets, public services that must reach everyone)."
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"key": "LCP_MS",
|
|
163
|
+
"label": "Largest Contentful Paint at the 75th percentile (ms)?",
|
|
164
|
+
"defaultValue": "2500",
|
|
165
|
+
"type": "number"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"key": "INP_MS",
|
|
169
|
+
"label": "Interaction to Next Paint at the 75th percentile (ms)?",
|
|
170
|
+
"defaultValue": "200",
|
|
171
|
+
"type": "number"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"key": "CLS",
|
|
175
|
+
"label": "Cumulative Layout Shift at the 75th percentile?",
|
|
176
|
+
"defaultValue": "0.1",
|
|
177
|
+
"type": "number"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"key": "JS_KB",
|
|
181
|
+
"label": "At most how much JavaScript may a route load before it is interactive (KB, compressed)?",
|
|
182
|
+
"defaultValue": "200",
|
|
183
|
+
"type": "number"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"key": "EOL_DAYS",
|
|
187
|
+
"label": "How many days before end of support must a framework major be replaced?",
|
|
188
|
+
"defaultValue": "180",
|
|
189
|
+
"type": "number"
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"nodes": [
|
|
194
|
+
{
|
|
195
|
+
"id": "need",
|
|
196
|
+
"type": "need",
|
|
197
|
+
"label": "A fast, accessible front end",
|
|
198
|
+
"x": 0,
|
|
199
|
+
"y": 0,
|
|
200
|
+
"kind": "brief",
|
|
201
|
+
"source": "Hub concern pack: Frontend stack",
|
|
202
|
+
"description": "People use this front end on their own devices, browsers and networks, some with disabilities and assistive technology. It has to load and respond quickly on an ordinary phone, work in the browsers its users have, be usable by everyone, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain."
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "req-one-framework",
|
|
206
|
+
"type": "requirement",
|
|
207
|
+
"label": "Built on the chosen framework",
|
|
208
|
+
"x": 260,
|
|
209
|
+
"y": 0,
|
|
210
|
+
"ears_type": "ubiquitous",
|
|
211
|
+
"action": "build the front end with {{FRAMEWORK}}, adding another UI framework only after a new decision record supersedes this one",
|
|
212
|
+
"rationale": "Two UI frameworks in one front end double the JavaScript users download and the skills the team needs (Thoughtworks Technology Radar)."
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"id": "req-vitals",
|
|
216
|
+
"type": "requirement",
|
|
217
|
+
"label": "Core Web Vitals met",
|
|
218
|
+
"x": 260,
|
|
219
|
+
"y": 130,
|
|
220
|
+
"ears_type": "ubiquitous",
|
|
221
|
+
"action": "meet, at the 75th percentile of real page loads on mobile and desktop, a Largest Contentful Paint within {{LCP_MS}} ms, an Interaction to Next Paint within {{INP_MS}} ms and a Cumulative Layout Shift of at most {{CLS}}",
|
|
222
|
+
"rationale": "These are the thresholds for a \"good\" experience, measured at the 75th percentile of field data (web.dev, Web Vitals: LCP 2.5 s, INP 200 ms, CLS 0.1); they also feed search ranking."
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"id": "req-bundle",
|
|
226
|
+
"type": "requirement",
|
|
227
|
+
"label": "JavaScript within budget",
|
|
228
|
+
"x": 260,
|
|
229
|
+
"y": 260,
|
|
230
|
+
"ears_type": "ubiquitous",
|
|
231
|
+
"action": "keep the JavaScript a route loads before it is interactive within {{JS_KB}} KB compressed, loading the rest on demand",
|
|
232
|
+
"rationale": "JavaScript is the costliest byte on a phone: it is downloaded, parsed and run on the main thread, which is what INP measures (web.dev, performance budgets)."
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"id": "req-a11y",
|
|
236
|
+
"type": "requirement",
|
|
237
|
+
"label": "Accessible to WCAG 2.2 AA",
|
|
238
|
+
"x": 260,
|
|
239
|
+
"y": 390,
|
|
240
|
+
"ears_type": "ubiquitous",
|
|
241
|
+
"action": "conform to WCAG 2.2 level AA on every page, with 0 serious or critical automated accessibility violations, every function operable by keyboard alone, and a manual audit with a screen reader before each major release",
|
|
242
|
+
"rationale": "WCAG 2.2 AA is the level EN 301 549, the European Accessibility Act and most public-sector rules require; automated checks find only part of the failures, hence the manual audit (W3C WCAG 2.2)."
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"id": "req-supported",
|
|
246
|
+
"type": "requirement",
|
|
247
|
+
"label": "Supported framework versions",
|
|
248
|
+
"x": 260,
|
|
249
|
+
"y": 520,
|
|
250
|
+
"ears_type": "ubiquitous",
|
|
251
|
+
"action": "run only framework and build-tool majors under support, moving off each at least {{EOL_DAYS}} days before its end of support, with dependency updates proposed automatically every week",
|
|
252
|
+
"rationale": "Front-end frameworks support a major for a limited time (Angular 18 months, Node.js-based tooling with its runtime); after that, security fixes stop (endoflife.date; OWASP Top 10 A06)."
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"id": "req-spa-cache",
|
|
256
|
+
"type": "requirement",
|
|
257
|
+
"label": "App shell cached right",
|
|
258
|
+
"x": 260,
|
|
259
|
+
"y": 650,
|
|
260
|
+
"ears_type": "event-driven",
|
|
261
|
+
"trigger": "a new version of the single-page app is deployed",
|
|
262
|
+
"action": "serve its content-hashed assets with a one-year immutable cache and its HTML with no-cache, so that every user gets the new version on their next navigation and 0 users load a mix of versions",
|
|
263
|
+
"rationale": "A single-page app is a shell plus assets; wrong caching either serves stale code for days or downloads everything on every visit (web.dev, HTTP caching).",
|
|
264
|
+
"hubWhen": {
|
|
265
|
+
"RENDERING": [
|
|
266
|
+
"spa"
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"id": "req-ssr",
|
|
272
|
+
"type": "requirement",
|
|
273
|
+
"label": "Content in the first response",
|
|
274
|
+
"x": 260,
|
|
275
|
+
"y": 780,
|
|
276
|
+
"ears_type": "event-driven",
|
|
277
|
+
"trigger": "a page is requested",
|
|
278
|
+
"action": "answer with HTML that already holds the page's main content, with a Time to First Byte within 800 ms at the 75th percentile",
|
|
279
|
+
"rationale": "Server rendering pays off only if the server answers quickly; 800 ms is web.dev's \"good\" Time to First Byte, which leaves room for LCP within budget.",
|
|
280
|
+
"hubWhen": {
|
|
281
|
+
"RENDERING": [
|
|
282
|
+
"ssr"
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"id": "req-static",
|
|
288
|
+
"type": "requirement",
|
|
289
|
+
"label": "Pages built in advance",
|
|
290
|
+
"x": 260,
|
|
291
|
+
"y": 910,
|
|
292
|
+
"ears_type": "event-driven",
|
|
293
|
+
"trigger": "content is published or changed",
|
|
294
|
+
"action": "rebuild the affected pages and serve them from the CDN within 15 minutes, with 100% of pages served as pre-built files",
|
|
295
|
+
"rationale": "Static pages are the fastest and cheapest to serve; the publishing delay is the price, and it must be bounded (web.dev, rendering on the web).",
|
|
296
|
+
"hubWhen": {
|
|
297
|
+
"RENDERING": [
|
|
298
|
+
"static"
|
|
299
|
+
]
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"id": "req-design-own",
|
|
304
|
+
"type": "requirement",
|
|
305
|
+
"label": "Screens use our design system",
|
|
306
|
+
"x": 260,
|
|
307
|
+
"y": 1040,
|
|
308
|
+
"ears_type": "ubiquitous",
|
|
309
|
+
"action": "build every screen from the design system's components and tokens, document each component with its states in Storybook, and use 0 hard-coded colours, font sizes or spacing outside the tokens",
|
|
310
|
+
"rationale": "A design system pays off only when used everywhere; tokens make a brand or contrast change one edit instead of a search (W3C Design Tokens Community Group).",
|
|
311
|
+
"hubWhen": {
|
|
312
|
+
"DESIGN": [
|
|
313
|
+
"own"
|
|
314
|
+
]
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "req-design-library",
|
|
319
|
+
"type": "requirement",
|
|
320
|
+
"label": "Library used through its theme",
|
|
321
|
+
"x": 260,
|
|
322
|
+
"y": 1170,
|
|
323
|
+
"ears_type": "ubiquitous",
|
|
324
|
+
"action": "style the component library only through its theme and public props, with 0 overrides of its internal class names, so that it can be upgraded to each new major within 6 months",
|
|
325
|
+
"rationale": "Overrides of a library's internals break on its next major and pin the front end to an old version (the library's own theming guides).",
|
|
326
|
+
"hubWhen": {
|
|
327
|
+
"DESIGN": [
|
|
328
|
+
"library"
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"id": "req-design-utility",
|
|
334
|
+
"type": "requirement",
|
|
335
|
+
"label": "Utilities use the tokens",
|
|
336
|
+
"x": 260,
|
|
337
|
+
"y": 1300,
|
|
338
|
+
"ears_type": "ubiquitous",
|
|
339
|
+
"action": "take colours, spacing and type sizes only from the tokens in the Tailwind theme, with 0 arbitrary values in class names",
|
|
340
|
+
"rationale": "Arbitrary values bypass the theme and turn the design system back into one-off styles (Tailwind CSS documentation, theme).",
|
|
341
|
+
"hubWhen": {
|
|
342
|
+
"DESIGN": [
|
|
343
|
+
"utility"
|
|
344
|
+
]
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "req-browsers",
|
|
349
|
+
"type": "requirement",
|
|
350
|
+
"label": "Supported browsers work",
|
|
351
|
+
"x": 260,
|
|
352
|
+
"y": 1430,
|
|
353
|
+
"ears_type": "ubiquitous",
|
|
354
|
+
"action": "work in every browser of {{BROWSERS}}, with the main journeys tested in Chromium, Firefox and WebKit on every pull request and 0 unsupported language or web features shipped without a polyfill",
|
|
355
|
+
"rationale": "An explicit browser list lets the build ship only the transpilation and polyfills needed, and the lint catch a feature the list does not have (Browserslist)."
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "req-unsupported",
|
|
359
|
+
"type": "requirement",
|
|
360
|
+
"label": "Old browsers told",
|
|
361
|
+
"x": 260,
|
|
362
|
+
"y": 1560,
|
|
363
|
+
"ears_type": "unwanted-behaviour",
|
|
364
|
+
"unwanted_condition": "the front end is opened in a browser outside the supported list",
|
|
365
|
+
"action": "show a notice naming the supported browsers instead of a broken page",
|
|
366
|
+
"rationale": "A short browser list is acceptable only if users outside it learn why the page fails (Browserslist).",
|
|
367
|
+
"hubWhen": {
|
|
368
|
+
"BROWSERS": [
|
|
369
|
+
"modern"
|
|
370
|
+
]
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"id": "req-old-devices",
|
|
375
|
+
"type": "requirement",
|
|
376
|
+
"label": "Tested on older phones",
|
|
377
|
+
"x": 260,
|
|
378
|
+
"y": 1690,
|
|
379
|
+
"ears_type": "event-driven",
|
|
380
|
+
"trigger": "a release candidate is built",
|
|
381
|
+
"action": "run the main journeys on real devices with the oldest supported iOS Safari and a low-end Android phone, and meet the Core Web Vitals budget on the Android phone",
|
|
382
|
+
"rationale": "Emulated browsers miss the CPU and memory limits of old phones, where an extended audience feels the budget most (web.dev, Web Vitals).",
|
|
383
|
+
"hubWhen": {
|
|
384
|
+
"BROWSERS": [
|
|
385
|
+
"extended"
|
|
386
|
+
]
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "sc-one-framework",
|
|
391
|
+
"type": "scenario",
|
|
392
|
+
"label": "Second framework refused",
|
|
393
|
+
"x": 520,
|
|
394
|
+
"y": 0,
|
|
395
|
+
"given": "the front end's dependencies",
|
|
396
|
+
"when": "a change adds another UI framework",
|
|
397
|
+
"then": "the dependency check fails until a decision record allows it"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"id": "sc-vitals",
|
|
401
|
+
"type": "scenario",
|
|
402
|
+
"label": "Field vitals within budget",
|
|
403
|
+
"x": 520,
|
|
404
|
+
"y": 130,
|
|
405
|
+
"given": "a month of real-user measurements per page group",
|
|
406
|
+
"when": "the 75th percentiles are computed",
|
|
407
|
+
"then": "LCP is within {{LCP_MS}} ms, INP within {{INP_MS}} ms and CLS at most {{CLS}} for every page group"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"id": "sc-bundle",
|
|
411
|
+
"type": "scenario",
|
|
412
|
+
"label": "Bundle over budget refused",
|
|
413
|
+
"x": 520,
|
|
414
|
+
"y": 260,
|
|
415
|
+
"given": "a pull request that adds a large library to a route",
|
|
416
|
+
"when": "the size check runs",
|
|
417
|
+
"then": "it fails when the route's JavaScript passes {{JS_KB}} KB compressed"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"id": "sc-a11y",
|
|
421
|
+
"type": "scenario",
|
|
422
|
+
"label": "Page passes accessibility checks",
|
|
423
|
+
"x": 520,
|
|
424
|
+
"y": 390,
|
|
425
|
+
"given": "each page of the main journeys",
|
|
426
|
+
"when": "the automated checks run and the page is used with keyboard only",
|
|
427
|
+
"then": "0 serious or critical violations are reported and every function can be reached and used"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"id": "sc-supported",
|
|
431
|
+
"type": "scenario",
|
|
432
|
+
"label": "End of support ahead",
|
|
433
|
+
"x": 520,
|
|
434
|
+
"y": 520,
|
|
435
|
+
"given": "a framework major whose end of support is less than {{EOL_DAYS}} days away",
|
|
436
|
+
"when": "the version check runs",
|
|
437
|
+
"then": "it fails naming the version and its end-of-support date"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"id": "sc-spa-cache",
|
|
441
|
+
"type": "scenario",
|
|
442
|
+
"label": "New version reaches users",
|
|
443
|
+
"x": 520,
|
|
444
|
+
"y": 650,
|
|
445
|
+
"given": "a user with the previous version cached",
|
|
446
|
+
"when": "a new version is deployed and the user navigates",
|
|
447
|
+
"then": "the new HTML loads, its hashed assets are fetched once, and the unchanged ones come from the cache",
|
|
448
|
+
"hubWhen": {
|
|
449
|
+
"RENDERING": [
|
|
450
|
+
"spa"
|
|
451
|
+
]
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"id": "sc-ssr",
|
|
456
|
+
"type": "scenario",
|
|
457
|
+
"label": "Content without JavaScript",
|
|
458
|
+
"x": 520,
|
|
459
|
+
"y": 780,
|
|
460
|
+
"given": "a public page",
|
|
461
|
+
"when": "it is requested with JavaScript disabled",
|
|
462
|
+
"then": "its main content is in the HTML, and the 75th-percentile TTFB is within 800 ms",
|
|
463
|
+
"hubWhen": {
|
|
464
|
+
"RENDERING": [
|
|
465
|
+
"ssr"
|
|
466
|
+
]
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"id": "sc-static",
|
|
471
|
+
"type": "scenario",
|
|
472
|
+
"label": "Change live within 15 minutes",
|
|
473
|
+
"x": 520,
|
|
474
|
+
"y": 910,
|
|
475
|
+
"given": "a published page",
|
|
476
|
+
"when": "its content is changed",
|
|
477
|
+
"then": "the CDN serves the rebuilt page within 15 minutes",
|
|
478
|
+
"hubWhen": {
|
|
479
|
+
"RENDERING": [
|
|
480
|
+
"static"
|
|
481
|
+
]
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"id": "sc-design-own",
|
|
486
|
+
"type": "scenario",
|
|
487
|
+
"label": "Hard-coded colour refused",
|
|
488
|
+
"x": 520,
|
|
489
|
+
"y": 1040,
|
|
490
|
+
"given": "a stylesheet change",
|
|
491
|
+
"when": "it sets a colour as a hex value instead of a token",
|
|
492
|
+
"then": "the style lint fails",
|
|
493
|
+
"hubWhen": {
|
|
494
|
+
"DESIGN": [
|
|
495
|
+
"own"
|
|
496
|
+
]
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"id": "sc-design-library",
|
|
501
|
+
"type": "scenario",
|
|
502
|
+
"label": "Internal override refused",
|
|
503
|
+
"x": 520,
|
|
504
|
+
"y": 1170,
|
|
505
|
+
"given": "a stylesheet change",
|
|
506
|
+
"when": "it targets one of the library's internal class names",
|
|
507
|
+
"then": "the style lint fails",
|
|
508
|
+
"hubWhen": {
|
|
509
|
+
"DESIGN": [
|
|
510
|
+
"library"
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"id": "sc-design-utility",
|
|
516
|
+
"type": "scenario",
|
|
517
|
+
"label": "Arbitrary value refused",
|
|
518
|
+
"x": 520,
|
|
519
|
+
"y": 1300,
|
|
520
|
+
"given": "a component change",
|
|
521
|
+
"when": "it uses a class with an arbitrary value such as a hex colour in brackets",
|
|
522
|
+
"then": "the lint fails",
|
|
523
|
+
"hubWhen": {
|
|
524
|
+
"DESIGN": [
|
|
525
|
+
"utility"
|
|
526
|
+
]
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"id": "sc-browsers",
|
|
531
|
+
"type": "scenario",
|
|
532
|
+
"label": "Unsupported feature caught",
|
|
533
|
+
"x": 520,
|
|
534
|
+
"y": 1430,
|
|
535
|
+
"given": "the browser list",
|
|
536
|
+
"when": "a change uses a web feature a listed browser lacks",
|
|
537
|
+
"then": "the compatibility lint fails unless a polyfill is configured"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"id": "sc-unsupported",
|
|
541
|
+
"type": "scenario",
|
|
542
|
+
"label": "Notice in old browser",
|
|
543
|
+
"x": 520,
|
|
544
|
+
"y": 1560,
|
|
545
|
+
"given": "a browser two years older than the list",
|
|
546
|
+
"when": "the front end is opened",
|
|
547
|
+
"then": "the notice names the supported browsers",
|
|
548
|
+
"hubWhen": {
|
|
549
|
+
"BROWSERS": [
|
|
550
|
+
"modern"
|
|
551
|
+
]
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"id": "sc-old-devices",
|
|
556
|
+
"type": "scenario",
|
|
557
|
+
"label": "Journeys pass on old phones",
|
|
558
|
+
"x": 520,
|
|
559
|
+
"y": 1690,
|
|
560
|
+
"given": "a release candidate",
|
|
561
|
+
"when": "the main journeys run on the oldest supported iPhone and a low-end Android phone",
|
|
562
|
+
"then": "all pass, and LCP on the Android phone is within {{LCP_MS}} ms",
|
|
563
|
+
"hubWhen": {
|
|
564
|
+
"BROWSERS": [
|
|
565
|
+
"extended"
|
|
566
|
+
]
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"id": "adr-react",
|
|
571
|
+
"type": "adr",
|
|
572
|
+
"label": "Built with React",
|
|
573
|
+
"x": 780,
|
|
574
|
+
"y": 0,
|
|
575
|
+
"concern": "frontend-stack",
|
|
576
|
+
"status": "accepted",
|
|
577
|
+
"date": "",
|
|
578
|
+
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; the browsers to support decide which features and polyfills ship; and accessibility is a legal duty in many markets (European Accessibility Act, ADA, Section 508), cheap when built in and expensive when retrofitted.",
|
|
579
|
+
"decision": "The front end is built with React in TypeScript (strict). Rendering: {{RENDERING}}: Next.js (App Router, server components) for server rendering and static generation, Vite with React Router for a single-page app. Data fetching with TanStack Query; forms with React Hook Form. Design system: {{DESIGN}}. Browsers: {{BROWSERS}}. Budget: LCP {{LCP_MS}} ms, INP {{INP_MS}} ms, CLS {{CLS}} at the 75th percentile, {{JS_KB}} KB of JavaScript per route; WCAG 2.2 AA. Choosing Next.js or React Router (framework mode): Next.js for the widest ecosystem and hosting on Vercel or Node; React Router when you want web-standard loaders and fewer conventions. Versions tracked through endoflife.date (react, nextjs).",
|
|
580
|
+
"consequences": "• The largest ecosystem of components and libraries, and the largest hiring pool.\n• React itself is only the view: routing, data, forms and state are choices to make and keep current.\n• Server components cut the JavaScript sent, but add a server and a new mental model.\n• Next.js majors arrive roughly yearly and change conventions; upgrades are planned work.",
|
|
581
|
+
"alternatives": "1. Angular: everything included and one way of doing it, heavier.\n2. Vue with Nuxt: similar capabilities, gentler learning curve, smaller ecosystem.\n3. Svelte with SvelteKit: smaller bundles, smaller ecosystem.",
|
|
582
|
+
"hubWhen": {
|
|
583
|
+
"FRAMEWORK": [
|
|
584
|
+
"react"
|
|
585
|
+
]
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"id": "adr-angular",
|
|
590
|
+
"type": "adr",
|
|
591
|
+
"label": "Built with Angular",
|
|
592
|
+
"x": 780,
|
|
593
|
+
"y": 130,
|
|
594
|
+
"concern": "frontend-stack",
|
|
595
|
+
"status": "accepted",
|
|
596
|
+
"date": "",
|
|
597
|
+
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; the browsers to support decide which features and polyfills ship; and accessibility is a legal duty in many markets (European Accessibility Act, ADA, Section 508), cheap when built in and expensive when retrofitted.",
|
|
598
|
+
"decision": "The front end is built with Angular in TypeScript (strict), with standalone components, signals and the Angular CLI (esbuild). Rendering: {{RENDERING}}: Angular SSR with hydration for server rendering, prerendering for static pages, the default build for a single-page app. Design system: {{DESIGN}} (Angular Material and the CDK when adopting a library). Browsers: {{BROWSERS}}. Budget: LCP {{LCP_MS}} ms, INP {{INP_MS}} ms, CLS {{CLS}} at the 75th percentile, {{JS_KB}} KB of JavaScript per route, also set in angular.json budgets; WCAG 2.2 AA. Each major is supported for 18 months (6 active, 12 LTS), so the front end moves one major at a time with ng update, at least once a year.",
|
|
599
|
+
"consequences": "• Routing, forms, HTTP, testing and i18n come with the framework: one way of doing things across teams.\n• Larger initial bundles than Svelte or Vue unless routes are lazy-loaded and deferrable views used.\n• A predictable release and support schedule makes the version policy easy to plan.\n• A steeper learning curve (dependency injection, RxJS) for people new to it.",
|
|
600
|
+
"alternatives": "1. React with Next.js: larger ecosystem, more choices to make.\n2. Vue with Nuxt: lighter, less prescriptive.\n3. Server-rendered HTML with htmx: far less JavaScript for forms-and-tables applications.",
|
|
601
|
+
"hubWhen": {
|
|
602
|
+
"FRAMEWORK": [
|
|
603
|
+
"angular"
|
|
604
|
+
]
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"id": "adr-vue",
|
|
609
|
+
"type": "adr",
|
|
610
|
+
"label": "Built with Vue",
|
|
611
|
+
"x": 780,
|
|
612
|
+
"y": 260,
|
|
613
|
+
"concern": "frontend-stack",
|
|
614
|
+
"status": "accepted",
|
|
615
|
+
"date": "",
|
|
616
|
+
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; the browsers to support decide which features and polyfills ship; and accessibility is a legal duty in many markets (European Accessibility Act, ADA, Section 508), cheap when built in and expensive when retrofitted.",
|
|
617
|
+
"decision": "The front end is built with Vue 3 in TypeScript, using the Composition API and single-file components. Rendering: {{RENDERING}}: Nuxt for server rendering and static generation, Vite with Vue Router for a single-page app. State in Pinia. Design system: {{DESIGN}}. Browsers: {{BROWSERS}}. Budget: LCP {{LCP_MS}} ms, INP {{INP_MS}} ms, CLS {{CLS}} at the 75th percentile, {{JS_KB}} KB of JavaScript per route; WCAG 2.2 AA. Versions tracked through endoflife.date (vue, nuxt).",
|
|
618
|
+
"consequences": "• Gentle learning curve and good performance out of the box.\n• Can be adopted gradually inside existing server-rendered pages.\n• A smaller ecosystem and hiring pool than React.\n• Nuxt majors bring migration work; plan them like framework upgrades.",
|
|
619
|
+
"alternatives": "1. React with Next.js: the largest ecosystem.\n2. Svelte with SvelteKit: smaller bundles.\n3. Angular: more included, more prescriptive.",
|
|
620
|
+
"hubWhen": {
|
|
621
|
+
"FRAMEWORK": [
|
|
622
|
+
"vue"
|
|
623
|
+
]
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"id": "adr-svelte",
|
|
628
|
+
"type": "adr",
|
|
629
|
+
"label": "Built with Svelte",
|
|
630
|
+
"x": 780,
|
|
631
|
+
"y": 390,
|
|
632
|
+
"concern": "frontend-stack",
|
|
633
|
+
"status": "accepted",
|
|
634
|
+
"date": "",
|
|
635
|
+
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; the browsers to support decide which features and polyfills ship; and accessibility is a legal duty in many markets (European Accessibility Act, ADA, Section 508), cheap when built in and expensive when retrofitted.",
|
|
636
|
+
"decision": "The front end is built with Svelte 5 (runes) in TypeScript and SvelteKit, whose adapters cover every rendering mode. Rendering: {{RENDERING}}: adapter-node or a platform adapter for server rendering, adapter-static for static pages and single-page apps. Design system: {{DESIGN}}. Browsers: {{BROWSERS}}. Budget: LCP {{LCP_MS}} ms, INP {{INP_MS}} ms, CLS {{CLS}} at the 75th percentile, {{JS_KB}} KB of JavaScript per route; WCAG 2.2 AA. Versions tracked through endoflife.date (svelte).",
|
|
637
|
+
"consequences": "• Compiled components ship little JavaScript, which makes the budget easy to keep.\n• Simple syntax, quick to learn.\n• A smaller ecosystem: fewer ready-made components and integrations, more built in-house.\n• A smaller hiring pool than React, Angular or Vue.",
|
|
638
|
+
"alternatives": "1. React with Next.js: the largest ecosystem, more JavaScript.\n2. Vue with Nuxt: similar simplicity, larger ecosystem.\n3. Server-rendered HTML with htmx: even less JavaScript, less interactivity.",
|
|
639
|
+
"hubWhen": {
|
|
640
|
+
"FRAMEWORK": [
|
|
641
|
+
"svelte"
|
|
642
|
+
]
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"id": "adr-htmx",
|
|
647
|
+
"type": "adr",
|
|
648
|
+
"label": "Server-rendered HTML with htmx",
|
|
649
|
+
"x": 780,
|
|
650
|
+
"y": 520,
|
|
651
|
+
"concern": "frontend-stack",
|
|
652
|
+
"status": "accepted",
|
|
653
|
+
"date": "",
|
|
654
|
+
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; the browsers to support decide which features and polyfills ship; and accessibility is a legal duty in many markets (European Accessibility Act, ADA, Section 508), cheap when built in and expensive when retrofitted.",
|
|
655
|
+
"decision": "The front end is HTML rendered by the back end from templates (Thymeleaf, Razor, Jinja, templ or the back end's own), with htmx swapping parts of the page and Alpine.js for small client-side state; no client-side framework or build step beyond CSS. Rendering: {{RENDERING}}, with every page server rendered and partial updates over HTTP. Design system: {{DESIGN}}, delivered as template partials. Browsers: {{BROWSERS}}. Budget: LCP {{LCP_MS}} ms, INP {{INP_MS}} ms, CLS {{CLS}} at the 75th percentile, {{JS_KB}} KB of JavaScript per page; WCAG 2.2 AA. Choose it while interactions are forms, tables, filters and dialogs; supersede it when screens need rich client state (offline, drag-and-drop editors, real-time collaboration).",
|
|
656
|
+
"consequences": "• Very little JavaScript, no client-side state to keep in sync, one codebase and one team for front and back end.\n• Fast first loads; every interaction is a request, so latency to the server sets how responsive it feels.\n• Rich client-side interaction is awkward and grows into hand-written JavaScript.\n• Fewer ready-made components; the design system is built as template partials.",
|
|
657
|
+
"alternatives": "1. A single-page app framework (React, Angular, Vue, Svelte): rich interaction, much more JavaScript and a second codebase.\n2. Hotwire (Turbo and Stimulus) or Phoenix LiveView: the same idea tied to Rails or Elixir.\n3. Plain server-rendered pages without htmx: simplest, full reloads.",
|
|
658
|
+
"hubWhen": {
|
|
659
|
+
"FRAMEWORK": [
|
|
660
|
+
"htmx"
|
|
661
|
+
]
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"id": "ff-lighthouse",
|
|
666
|
+
"type": "fitness-fn",
|
|
667
|
+
"label": "Lab budget holds",
|
|
668
|
+
"x": 1040,
|
|
669
|
+
"y": 0,
|
|
670
|
+
"category": "operational",
|
|
671
|
+
"threshold": "On every pull request, for each main page: LCP within {{LCP_MS}} ms, CLS at most {{CLS}}, Total Blocking Time within 200 ms (the lab stand-in for INP), accessibility score at least 0.95",
|
|
672
|
+
"description": "Lighthouse CI runs three times per main page on a mobile profile against the preview build and asserts the budget; the median run counts. INP needs real interactions, so it is checked in the field (see Field vitals).\n\nTool: Lighthouse CI\n\n```js\n// lighthouserc.cjs\nmodule.exports = {\n ci: {\n collect: { url: ['http://localhost:4173/', 'http://localhost:4173/search'], numberOfRuns: 3 },\n assert: {\n assertions: {\n 'largest-contentful-paint': ['error', { maxNumericValue: {{LCP_MS}}, aggregationMethod: 'median' }],\n 'cumulative-layout-shift': ['error', { maxNumericValue: {{CLS}}, aggregationMethod: 'median' }],\n 'total-blocking-time': ['error', { maxNumericValue: 200, aggregationMethod: 'median' }],\n 'categories:accessibility': ['error', { minScore: 0.95 }],\n },\n },\n upload: { target: 'temporary-public-storage' },\n },\n}\n```"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"id": "ff-field-vitals",
|
|
676
|
+
"type": "fitness-fn",
|
|
677
|
+
"label": "Field vitals within budget",
|
|
678
|
+
"x": 1040,
|
|
679
|
+
"y": 130,
|
|
680
|
+
"category": "operational",
|
|
681
|
+
"threshold": "75th percentile over 28 days per page group: LCP within {{LCP_MS}} ms, INP within {{INP_MS}} ms, CLS at most {{CLS}}; an alert when one is exceeded",
|
|
682
|
+
"description": "The web-vitals library reports LCP, INP and CLS from real users to the analytics endpoint; a dashboard computes the 75th percentile per page group and alerts when one passes the budget. The Chrome UX Report gives the same figures for public pages.\n\nTool: web-vitals (Google Chrome) real-user monitoring\n\n```ts\nimport { onCLS, onINP, onLCP, type Metric } from 'web-vitals'\n\nconst BUDGET = { LCP: {{LCP_MS}}, INP: {{INP_MS}}, CLS: {{CLS}} }\n\nfunction report(metric: Metric) {\n const body = JSON.stringify({\n name: metric.name, value: metric.value, rating: metric.rating,\n page: location.pathname.replace(/\\/\\d+/g, '/:id'), overBudget: metric.value > BUDGET[metric.name as keyof typeof BUDGET],\n })\n navigator.sendBeacon('/rum', body)\n}\nonLCP(report); onINP(report); onCLS(report)\n```"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"id": "ff-size",
|
|
686
|
+
"type": "fitness-fn",
|
|
687
|
+
"label": "JavaScript size budget",
|
|
688
|
+
"x": 1040,
|
|
689
|
+
"y": 260,
|
|
690
|
+
"category": "structural",
|
|
691
|
+
"threshold": "Each route's initial JavaScript within {{JS_KB}} KB compressed; the pull request fails above it",
|
|
692
|
+
"description": "size-limit measures the compressed JavaScript of each route's entry chunks after the production build and fails the pull request above the limit, with a comment showing the change.\n\nTool: size-limit\n\n```json\n[\n { \"name\": \"home\", \"path\": \"dist/assets/index-*.js\", \"limit\": \"{{JS_KB}} KB\", \"gzip\": true },\n { \"name\": \"search\", \"path\": \"dist/assets/search-*.js\", \"limit\": \"{{JS_KB}} KB\", \"gzip\": true }\n]\n```"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"id": "ff-axe",
|
|
696
|
+
"type": "fitness-fn",
|
|
697
|
+
"label": "No accessibility violations",
|
|
698
|
+
"x": 1040,
|
|
699
|
+
"y": 390,
|
|
700
|
+
"category": "structural",
|
|
701
|
+
"threshold": "0 serious or critical axe violations against WCAG 2.0, 2.1 and 2.2 A and AA rules on every page of the main journeys",
|
|
702
|
+
"description": "A Playwright test opens each page of the main journeys, including open dialogs and error states, and runs axe-core with the WCAG A and AA tags; any serious or critical violation fails it.\n\nTool: axe-core with Playwright (@axe-core/playwright)\n\n```ts\nimport AxeBuilder from '@axe-core/playwright'\nimport { expect, test } from '@playwright/test'\n\nfor (const path of ['/', '/search', '/checkout']) {\n test(`${path} meets WCAG 2.2 AA`, async ({ page }) => {\n await page.goto(path)\n const { violations } = await new AxeBuilder({ page })\n .withTags(['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'wcag22aa'])\n .analyze()\n expect(violations.filter((v) => v.impact === 'serious' || v.impact === 'critical')).toEqual([])\n })\n}\n```"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"id": "ff-compat",
|
|
706
|
+
"type": "fitness-fn",
|
|
707
|
+
"label": "Features match browser list",
|
|
708
|
+
"x": 1040,
|
|
709
|
+
"y": 520,
|
|
710
|
+
"category": "structural",
|
|
711
|
+
"threshold": "0 uses of web features missing from a browser on the list without a configured polyfill",
|
|
712
|
+
"description": "The browser list lives in package.json and drives the build's transpilation; eslint-plugin-compat fails on a web API one of the listed browsers lacks. Playwright runs the journeys in Chromium, Firefox and WebKit.\n\nTool: browserslist with eslint-plugin-compat\n\n```js\n// package.json: \"browserslist\" holds the query of the policy, e.g.\n// modern: [\"last 2 Chrome versions\", \"last 2 Edge versions\", \"last 2 Firefox versions\", \"last 2 Safari major versions\"]\n// defaults: [\"defaults\"]\n// extended: [\"> 0.2%\", \"last 3 versions\", \"Firefox ESR\", \"iOS >= 15\", \"not dead\"]\n// eslint.config.mjs\nimport compat from 'eslint-plugin-compat'\nexport default [\n compat.configs['flat/recommended'],\n { settings: { polyfills: ['fetch', 'Promise'] } }, // what the build polyfills\n]\n```"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"id": "ff-eol",
|
|
716
|
+
"type": "fitness-fn",
|
|
717
|
+
"label": "Framework still supported",
|
|
718
|
+
"x": 1040,
|
|
719
|
+
"y": 650,
|
|
720
|
+
"category": "operational",
|
|
721
|
+
"threshold": "0 framework or build-tool majors within {{EOL_DAYS}} days of their end of support",
|
|
722
|
+
"description": "A scheduled job and every build look up the framework majors in use on endoflife.date (angular, nextjs, nuxt, vue, svelte, nodejs for the build) and fail when end of support is less than {{EOL_DAYS}} days away.\n\nTool: endoflife.date API (curl and jq)\n\n```bash\n#!/usr/bin/env bash\n# versions.txt: \"<endoflife.date product> <cycle>\", e.g. \"angular 20\", \"nodejs 22\"\nset -euo pipefail\nLIMIT=$(( $(date +%s) + {{EOL_DAYS}} * 86400 ))\nfail=0\nwhile read -r product cycle; do\n eol=$(curl -fsS \"https://endoflife.date/api/${product}/${cycle}.json\" | jq -r '.eol')\n [ \"$eol\" = \"false\" ] && continue\n if [ \"$eol\" = \"true\" ] || [ \"$(date -d \"$eol\" +%s)\" -lt \"$LIMIT\" ]; then\n echo \"::error::$product $cycle reaches end of support on $eol\"; fail=1\n fi\ndone < versions.txt\nexit $fail\n```"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"id": "ff-renovate",
|
|
726
|
+
"type": "fitness-fn",
|
|
727
|
+
"label": "Dependencies kept current",
|
|
728
|
+
"x": 1040,
|
|
729
|
+
"y": 780,
|
|
730
|
+
"category": "process",
|
|
731
|
+
"threshold": "Update pull requests opened weekly; framework packages updated together; 0 update pull requests open over 30 days",
|
|
732
|
+
"description": "Renovate opens weekly update pull requests, grouping the packages of one framework or monorepo so they move together; patches merge automatically when the tests, the size limit and Lighthouse CI pass.\n\nTool: Renovate\n\n```json\n{\n \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n \"extends\": [\"config:recommended\", \"group:monorepos\", \":dependencyDashboard\"],\n \"schedule\": [\"before 6am on monday\"],\n \"minimumReleaseAge\": \"3 days\",\n \"packageRules\": [\n { \"matchUpdateTypes\": [\"patch\"], \"automerge\": true },\n { \"matchUpdateTypes\": [\"major\"], \"labels\": [\"major-update\"] }\n ]\n}\n```"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"id": "ff-cache-headers",
|
|
736
|
+
"type": "fitness-fn",
|
|
737
|
+
"label": "Cache headers right",
|
|
738
|
+
"x": 1040,
|
|
739
|
+
"y": 910,
|
|
740
|
+
"category": "operational",
|
|
741
|
+
"threshold": "100% of hashed assets served with max-age=31536000, immutable; index.html with no-cache",
|
|
742
|
+
"description": "After each deploy a check fetches the HTML and the assets it references and verifies their Cache-Control headers.\n\nTool: curl (post-deploy check)\n\n```bash\n#!/usr/bin/env bash\nset -euo pipefail\nhtml=$(curl -fsSI \"$BASE_URL/\" | tr -d '\\r' | grep -i '^cache-control')\ngrep -qi 'no-cache' <<<\"$html\" || { echo \"index.html: $html\"; exit 1; }\nfor asset in $(curl -fsS \"$BASE_URL/\" | grep -oE '/assets/[^\"]+\\.(js|css)'); do\n cc=$(curl -fsSI \"$BASE_URL$asset\" | tr -d '\\r' | grep -i '^cache-control')\n grep -qi 'max-age=31536000' <<<\"$cc\" && grep -qi 'immutable' <<<\"$cc\" || { echo \"$asset: $cc\"; exit 1; }\ndone\n```",
|
|
743
|
+
"hubWhen": {
|
|
744
|
+
"RENDERING": [
|
|
745
|
+
"spa"
|
|
746
|
+
]
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"id": "ff-ttfb",
|
|
751
|
+
"type": "fitness-fn",
|
|
752
|
+
"label": "Server answers quickly",
|
|
753
|
+
"x": 1040,
|
|
754
|
+
"y": 1040,
|
|
755
|
+
"category": "operational",
|
|
756
|
+
"threshold": "Time to First Byte within 800 ms at the 75th percentile under the expected load",
|
|
757
|
+
"description": "A k6 test requests the main server-rendered pages at the expected load and checks the time to first byte (http_req_waiting) and that the HTML holds the main content.\n\nTool: Grafana k6\n\n```js\nimport http from 'k6/http'\nimport { check } from 'k6'\n\nexport const options = {\n vus: 50, duration: '5m',\n thresholds: { http_req_waiting: ['p(75)<800'], http_req_failed: ['rate<0.01'] },\n}\n\nexport default function () {\n const res = http.get(`${__ENV.BASE_URL}/products`)\n check(res, { 'content rendered on the server': (r) => r.body.includes('data-testid=\"product-list\"') })\n}\n```",
|
|
758
|
+
"hubWhen": {
|
|
759
|
+
"RENDERING": [
|
|
760
|
+
"ssr"
|
|
761
|
+
]
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"id": "ff-tokens",
|
|
766
|
+
"type": "fitness-fn",
|
|
767
|
+
"label": "Only design tokens",
|
|
768
|
+
"x": 1040,
|
|
769
|
+
"y": 1170,
|
|
770
|
+
"category": "structural",
|
|
771
|
+
"threshold": "0 hard-coded colours, font sizes or spacing in stylesheets outside the token files",
|
|
772
|
+
"description": "Stylelint requires design-token variables for colour, font size and spacing properties; the token files themselves are exempt.\n\nTool: Stylelint (stylelint-declaration-strict-value)\n\n```json\n{\n \"plugins\": [\"stylelint-declaration-strict-value\"],\n \"rules\": {\n \"color-no-hex\": true,\n \"scale-unlimited/declaration-strict-value\": [\n [\"/color$/\", \"font-size\", \"/^(margin|padding|gap)/\"],\n { \"ignoreValues\": [\"inherit\", \"transparent\", \"currentColor\", \"0\", \"auto\"] }\n ]\n },\n \"ignoreFiles\": [\"src/tokens/**\"]\n}\n```",
|
|
773
|
+
"hubWhen": {
|
|
774
|
+
"DESIGN": [
|
|
775
|
+
"own"
|
|
776
|
+
]
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"id": "ff-no-overrides",
|
|
781
|
+
"type": "fitness-fn",
|
|
782
|
+
"label": "No library internals styled",
|
|
783
|
+
"x": 1040,
|
|
784
|
+
"y": 1300,
|
|
785
|
+
"category": "structural",
|
|
786
|
+
"threshold": "0 selectors targeting the component library's internal class names",
|
|
787
|
+
"description": "Stylelint refuses selectors with the library's internal class prefixes, so styling goes through the theme. Adjust the patterns to the library used (MUI: .Mui, Angular Material: .mat-mdc / .mdc-, PrimeNG: .p-).\n\nTool: Stylelint (selector-disallowed-list)\n\n```json\n{\n \"rules\": {\n \"selector-disallowed-list\": [\n [\"/\\\\.Mui[A-Z]/\", \"/\\\\.mat-mdc-/\", \"/\\\\.mdc-/\", \"/::ng-deep/\"],\n { \"message\": \"Style the component library through its theme (ADR Frontend stack)\" }\n ]\n }\n}\n```",
|
|
788
|
+
"hubWhen": {
|
|
789
|
+
"DESIGN": [
|
|
790
|
+
"library"
|
|
791
|
+
]
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"id": "ff-tailwind",
|
|
796
|
+
"type": "fitness-fn",
|
|
797
|
+
"label": "No arbitrary utility values",
|
|
798
|
+
"x": 1040,
|
|
799
|
+
"y": 1430,
|
|
800
|
+
"category": "structural",
|
|
801
|
+
"threshold": "0 arbitrary values (such as bg-[#1da1f2]) in class names",
|
|
802
|
+
"description": "The Tailwind ESLint plugin refuses arbitrary values in class names, so colours, spacing and type sizes come from the theme's tokens.\n\nTool: ESLint (eslint-plugin-tailwindcss)\n\n```js\n// eslint.config.mjs\nimport tailwind from 'eslint-plugin-tailwindcss'\nexport default [\n ...tailwind.configs['flat/recommended'],\n { rules: { 'tailwindcss/no-arbitrary-value': 'error', 'tailwindcss/no-custom-classname': 'warn' } },\n]\n```",
|
|
803
|
+
"hubWhen": {
|
|
804
|
+
"DESIGN": [
|
|
805
|
+
"utility"
|
|
806
|
+
]
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
],
|
|
810
|
+
"relations": [
|
|
811
|
+
{
|
|
812
|
+
"id": "req-one-framework--derives--need",
|
|
813
|
+
"sourceId": "req-one-framework",
|
|
814
|
+
"targetId": "need",
|
|
815
|
+
"relationType": "derives"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"id": "req-vitals--derives--need",
|
|
819
|
+
"sourceId": "req-vitals",
|
|
820
|
+
"targetId": "need",
|
|
821
|
+
"relationType": "derives"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"id": "req-bundle--derives--need",
|
|
825
|
+
"sourceId": "req-bundle",
|
|
826
|
+
"targetId": "need",
|
|
827
|
+
"relationType": "derives"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"id": "req-a11y--derives--need",
|
|
831
|
+
"sourceId": "req-a11y",
|
|
832
|
+
"targetId": "need",
|
|
833
|
+
"relationType": "derives"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"id": "req-supported--derives--need",
|
|
837
|
+
"sourceId": "req-supported",
|
|
838
|
+
"targetId": "need",
|
|
839
|
+
"relationType": "derives"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"id": "req-spa-cache--derives--need",
|
|
843
|
+
"sourceId": "req-spa-cache",
|
|
844
|
+
"targetId": "need",
|
|
845
|
+
"relationType": "derives"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"id": "req-ssr--derives--need",
|
|
849
|
+
"sourceId": "req-ssr",
|
|
850
|
+
"targetId": "need",
|
|
851
|
+
"relationType": "derives"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"id": "req-static--derives--need",
|
|
855
|
+
"sourceId": "req-static",
|
|
856
|
+
"targetId": "need",
|
|
857
|
+
"relationType": "derives"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"id": "req-design-own--derives--need",
|
|
861
|
+
"sourceId": "req-design-own",
|
|
862
|
+
"targetId": "need",
|
|
863
|
+
"relationType": "derives"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"id": "req-design-library--derives--need",
|
|
867
|
+
"sourceId": "req-design-library",
|
|
868
|
+
"targetId": "need",
|
|
869
|
+
"relationType": "derives"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"id": "req-design-utility--derives--need",
|
|
873
|
+
"sourceId": "req-design-utility",
|
|
874
|
+
"targetId": "need",
|
|
875
|
+
"relationType": "derives"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"id": "req-browsers--derives--need",
|
|
879
|
+
"sourceId": "req-browsers",
|
|
880
|
+
"targetId": "need",
|
|
881
|
+
"relationType": "derives"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"id": "req-unsupported--derives--need",
|
|
885
|
+
"sourceId": "req-unsupported",
|
|
886
|
+
"targetId": "need",
|
|
887
|
+
"relationType": "derives"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"id": "req-old-devices--derives--need",
|
|
891
|
+
"sourceId": "req-old-devices",
|
|
892
|
+
"targetId": "need",
|
|
893
|
+
"relationType": "derives"
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"id": "sc-one-framework--verifies--req-one-framework",
|
|
897
|
+
"sourceId": "sc-one-framework",
|
|
898
|
+
"targetId": "req-one-framework",
|
|
899
|
+
"relationType": "verifies"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"id": "sc-vitals--verifies--req-vitals",
|
|
903
|
+
"sourceId": "sc-vitals",
|
|
904
|
+
"targetId": "req-vitals",
|
|
905
|
+
"relationType": "verifies"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"id": "sc-bundle--verifies--req-bundle",
|
|
909
|
+
"sourceId": "sc-bundle",
|
|
910
|
+
"targetId": "req-bundle",
|
|
911
|
+
"relationType": "verifies"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"id": "sc-a11y--verifies--req-a11y",
|
|
915
|
+
"sourceId": "sc-a11y",
|
|
916
|
+
"targetId": "req-a11y",
|
|
917
|
+
"relationType": "verifies"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"id": "sc-supported--verifies--req-supported",
|
|
921
|
+
"sourceId": "sc-supported",
|
|
922
|
+
"targetId": "req-supported",
|
|
923
|
+
"relationType": "verifies"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"id": "sc-spa-cache--verifies--req-spa-cache",
|
|
927
|
+
"sourceId": "sc-spa-cache",
|
|
928
|
+
"targetId": "req-spa-cache",
|
|
929
|
+
"relationType": "verifies"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"id": "sc-ssr--verifies--req-ssr",
|
|
933
|
+
"sourceId": "sc-ssr",
|
|
934
|
+
"targetId": "req-ssr",
|
|
935
|
+
"relationType": "verifies"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"id": "sc-static--verifies--req-static",
|
|
939
|
+
"sourceId": "sc-static",
|
|
940
|
+
"targetId": "req-static",
|
|
941
|
+
"relationType": "verifies"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"id": "sc-design-own--verifies--req-design-own",
|
|
945
|
+
"sourceId": "sc-design-own",
|
|
946
|
+
"targetId": "req-design-own",
|
|
947
|
+
"relationType": "verifies"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"id": "sc-design-library--verifies--req-design-library",
|
|
951
|
+
"sourceId": "sc-design-library",
|
|
952
|
+
"targetId": "req-design-library",
|
|
953
|
+
"relationType": "verifies"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"id": "sc-design-utility--verifies--req-design-utility",
|
|
957
|
+
"sourceId": "sc-design-utility",
|
|
958
|
+
"targetId": "req-design-utility",
|
|
959
|
+
"relationType": "verifies"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"id": "sc-browsers--verifies--req-browsers",
|
|
963
|
+
"sourceId": "sc-browsers",
|
|
964
|
+
"targetId": "req-browsers",
|
|
965
|
+
"relationType": "verifies"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"id": "sc-unsupported--verifies--req-unsupported",
|
|
969
|
+
"sourceId": "sc-unsupported",
|
|
970
|
+
"targetId": "req-unsupported",
|
|
971
|
+
"relationType": "verifies"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"id": "sc-old-devices--verifies--req-old-devices",
|
|
975
|
+
"sourceId": "sc-old-devices",
|
|
976
|
+
"targetId": "req-old-devices",
|
|
977
|
+
"relationType": "verifies"
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"id": "ff-lighthouse--implements--adr-react",
|
|
981
|
+
"sourceId": "ff-lighthouse",
|
|
982
|
+
"targetId": "adr-react",
|
|
983
|
+
"relationType": "implements"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"id": "ff-lighthouse--implements--adr-angular",
|
|
987
|
+
"sourceId": "ff-lighthouse",
|
|
988
|
+
"targetId": "adr-angular",
|
|
989
|
+
"relationType": "implements"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"id": "ff-lighthouse--implements--adr-vue",
|
|
993
|
+
"sourceId": "ff-lighthouse",
|
|
994
|
+
"targetId": "adr-vue",
|
|
995
|
+
"relationType": "implements"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"id": "ff-lighthouse--implements--adr-svelte",
|
|
999
|
+
"sourceId": "ff-lighthouse",
|
|
1000
|
+
"targetId": "adr-svelte",
|
|
1001
|
+
"relationType": "implements"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"id": "ff-lighthouse--implements--adr-htmx",
|
|
1005
|
+
"sourceId": "ff-lighthouse",
|
|
1006
|
+
"targetId": "adr-htmx",
|
|
1007
|
+
"relationType": "implements"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"id": "ff-field-vitals--implements--adr-react",
|
|
1011
|
+
"sourceId": "ff-field-vitals",
|
|
1012
|
+
"targetId": "adr-react",
|
|
1013
|
+
"relationType": "implements"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"id": "ff-field-vitals--implements--adr-angular",
|
|
1017
|
+
"sourceId": "ff-field-vitals",
|
|
1018
|
+
"targetId": "adr-angular",
|
|
1019
|
+
"relationType": "implements"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"id": "ff-field-vitals--implements--adr-vue",
|
|
1023
|
+
"sourceId": "ff-field-vitals",
|
|
1024
|
+
"targetId": "adr-vue",
|
|
1025
|
+
"relationType": "implements"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"id": "ff-field-vitals--implements--adr-svelte",
|
|
1029
|
+
"sourceId": "ff-field-vitals",
|
|
1030
|
+
"targetId": "adr-svelte",
|
|
1031
|
+
"relationType": "implements"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"id": "ff-field-vitals--implements--adr-htmx",
|
|
1035
|
+
"sourceId": "ff-field-vitals",
|
|
1036
|
+
"targetId": "adr-htmx",
|
|
1037
|
+
"relationType": "implements"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"id": "ff-size--implements--adr-react",
|
|
1041
|
+
"sourceId": "ff-size",
|
|
1042
|
+
"targetId": "adr-react",
|
|
1043
|
+
"relationType": "implements"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"id": "ff-size--implements--adr-angular",
|
|
1047
|
+
"sourceId": "ff-size",
|
|
1048
|
+
"targetId": "adr-angular",
|
|
1049
|
+
"relationType": "implements"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"id": "ff-size--implements--adr-vue",
|
|
1053
|
+
"sourceId": "ff-size",
|
|
1054
|
+
"targetId": "adr-vue",
|
|
1055
|
+
"relationType": "implements"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"id": "ff-size--implements--adr-svelte",
|
|
1059
|
+
"sourceId": "ff-size",
|
|
1060
|
+
"targetId": "adr-svelte",
|
|
1061
|
+
"relationType": "implements"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"id": "ff-size--implements--adr-htmx",
|
|
1065
|
+
"sourceId": "ff-size",
|
|
1066
|
+
"targetId": "adr-htmx",
|
|
1067
|
+
"relationType": "implements"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"id": "ff-axe--implements--adr-react",
|
|
1071
|
+
"sourceId": "ff-axe",
|
|
1072
|
+
"targetId": "adr-react",
|
|
1073
|
+
"relationType": "implements"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"id": "ff-axe--implements--adr-angular",
|
|
1077
|
+
"sourceId": "ff-axe",
|
|
1078
|
+
"targetId": "adr-angular",
|
|
1079
|
+
"relationType": "implements"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"id": "ff-axe--implements--adr-vue",
|
|
1083
|
+
"sourceId": "ff-axe",
|
|
1084
|
+
"targetId": "adr-vue",
|
|
1085
|
+
"relationType": "implements"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"id": "ff-axe--implements--adr-svelte",
|
|
1089
|
+
"sourceId": "ff-axe",
|
|
1090
|
+
"targetId": "adr-svelte",
|
|
1091
|
+
"relationType": "implements"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"id": "ff-axe--implements--adr-htmx",
|
|
1095
|
+
"sourceId": "ff-axe",
|
|
1096
|
+
"targetId": "adr-htmx",
|
|
1097
|
+
"relationType": "implements"
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"id": "ff-compat--implements--adr-react",
|
|
1101
|
+
"sourceId": "ff-compat",
|
|
1102
|
+
"targetId": "adr-react",
|
|
1103
|
+
"relationType": "implements"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"id": "ff-compat--implements--adr-angular",
|
|
1107
|
+
"sourceId": "ff-compat",
|
|
1108
|
+
"targetId": "adr-angular",
|
|
1109
|
+
"relationType": "implements"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"id": "ff-compat--implements--adr-vue",
|
|
1113
|
+
"sourceId": "ff-compat",
|
|
1114
|
+
"targetId": "adr-vue",
|
|
1115
|
+
"relationType": "implements"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"id": "ff-compat--implements--adr-svelte",
|
|
1119
|
+
"sourceId": "ff-compat",
|
|
1120
|
+
"targetId": "adr-svelte",
|
|
1121
|
+
"relationType": "implements"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"id": "ff-compat--implements--adr-htmx",
|
|
1125
|
+
"sourceId": "ff-compat",
|
|
1126
|
+
"targetId": "adr-htmx",
|
|
1127
|
+
"relationType": "implements"
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"id": "ff-eol--implements--adr-react",
|
|
1131
|
+
"sourceId": "ff-eol",
|
|
1132
|
+
"targetId": "adr-react",
|
|
1133
|
+
"relationType": "implements"
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"id": "ff-eol--implements--adr-angular",
|
|
1137
|
+
"sourceId": "ff-eol",
|
|
1138
|
+
"targetId": "adr-angular",
|
|
1139
|
+
"relationType": "implements"
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"id": "ff-eol--implements--adr-vue",
|
|
1143
|
+
"sourceId": "ff-eol",
|
|
1144
|
+
"targetId": "adr-vue",
|
|
1145
|
+
"relationType": "implements"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"id": "ff-eol--implements--adr-svelte",
|
|
1149
|
+
"sourceId": "ff-eol",
|
|
1150
|
+
"targetId": "adr-svelte",
|
|
1151
|
+
"relationType": "implements"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"id": "ff-eol--implements--adr-htmx",
|
|
1155
|
+
"sourceId": "ff-eol",
|
|
1156
|
+
"targetId": "adr-htmx",
|
|
1157
|
+
"relationType": "implements"
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"id": "ff-renovate--implements--adr-react",
|
|
1161
|
+
"sourceId": "ff-renovate",
|
|
1162
|
+
"targetId": "adr-react",
|
|
1163
|
+
"relationType": "implements"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"id": "ff-renovate--implements--adr-angular",
|
|
1167
|
+
"sourceId": "ff-renovate",
|
|
1168
|
+
"targetId": "adr-angular",
|
|
1169
|
+
"relationType": "implements"
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"id": "ff-renovate--implements--adr-vue",
|
|
1173
|
+
"sourceId": "ff-renovate",
|
|
1174
|
+
"targetId": "adr-vue",
|
|
1175
|
+
"relationType": "implements"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"id": "ff-renovate--implements--adr-svelte",
|
|
1179
|
+
"sourceId": "ff-renovate",
|
|
1180
|
+
"targetId": "adr-svelte",
|
|
1181
|
+
"relationType": "implements"
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"id": "ff-renovate--implements--adr-htmx",
|
|
1185
|
+
"sourceId": "ff-renovate",
|
|
1186
|
+
"targetId": "adr-htmx",
|
|
1187
|
+
"relationType": "implements"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"id": "ff-cache-headers--implements--adr-react",
|
|
1191
|
+
"sourceId": "ff-cache-headers",
|
|
1192
|
+
"targetId": "adr-react",
|
|
1193
|
+
"relationType": "implements"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"id": "ff-cache-headers--implements--adr-angular",
|
|
1197
|
+
"sourceId": "ff-cache-headers",
|
|
1198
|
+
"targetId": "adr-angular",
|
|
1199
|
+
"relationType": "implements"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"id": "ff-cache-headers--implements--adr-vue",
|
|
1203
|
+
"sourceId": "ff-cache-headers",
|
|
1204
|
+
"targetId": "adr-vue",
|
|
1205
|
+
"relationType": "implements"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"id": "ff-cache-headers--implements--adr-svelte",
|
|
1209
|
+
"sourceId": "ff-cache-headers",
|
|
1210
|
+
"targetId": "adr-svelte",
|
|
1211
|
+
"relationType": "implements"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"id": "ff-cache-headers--implements--adr-htmx",
|
|
1215
|
+
"sourceId": "ff-cache-headers",
|
|
1216
|
+
"targetId": "adr-htmx",
|
|
1217
|
+
"relationType": "implements"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"id": "ff-ttfb--implements--adr-react",
|
|
1221
|
+
"sourceId": "ff-ttfb",
|
|
1222
|
+
"targetId": "adr-react",
|
|
1223
|
+
"relationType": "implements"
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"id": "ff-ttfb--implements--adr-angular",
|
|
1227
|
+
"sourceId": "ff-ttfb",
|
|
1228
|
+
"targetId": "adr-angular",
|
|
1229
|
+
"relationType": "implements"
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"id": "ff-ttfb--implements--adr-vue",
|
|
1233
|
+
"sourceId": "ff-ttfb",
|
|
1234
|
+
"targetId": "adr-vue",
|
|
1235
|
+
"relationType": "implements"
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"id": "ff-ttfb--implements--adr-svelte",
|
|
1239
|
+
"sourceId": "ff-ttfb",
|
|
1240
|
+
"targetId": "adr-svelte",
|
|
1241
|
+
"relationType": "implements"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"id": "ff-ttfb--implements--adr-htmx",
|
|
1245
|
+
"sourceId": "ff-ttfb",
|
|
1246
|
+
"targetId": "adr-htmx",
|
|
1247
|
+
"relationType": "implements"
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"id": "ff-tokens--implements--adr-react",
|
|
1251
|
+
"sourceId": "ff-tokens",
|
|
1252
|
+
"targetId": "adr-react",
|
|
1253
|
+
"relationType": "implements"
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"id": "ff-tokens--implements--adr-angular",
|
|
1257
|
+
"sourceId": "ff-tokens",
|
|
1258
|
+
"targetId": "adr-angular",
|
|
1259
|
+
"relationType": "implements"
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"id": "ff-tokens--implements--adr-vue",
|
|
1263
|
+
"sourceId": "ff-tokens",
|
|
1264
|
+
"targetId": "adr-vue",
|
|
1265
|
+
"relationType": "implements"
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
"id": "ff-tokens--implements--adr-svelte",
|
|
1269
|
+
"sourceId": "ff-tokens",
|
|
1270
|
+
"targetId": "adr-svelte",
|
|
1271
|
+
"relationType": "implements"
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"id": "ff-tokens--implements--adr-htmx",
|
|
1275
|
+
"sourceId": "ff-tokens",
|
|
1276
|
+
"targetId": "adr-htmx",
|
|
1277
|
+
"relationType": "implements"
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"id": "ff-no-overrides--implements--adr-react",
|
|
1281
|
+
"sourceId": "ff-no-overrides",
|
|
1282
|
+
"targetId": "adr-react",
|
|
1283
|
+
"relationType": "implements"
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"id": "ff-no-overrides--implements--adr-angular",
|
|
1287
|
+
"sourceId": "ff-no-overrides",
|
|
1288
|
+
"targetId": "adr-angular",
|
|
1289
|
+
"relationType": "implements"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"id": "ff-no-overrides--implements--adr-vue",
|
|
1293
|
+
"sourceId": "ff-no-overrides",
|
|
1294
|
+
"targetId": "adr-vue",
|
|
1295
|
+
"relationType": "implements"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"id": "ff-no-overrides--implements--adr-svelte",
|
|
1299
|
+
"sourceId": "ff-no-overrides",
|
|
1300
|
+
"targetId": "adr-svelte",
|
|
1301
|
+
"relationType": "implements"
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"id": "ff-no-overrides--implements--adr-htmx",
|
|
1305
|
+
"sourceId": "ff-no-overrides",
|
|
1306
|
+
"targetId": "adr-htmx",
|
|
1307
|
+
"relationType": "implements"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"id": "ff-tailwind--implements--adr-react",
|
|
1311
|
+
"sourceId": "ff-tailwind",
|
|
1312
|
+
"targetId": "adr-react",
|
|
1313
|
+
"relationType": "implements"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"id": "ff-tailwind--implements--adr-angular",
|
|
1317
|
+
"sourceId": "ff-tailwind",
|
|
1318
|
+
"targetId": "adr-angular",
|
|
1319
|
+
"relationType": "implements"
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"id": "ff-tailwind--implements--adr-vue",
|
|
1323
|
+
"sourceId": "ff-tailwind",
|
|
1324
|
+
"targetId": "adr-vue",
|
|
1325
|
+
"relationType": "implements"
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"id": "ff-tailwind--implements--adr-svelte",
|
|
1329
|
+
"sourceId": "ff-tailwind",
|
|
1330
|
+
"targetId": "adr-svelte",
|
|
1331
|
+
"relationType": "implements"
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"id": "ff-tailwind--implements--adr-htmx",
|
|
1335
|
+
"sourceId": "ff-tailwind",
|
|
1336
|
+
"targetId": "adr-htmx",
|
|
1337
|
+
"relationType": "implements"
|
|
1338
|
+
}
|
|
1339
|
+
]
|
|
1340
|
+
}
|