Skip to content

v0.1.14

@kaen25 kaen25 tagged this 21 Jun 15:17
Adds app.makePath / configPath / migrationsPath / tmpPath / publicPath on the
Application, resolved against the project root the Ignitor is constructed with
(now also pushed onto the app via setAppRoot). App code uses these instead of
recomputing `dirname(fileURLToPath(import.meta.url))` per file — config files
become `app.migrationsPath()`, `app.makePath('data', 'x.db')`, etc. Mirrors
@adonisjs/core/services/app (API via context7).
Assets 2
Loading