For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/1.0.0/de/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/1.0.0/de/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/1.0.0/de/showcase.md.

Dies ist die deutsche MFDoctor-Dokumentation. Technische Bezeichner, CLI-Flags, Regel-IDs und Codebeispiele bleiben unverändert, damit die Inhalte zwischen den Sprachen vollständig kompatibel bleiben. Verwenden Sie den Sprachumschalter für die kanonische englische Fassung.

One-rule CLI showcase

examples/showcase holds themed, intentional misconfigs for the CLI. Run them to see the exact rule IDs MFDoctor reports one fixture at a time:

pnpm demo:showcase

For per-bundler build+MFDoctor demos (Vite / Webpack / Rspack / Rsbuild), see standalone findings (pnpm demo:standalone).

Prefer fixtures where a missing or weak config would still reach a Module Federation plugin or build. Hard plugin failures (for example an empty name) stay as rules, not showcases.

Config

SetupCommandFinding
Expose key without ./node dist/cli.js check examples/showcase/config/expose-key-invalid --ciconfig/expose-key-invalid (error)
Missing expose pathnode dist/cli.js check examples/showcase/config/expose-path-missing --ciconfig/expose-path-missing (error)
Invalid remote entrynode dist/cli.js check examples/showcase/config/remote-entry-invalid --ciconfig/remote-entry-invalid (error)
Invalid filenamenode dist/cli.js check examples/showcase/config/filename-invalid --ciconfig/filename-invalid (error)
Undeclared share scopenode dist/cli.js check examples/showcase/config/share-scope-undeclared --ciconfig/share-scope-undeclared (error)
Insecure remote HTTPnode dist/cli.js check examples/showcase/config/remote-http-insecure --ciconfig/remote-http-insecure (warning)
Local implementationnode dist/cli.js check examples/showcase/config/implementation-local --cino findings (heuristic does not fire)
Suspicious impl mutednode dist/cli.js check examples/showcase/config/implementation-suspicious-suppressed --cino findings ("off")
Localhost remotes in CInode dist/cli.js check examples/showcase/config/remote-localhost-in-production --ciconfig/remote-localhost-in-production (warning)
Alias prefix collisionnode dist/cli.js check examples/showcase/config/remote-alias-prefix-collision --ciconfig/remote-alias-prefix-collision (error)
DTS outputDir mismatchnode dist/cli.js check examples/showcase/config/dts-output-dir-mismatch --ciconfig/dts-output-dir-mismatch (warning)

Shared

SetupCommandFinding
Eager without singletonnode dist/cli.js check examples/showcase/shared/eager-without-singleton --cishared/eager-without-singleton (warning)
Version unsatisfiednode dist/cli.js check examples/showcase/shared/version-unsatisfied --cishared/version-unsatisfied (error)
Singleton risknode dist/cli.js check examples/showcase/shared/singleton-risk --cishared/singleton-risk (warning)
Singleton risk mutednode dist/cli.js check examples/showcase/shared/singleton-risk-suppressed --cino findings ("off")
Unused sharednode dist/cli.js check examples/showcase/shared/unused --cishared/unused (warning)
Unused + unresolved dynnode dist/cli.js check examples/showcase/shared/unused-unresolved --cidoctor/partial-analysis (no shared/unused)
Shared candidatenode dist/cli.js check examples/showcase/shared/candidate --cishared/candidate (info)
Shared candidate mutednode dist/cli.js check examples/showcase/shared/candidate-suppressed --cino findings ("off")
Deep-import bypassnode dist/cli.js check examples/showcase/shared/deep-import-bypass --cishared/deep-import-bypass (warning)

Reliability

SetupCommandFinding
Version-first offline remotesnode dist/cli.js check examples/showcase/reliability/version-first-offline-remotes --cireliability/version-first-offline-remotes (warning)
Shared import: falsenode dist/cli.js check examples/showcase/reliability/shared-import-false --cireliability/shared-import-false (warning)

Federation

SetupCommandFinding
Version conflictnode dist/cli.js federation "examples/showcase/federation/version-conflict/*.project.json"federation/version-conflict (error)
Share scope mismatchnode dist/cli.js federation "examples/showcase/federation/share-scope-mismatch/*.project.json"federation/share-scope-mismatch (error)
Share strategy mismatchnode dist/cli.js federation "examples/showcase/federation/share-strategy-mismatch/*.project.json"federation/share-strategy-mismatch (warning)
Circular remote graphnode dist/cli.js federation "examples/showcase/federation/circular-remote-graph/*.project.json"federation/circular-remote-graph (warning)
Singleton mismatchnode dist/cli.js federation "examples/showcase/federation/singleton-mismatch/*.project.json"shared/singleton-mismatch (warning)
Name conflictnode dist/cli.js federation "examples/showcase/federation/name-conflict/*.project.json"federation/name-conflict (error)
Missing providernode dist/cli.js federation "examples/showcase/federation/missing-provider/*.project.json"federation/missing-provider (error)
Host gapsnode dist/cli.js federation "examples/showcase/federation/host-gaps/*.project.json"federation/host-gaps (warning)
Ghost sharesnode dist/cli.js federation "examples/showcase/federation/ghost-shares/*.project.json"federation/ghost-shares (info)

Runtime

SetupCommandFinding
Healthy tracenode dist/cli.js runtime examples/showcase/runtime/green/trace.json "examples/showcase/runtime/green/*.project.json"no findings (exit 0)
Shared mismatchnode dist/cli.js runtime examples/showcase/runtime/shared-mismatch/trace.json "examples/showcase/runtime/shared-mismatch/*.project.json"runtime/shared-mismatch (error)

These directories are demo fixtures, not runnable apps. Keep mixed federation for the healthy multi-bundler path, nested federation for multi-level orchestration, mixed federation issues for a red combination, and standalone findings for per-bundler build demos. See Examples for the full catalog.