Machine-translated – improvements welcome. Suggest an improvement
Style and dependencies¶
Two tools check the code before it reaches main (#899): ESLint for typical programming mistakes and functions that are too large, dependency-cruiser for the direction of imports between server, interface and shared code. Both run in CI in the job stil, in parallel with the tests, and both know the existing code: whatever already broke a rule when they were introduced is on a list and is not reported. New code, on the other hand, is fully strict – every violation is an error.
Commands¶
| Command | What |
|---|---|
npm run format |
format all files (Prettier; two passes, because Prettier sometimes only finishes breaking long method chains in the second; a little over two minutes in total) |
npm run format:pruefen |
only check whether everything is formatted – exactly the CI check |
npm run lint |
ESLint across server, tests, interface and shared (with type information, a little over a minute); npm run lint -- --quiet shows errors only |
npx eslint server/src/dienst/dienst.ts |
single files only – quicker while working |
npm run lint:abh |
check dependencies (dependency-cruiser, a few seconds) |
npm run lint:zaehlen |
count the lists of existing violations against main – exactly the CI check |
npm run lint:umtragen |
after a move: rewrite the lists, drop orphaned entries, then count |
npm run lint:farben |
no fixed colours outside tokens.css |
npm run lint:klassen |
every class once and with its owner, no unused classes, z-index only as a layer |
npm run lint:tot |
dead code: unused files, exports and dependencies (knip, a few seconds) |
node .github/werkzeuge/fachordner-pruefen.mjs |
every subject folder with a *.dienst.ts has index.ts and README.md (#1072) |
npm run abhaengigkeitsbild |
regenerate the dependency graph |
The tools are fixed versions (without ^) under devDependencies in the root folder and do not go into the image: there, npm ci --omit=dev --workspace server installs only the server's runtime packages.
Formatting¶
What the code looks like – indentation, line breaks, quotes, commas – is decided by Prettier (#1280), not by the author. That keeps reviews about content. Prettier is a fixed version under devDependencies; in the job stil, CI checks with npm run format:pruefen that every file looks the way Prettier writes it.
- Settings in
.prettierrc.json: line length 140, indentation 2 spaces, single quotes (double in JSX), semicolons, a comma after the last entry of multi-line lists. Template literals (`…`) are left untouched, including embedded CSS or HTML. - Exceptions in
.prettierignore: Markdown, YAML, HTML and CSS (CSS stays at “one rule per line” because the colour check works line by line),package-lock.json, generated files such as the lists of existing violations, and test fixtures whose bytes matter (signatures, checksums, raw PDF bodies). Add new fixtures of this kind there. - Language files are formatted by Prettier too;
shared/test/sprachdateien-format.test.tsmakes sure every value stays the same. - Editor: in VS Code, the extension Prettier – Code formatter (
esbenp.prettier-vscode) with"editor.formatOnSave": trueand"prettier.requireConfig": true; it uses the Prettier fromnode_modules. In JetBrains IDEs, under Languages & Frameworks → Prettier, “Automatic Prettier configuration” and “Run on save”. Without an editor integration, runnpm run formatbefore committing. git blame: the one commit that formatted everything is listed in.git-blame-ignore-revs(section “Formatierer”). GitHub skips it by itself; locally, rungit config blame.ignoreRevsFile .git-blame-ignore-revsonce.- Verifiable: a formatting commit contains nothing but Prettier's output.
bash .github/werkzeuge/formatierung-nachpruefen.sh <commit>runs Prettier on the state before it and compares – the difference must be empty. CI does this for every new entry in the section “Formatierer” (a condition from the security review). A later formatting commit (for example after a Prettier update) goes into the same section.
Rules and values¶
The settings are in eslint.config.js (flat config, ESLint 10). The basis is the recommended rules of ESLint and typescript-eslint; on top of that:
| Rule | Value | Target |
|---|---|---|
max-params |
5 | 4 |
complexity |
20 (error) | 10 |
ablago/komplexitaet-hinweis |
15 (warning only) | – |
max-lines-per-function |
105; in *.tsx 260; in *.routen.ts 105 per handler |
– |
max-lines |
700 per file | – |
max-depth |
4 | – |
@typescript-eslint/no-floating-promises |
on | – |
@typescript-eslint/no-misused-promises |
on | – |
@typescript-eslint/no-explicit-any |
on | – |
@typescript-eslint/no-unused-vars |
on; unused only allowed with _ (see below), no existing entries |
– |
react-hooks/rules-of-hooks, react-hooks/exhaustive-deps |
on (interface) | – |
ablago/bausteine |
on (web/src/**/*.tsx except web/src/bausteine/) |
– |
ablago/knopf-farben |
on (web/src/**/*.tsx) |
– |
ablago/gemerkte-formate |
on (server/src/, shared/src/ except shared/src/region.ts) |
– |
@eslint-community/eslint-comments/require-description |
on | – |
Lengths are counted without blank lines and comments – explanations in the code should cost nothing.
- Two thresholds for complexity: in ESLint, a rule has only one level.
ablago/komplexitaet-hinweisis the samecomplexityrule again, with 15 as a warning; CI shows the warnings only for the files a pull request changes, as an annotation on the line. Locallynpm run lintshows errors only;npm run lint:hinweiseshows the warnings (#1779). The custom rules are in.github/werkzeuge/eslint-ablago.mjs. - Route files (
*.routen.ts, #960): each handler is measured on its own. Only the outer registration function is exempt – an exported top-level function that registers the handlers. If the routes are a list at module level, each handler counts on its own anyway. - Tests (
server/test/,web/test/,shared/test/): withoutmax-linesandmax-lines-per-function, otherwise the same rules.test(),describe()andit()fromnode:testdo not count as "not awaited". - Tool scripts (
.github/werkzeuge/*.mjs,server/test/*.mjs,web/test/*.mjs,web/rauchtest/**/*.mjs): only ESLint's basic rules, without type information; the smoke tests additionally withmax-lines700 per file (#1234). For the styles,npm run lint:farbenlimits every CSS file underweb/src/to 400 lines, also without blank lines and comments. - Building blocks (
ablago/bausteine, #968): in the interface a raw<button>is an error – useKnopf.<input>,<select>and<textarea>are errors when they are not insideFeld,HakenFeldorFeldGruppe. Exempt are invisible inputs (type="hidden",type="file") and the building blocks themselves underweb/src/bausteine/. For cases the building blocks deliberately do not cover (search field without a visible label, input in a table cell, see Field), an exception with a reason in the code applies. The existing code when the rule was switched on is ineslint-suppressions.json. - Colour on the button (
ablago/knopf-farben, #1210): colour classes viaclassNameonKnopf,KnopfLinkandknopfAussehen()–gefahr,gefahr-rand,gruen,primaer– are an error; the colour comes from the kind (principles). All fixed texts in the value are checked, including in conditions and template strings. The existing code when the rule was switched on (11 places) is ineslint-suppressions.jsonand is reduced in #1211–#1215. Test:.github/werkzeuge/eslint-ablago.test.mjs. - Remembered formats (
ablago/gemerkte-formate, #1335): on the server and in shared code,toLocaleString(…, {…})with options is an error (as aretoLocaleDateStringandtoLocaleTimeString), and so arenew Intl.DateTimeFormatandnew Intl.NumberFormat. Each such call builds a new format outside the heap; in a loop (export, titles, information requests) memory grows (Performance, #970). Use the remembered formats fromshared/src/region.tsinstead:datumsformat,zahlformat,zeitText(likeDate.toLocaleString, in the region's time zone) andtagIn. Without options (n.toLocaleString(gebietsschema())) V8 remembers the format itself; that stays allowed. The existing code when the rule was switched on (19 places, mostly once per request or message) is ineslint-suppressions.json; whoever touches one of them converts it. - Unused variables (
no-unused-vars, #1273): what nobody reads goes – an import, a variable, a field when unpacking. Only three things may deliberately stay unused, and they start with_: a parameter the signature requires ((_a, b) => b), a field that is to be dropped when unpacking with...rest(const { geheim: _g, ...rest } = x), and_on its own as a loop variable that only drains a stream (for await (const _ of strom) {}). There are no existing entries for this rule any more. - Promises in the interface:
onClick={async () => …}reportsno-misused-promises, because React does not wait for the promise and an error would go unnoticed. Better:onClick={() => void speichern()}with its owntry/catchinspeichern. - Do not swallow errors (
ablago/fehler-nicht-verschlucken, #1782): On the server an empty error handler is an error –.catch(() => {}),.catch(() => undefined)or an empty second argument to.then. An error swallowed like this leaves no trace, not even when hunting for a cause. If the error really does not matter for the flow, use.catch(leise('Postfach abrufen', 'post'))fromprotokoll/protokoll.ts: it writes the error with the reason to the log at leveldebug. Only where even that does not fit (cleaning up after another error) does the reason go into the block as a comment:.catch(() => { /* file was already gone */ }). Important errors (such as file permissions of secret files) belong in the log withwarn. The existing cases when the rule was switched on (256 places) are ineslint-suppressions.json; whoever touches one converts it.
Exceptions in the code¶
If a rule really has to give way in one place, do it with a reason after --:
}, [fehlend]); // eslint-disable-line react-hooks/exhaustive-deps -- Namen nur nachladen, wenn sich die Liste ändert
An exception without a reason, without a rule name (/* eslint-disable */) or without effect is itself an error. If Prettier may break the spot across several lines, prefer a pair /* eslint-disable rule -- reason */ … /* eslint-enable rule */ around the statement – a -line exception only applies to its one line.
Existing code: move yes, add no¶
When the tools were introduced, the code had around 700 violations – mostly functions that are too complex, unused variables and async in interface events. They are listed in eslint-suppressions.json (file → rule → count, created with eslint --suppress-all). ESLint does not report them as long as a file has no more violations of a rule than listed there. In the same way, the cycles that already existed were listed in .dependency-cruiser-known-violations.json – since #1278 (step 5) none is left there; the list stays for other violations of the dependency rules.
For both lists – and for knip-bestand.json (dead code) – the total must never rise. In a pull request, CI counts them against the state of the base (.github/werkzeuge/ausnahmen-zaehlen.mjs) and fails if a number grows.
- Moving is allowed. If a function moves to another file (for example when splitting
routen.ts), its entry moves with it:npm run lint:umtragenrewrites the lists and drops what no longer occurs. The total stays the same – the check is green. - Adding is not. New or changed code that breaks a rule is fixed, not listed.
lint:umtragenwould include it, but then the number grows and CI reports for which rule. - Switching on a new rule. Whoever introduces a rule freezes only its existing violations:
npx eslint --suppress-rule <rule> --pass-on-unpruned-suppressions .– the other entries stay as they are. The total rises without the code getting worse;ausnahmen-zaehlen.mjstherefore leaves the new rule out and shows its entries as “neue Regel … (Ausgangspunkt)”. A rule is new if it has no entry in the base and its name ('rule') is newly added toeslint.config.js– so it shows up in the pull request, and a rule that has long been on without entries cannot be frozen silently. From the next state on, its entries count like any others. - Changing a limit. If the value of a rule changes in
eslint.config.js(as with the formatter: the lengths ×1.75, #1280), its entries also start afresh:ausnahmen-zaehlen.mjsleaves the rule out and shows “Grenze von … geändert (neuer Ausgangspunkt)”. Changed means: the lines naming the rule differ from the base, ignoring comments and whitespace. - Fewer is welcome. Whoever simplifies a function can shrink the list right away with
npx eslint --prune-suppressions .– otherwise the workflow below does it.
Cleaning up on main¶
The workflow Bestandslisten aufräumen (.github/workflows/ausnahmen-aufraeumen.yml) runs after every push to main: eslint --prune-suppressions drops entries that no longer occur in the code, and dependency-cruiser rewrites its list. If anything changes, it creates the branch ausnahmen-aufraeumen and opens a pull request – or updates the open one.
By a GitHub rule, pull requests created with the GITHUB_TOKEN do not start any workflows; the required checks are then missing. So: close this pull request once and reopen it – then all checks run as usual. It needs no release note, as it only changes the two lists.
Colours from tokens¶
Colours live only in web/src/tokens.css (#966) – as variables with meaningful names, light in the :root block and dark in the @media (prefers-color-scheme: dark) block. Dark mode therefore has exactly one place; the designs (Workbench → Designs, web/src/design.ts) also read both blocks from this file and only put their own primary and secondary colours on top. web/src/stile/*.css, basis.css and the interface code never contain a colour value, always var(--name); semi-transparent shades are made with color-mix(in srgb, var(--name) 16%, transparent).
| Token | For |
|---|---|
--grund, --flaeche, --senke, --tinte, --leise, --linie, --linie-stark |
page, surfaces, text and lines (--linie-stark for dividers and card borders) |
--rand-eingabe |
border of inputs, selects and the colour picker – at least 3:1 against --flaeche and --senke (WCAG 1.4.11, #1026) |
--akzent, --gruen, --schlecht, --warn with -zart and -tinte |
colour, soft background, text on the full colour |
--verwaltung, --verwaltung-tinte |
red bar in administration mode |
--schatten-zart, --schatten, --schatten-stark, --schleier, --schleier-stark |
shadows of floating surfaces, veil behind dialogs |
--papier, --papier-auswahl, --papier-wort, --schwaerzung, --markierung-1 … -6 |
documents and marks on them – they stay as on paper in the dark, too |
A new token always gets a light and a dark value (or deliberately the same one, as for paper). Text on its surface must reach at least 4.5:1 in both modes, the border of inputs (--rand-eingabe) at least 3:1 against --flaeche and --senke – in high contrast, too; web/test/tokens.test.ts checks this for the pairs.
Check: npm run lint:farben (.github/werkzeuge/farben-pruefen.mjs) looks in web/src/**/*.css except tokens.css for hex values, rgb()/hsl() and the like, and named colours such as white; in *.ts(x) for colour values in strings. CI runs it in the job stil; every finding is an error. Exceptions need a reason on the same line – /* farbe-erlaubt: printing is always black on white */ – or, for whole files, an entry with a reason in AUSNAHMEN in the script (today: design.ts with the values for high contrast, the sample documents of the stamp preview).
Building blocks: How fields, buttons and other parts of the interface look and behave is defined by the building blocks in web/src/bausteine/ – pages put them together instead of writing spacing, colours or aria attributes themselves. More under Design and building blocks.
Every class once and with its owner¶
Every class of the styles stands at top level in exactly one file, that of its owner (#1270): a class that only one area sets is in that area’s file (web/src/ablage/ablage-*.css, web/src/werkbank/werkbank*.css, web/src/einrichtung/einrichtung.css …), together with its mobile rules; a class that several areas set is in web/src/stile/gemeinsam-*.css; a class of a component is in its module. “At top level” means: it is the first class of a selector – .kachel:hover belongs to .kachel, .blatt .kachel belongs to .blatt. That way nobody overrides a rule elsewhere without noticing. Global button classes no longer exist: surroundings adjust a button via [data-knopf="…"], a tag via [data-etikett].
z-index has layers in tokens.css (--ebene-innen, --ebene-leiste, --ebene-kopf, --ebene-menue, --ebene-blatt, --ebene-panel …); a part that must lie above its own layer writes calc(var(--ebene-blatt) + 1).
Check: npm run lint:klassen (.github/werkzeuge/klassen-pruefen.mjs) reports a class in more than one file, a class the interface never sets (no word in a string under web/src, for modules no s.name), and every z-index except a layer, 0, -1 and auto. CI runs it in the stil job.
Dead code (knip)¶
knip (#1286) looks for files that are never included, exports and types nobody imports, and packages that are used but not listed in the package.json of their part (or the other way round). npm run lint:tot runs it via .github/werkzeuge/knip-pruefen.mjs; CI does the same in the stil job.
- Configuration in
knip.jsonc: the parts (root with tools, manual scripts andshared/,server,web,web/rauchtest) with their entry points. Whatever knip does not find by itself – a script loaded by an HTML page, a file onlytscchecks – is listed there as an entry point with a reason. The same goes for every exception (ignoreDependencies,ignoreBinaries, such as the poppler and qpdf programs). - Files and dependencies have no list of existing findings: every finding is an error. A package a part uses belongs in its own
package.jsonwith an exact version – not “by chance” through another package. - Exports and types found when knip was introduced are listed in
knip-bestand.json(names per file) and stay quiet. A new unused export is an error. The same rule as above applies: the count must not grow (lint:zaehlen);npm run lint:tot -- --umtragenrewrites the list after a move. Entries without a finding are reported as a notice. - Before deleting an export knip reports, check briefly whether the manual, a template or an anchor (
shared/entdecken/anker.yaml) mentions it. TheDMS_…_ABmarkers (from which version a manifest field applies) stay even if the code does not read them.
Dependencies between the parts¶
.dependency-cruiser.cjs defines who may import whom (npm run lint:abh):
- No cycles between files (
kein-kreislauf) – a cycle is an error, it is not in the baseline. Type-only imports (import type,import('…').Type) count as well – inshared/src/andweb/src/since #1278 (step 5a), inserver/src/since step 5b: a cycle through types alone also glues files together – neither can be read or moved without the other. Tests are exempt. How to resolve a cycle:- Shape downwards: types that several files share go into a file that imports nothing back – the file that evaluates them takes them from there and re-exports them where others used to take them from it. Examples: the settings on a field and a folder type (reminder, "follows from", recognition, format, retention …) live in
shared/src/model/angaben.ts, the rule set inmodel/regelwerk.ts, the labels inmodel/beschriftungen.ts; the shape of automations inshared/src/automatisierung-typen.ts; the rights on a view next to the view (sichten/baum.ts). In the server, the shape of routes inhttp/routen-typen.ts(see below), the IMAP connection inpost/postfach-typen.ts, the plan of the emergency sheet inpdf/notfallblatt.ts, file name and text recognition of documents indokumente/gemeinsam.ts, and a subject folder's connection in itsanschluss.ts(aufgaben/,loeschen/,datenschutz/). - Second door: parts that the domain model itself imports (validation rules, values and system folder types use e.g.
beschriftung.ts,folgtaus.ts,tabelle.ts,verweisziele.ts) take the model frommodel/basis.ts– the shape of field, folder type and folder without validation rules – not frommodel/index.ts. Everything inbasis.tsis also available throughindex.ts. - Narrow connection instead of the whole class: if a part receives its owner (
new Historie(this)in the core), it describes with a small interface what it needs from it (HistorieAnschlussinserver/src/kern/historie.ts) instead of importing the class. Likewise, recognition, translation, questions to the archive and the mailboxes do not take the wholeDienstbut an interface with the parts they call (ErkennungDienstinerkennung/erkennung-basis.ts,PostfachDienst…;Pick<Class, 'method'>). - Describe parts instead of importing them: if the classes of a subject folder call each other through
teile, each names only the parts it calls (Pick<Class, …>for classes further down). If one class calls almost all others and they call it, a file of its own describes what the others need from it, and the class fulfils that (aufgaben/vertretung-teil.ts,class AufgabenVertretung implements VertretungTeil). The full list that the service assembles sits at the top (aufgaben/aufgaben-teile.ts); the folder keeps its connection inanschluss.ts. - State next to the interface: hooks and state that parts of a page share go into a file of their own (
web/src/werkbank/paketeZustand.ts,betriebZustand.ts,web/src/erreichbarkeit.ts); a child describes itself what it receives from its parent (PostfachStand.tsx). - Counter-check:
npm run lint:abhnames the cycle with all files on it.
- Shape downwards: types that several files share go into a file that imports nothing back – the file that evaluates them takes them from there and re-exports them where others used to take them from it. Examples: the settings on a field and a folder type (reminder, "follows from", recognition, format, retention …) live in
shared/imports neitherserver/norweb/– the code runs in both.web/never importsserver/,server/neverweb/– not even the tests underserver/test/; interface tests live underweb/test/(#1282). Exception:shared/test/checks language files and shared code across all parts.- Technical folders only via
index.ts: the PDF moduleserver/src/pdf/(except forarbeit/vorgaenge.ts, which runs the operations in the worker thread) andserver/src/arbeit/; the reposerver/src/repo/only via its threeindex.ts(interface,pg/,speicher/;repo-nur-ueber-index, #1278). Likewise the folders inshared/src/that used to be one file – the domain modelmodel/,erkennung/,pakete/andsichten/– only via theirindex.ts(shared-ordner-nur-ueber-index, #1278, listSHARED_ORDNER); imports read…/shared/src/modeletc. as before. The domain model has a second door,model/basis.ts(see above, #1278, step 5). Three exceptions, so that no cycle arises through the door:feldformate.tstakes the IBAN check fromerkennung/angaben.ts, the domain model the typeFeldbedingungfromsichten/bedingungen.ts, and the conditions the field type frommodel/feldtypen.ts. - Subject folders (#1072, one rule
fachordnerfor all, previously two per folder): from outside only via theirindex.ts– tests included –, and layers downwards only. The layers are kept in one place inSCHICHTEN(core 0,zugriff1,mappentypen/mappen/dokumente/berechtigungen/ereignisse2, all others 3, future ones too), the folders without business logic inTECHNIK. The core imports only itself,shared/and the base (BASISin the file: repo, database, log, texts, settings, files, counters, errors, limits); higher layers also lower subject folders and the tools (WERKZEUGE:messung.ts,vektoren.ts, since #1075 the file technology –hochladen.ts,verkleinern.ts,dateiumwandlung.ts,archivfassung.ts,entsperren.ts,paketvolltext.ts–, since #1077 the technology for post, outgoing and editing PDFs –pdfseiten.ts,graubild.ts,schwaerzen.ts,ausgabe.ts,export.ts,xlsx.ts,zip.ts,mail.ts–, since #1078 the technology for deleting and data protection –baum.ts,schriftstueck.ts,auskunft.ts,vollexport.ts,abruf.ts,passwort.ts,tresor.ts–,pdf/,arbeit/) – neverdienst.ts. Routes (*.routen.ts) are exempt:routen.tsfetches them directly, and they may import the service and their own subject folder. See core, checking permissions. - Above the service (#1278): package management and package creation (
pakete/verwaltung/,pakete/erstellung/) and the automation engine (automatisierung/motor/) receive the whole service, and the service importspakete/index.ts. So that no cycle runs throughdienst.ts, each of these subfolders has its ownindex.tsas a door (UEBER_DEM_DIENST). They importdienst.tsas a type only (ueber-dem-dienst-typ) and, until those move themselves, may importkatalogsignatur.ts,projektschluessel.ts,entdecken.ts,entdecken-werkbank.tsandlizenztexte.tsdirectly, the engine alsozeitplan.ts,system.ts,aufgabenmail.tsandautomatisierung-werkbank.ts. - Without door (#1278,
OHNE_TUER): the files that sat directly inserver/src/until step 4a now live in their folders, but not yet behind theirindex.ts. The rules treat them as before: anyone may import them directly, the layers do not check them, and subject folders may only import those that a list names (base, tools, neighbours, parts above the service). The lists name paths fromserver/src/(e.g.datenbank/db). Whoever moves a file behind the door removes it fromOHNE_TUER. Parts that step 4b split such a file into (dienst/bauteile.ts,webdav/webdav-*.ts,post/postfach-typen.tsfrom step 5b,sicherung/sicherung-*.ts,sicherung/wiederherstellung-*.ts,erkennung/erkennung-*.ts,export/vollexport-*.ts) are listed there with it. - Neighbours (#1278,
NACHBARN): files without a door that a subject folder may also import –konten/may importanmeldung/anmeldesperre.ts,konten/konto-repo.ts,anmeldung/zweifaktor.ts,anmeldung/passkeys.tsandanmeldung/oidc.ts. - Start-up only from
ablago.ts(#1278,start-nur-aus-ablago): onlyablago.tsimports the start-up sections inserver/src/start/(a technical folder likehttp/). - Registering new routes (#960, #1278 step 5b): the routes of a subject area live in
<folder>/<folder>.routen.tsas a function(k: RoutenKontext) => Route[]. The shape (Route,Anfrage,Antwort,Datei,Zugang) comes fromhttp/routen-typen.ts, the context fromhttp/routen-kontext.ts, helpers fromhttp/routen-hilfen.ts– never fromhttp/routen.ts. The function is registered in the listBEREICHEinhttp/routen.ts; the order of the list is the registration order (route list, Fastify, OpenAPI), a new function goes at the end unless something else is needed.http/routen.tsis the only file that imports subject routes, and no subject file importshttp/routen.ts– so no cycle arises. What start-up passes to routes and context is described byRoutenExtrasinhttp/routen-extras.ts;http/datei-koepfe.tsbuilds the headers of delivered files. For tests,Anfrage,Antwort,Datei,RouteanddateiKoepferemain available throughhttp/routen.tsas well. - HTTP layer helpers only in routes (#961,
routen-hilfen-nur-in-routen):http/routen-hilfen.tsandhttp/routen-kontext.tsare imported only by*.routen.tsandrouten.ts. Business logic gets the user passed in instead of reading it from the request itself (for example withich(a)). - Door and description: every subject folder with a
*.dienst.tsneedsindex.tsand a hand-writtenREADME.md(.github/werkzeuge/fachordner-pruefen.mjs, stil job). Nobody checks what the README says; there is no generated part.
Dependency graph¶
The graph shows the imports at folder level; the number on an arrow is the number of imports. Files directly under src/ appear as "(Wurzel)" (root). npm run abhaengigkeitsbild regenerates the source grafiken/abhaengigkeiten.mmd and, if the Mermaid CLI (mmdc) is installed, the image too.
