Mercurial
view benchmark/bun-http-framework-benchmark/dev/adonis/commands/index.ts @ 273:e02e2036ef84 default tip
add Layer 2 JRPG component system
Add reusable content and window modals, an isolated component sandbox, shared cyberpunk scroll areas, production-safe cache freshness, and server-rendered JRPG panel state.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sat, 08 Aug 2026 02:08:08 -0700 |
| parents | a8976a008a9d |
| children |
line wrap: on
line source
import { listDirectoryFiles } from '@adonisjs/core/build/standalone' import Application from '@ioc:Adonis/Core/Application' /* |-------------------------------------------------------------------------- | Exporting an array of commands |-------------------------------------------------------------------------- | | Instead of manually exporting each file from this directory, we use the | helper `listDirectoryFiles` to recursively collect and export an array | of filenames. | | Couple of things to note: | | 1. The file path must be relative from the project root and not this directory. | 2. We must ignore this file to avoid getting into an infinite loop | */ export default listDirectoryFiles(__dirname, Application.appRoot, ['./commands/index'])