Frameworks

NestJS

Decorator-loaded modules treated as entries.

What's auto-detected

  • *.controller.{ts,js}
  • *.module.{ts,js}
  • *.service.{ts,js}
  • *.guard.{ts,js}
  • main.{ts,js}
Decorator-based wiring is invisibleNestJS connects modules via @Module decorators, not imports. The parser doesn't read decorator arguments yet, so file-to-file edges may be incomplete. But all these files are still recognized as entry points so they don't appear as dead code.

Recommended setup

For a typical NestJS project, the auto-detection covers controllers, modules, and services. If you have custom decorators or factory patterns, add them as entry points:

.larkx/config.json
{
  "entryPoints": [
    "src/custom-providers/",
    "src/migrations/"
  ]
}