CodeVetter · Repo Unpack · Feature catalog
adonisjs/core
The developer-facing product includes application startup APIs, scaffolding, package configuration, inspection commands, development serving, production builds, and test orchestration. HTTP integrations add VineJS request validation and Edge rendering to dependency-provided request and routing APIs. Security utilities include configurable hash and encryption drivers and verification-token helpers. Generated declarations connect server routes and transformers to application type checking. This catalog reflects the inspected public surfaces, not exhaustive dependency behavior.
- serve supports watch, HMR, polling, and terminal clearing; it rejects simultaneous watch and HMR and delegates startup to assembler.DevServer.
- build delegates production compilation to assembler.Bundler with RC hooks and meta files, optional tsconfig and package manager, and an ignore-ts-errors switch.
- codegen refreshes generated indexes and route declarations through assembler.CodeGen and warms the app in the web environment without starting an HTTP listener.
- test exposes suite, file, tag, group, title, reporter, timeout, retry, failed-test, watch, and polling controls, then passes these to assembler.TestRunner.
- add installs multiple packages before configuring them sequentially, recognizes vinejs and edge shorthand names, and reports partial configuration failures; configure supports built-in VineJS, Edge, and health_checks setup plus package-exported hooks.
- list:routes offers keyword and middleware filters, ANSI list/table, JSON, and JSONL output; AI-agent mode defaults to JSONL unless JSON or table is explicitly requested. inspect:rcfile prints resolved RC settings with module entries stringified.
- generate:key creates a 32-character APP_KEY, normally writes outside production, honors force, and lets show override writing; env:add prompts for values and adds a normalized variable plus its validation schema.
- make:controller supports custom actions, resource/API variants, singular naming, force, and contents-from. make:validator, make:view, and make:transformer also generate entities through configurable stubs.
- make:command, make:service, make:event, and make:exception each pass parsed flags and an application-generated entity into Codemods.makeUsingStub, with overwrite and replacement-content options.
- make:listener can create its associated event first; make:middleware generates and registers middleware in server/router/named stacks; make:preload and make:provider optionally register environment-scoped RC entries.
- make:test selects a configured suite and destination directory; eject copies package scaffolding templates into the application for customization.
- repl boots the application and stays alive until REPL exit; its provider adds importDefault, importAll, make, service-loading helpers, and persistent history.
- Edge integration mounts application views, enables production caching, supplies route/config/query helpers, creates request-scoped renderers, and adds BriskRoute.render.
- VineJS integration provides request.validateUsing, request.tryValidateUsing, and vine.file; multipart validation applies size/extension options and reports bodyparser file errors.
- Additional public APIs include Argon2/bcrypt/scrypt configuration, five encryption driver factories including v6 Legacy compatibility, verification tokens, HTML/ANSI dumping, synthetic HTTP contexts, and re-exported health and transformer primitives.