@adonisjs/core
Advanced tools
Comparing version 6.10.1 to 6.11.0
@@ -15,2 +15,3 @@ /* | ||
}; | ||
import { stubsRoot } from '../stubs/main.js'; | ||
import { args, BaseCommand, flags } from '../modules/ace/main.js'; | ||
@@ -74,2 +75,12 @@ /** | ||
/** | ||
* Configure health checks | ||
*/ | ||
async #configureHealthChecks() { | ||
const codemods = await this.createCodemods(); | ||
await codemods.makeUsingStub(stubsRoot, 'make/health/main.stub', { | ||
flags: this.parsed.flags, | ||
entity: this.app.generators.createEntity('health'), | ||
}); | ||
} | ||
/** | ||
* Creates codemods as per configure command options | ||
@@ -93,2 +104,5 @@ */ | ||
} | ||
if (this.name === 'health_checks') { | ||
return this.#configureHealthChecks(); | ||
} | ||
const packageExports = await this.#getPackageSource(this.name); | ||
@@ -95,0 +109,0 @@ if (!packageExports) { |
{ | ||
"name": "@adonisjs/core", | ||
"description": "Core of AdonisJS", | ||
"version": "6.10.1", | ||
"version": "6.11.0", | ||
"engines": { | ||
@@ -94,3 +94,3 @@ "node": ">=20.6.0" | ||
"@japa/runner": "^3.1.4", | ||
"@swc/core": "^1.5.25", | ||
"@swc/core": "^1.6.0", | ||
"@types/node": "^20.14.2", | ||
@@ -104,3 +104,3 @@ "@types/pretty-hrtime": "^1.0.3", | ||
"bcrypt": "^5.1.1", | ||
"c8": "^9.1.0", | ||
"c8": "^10.1.2", | ||
"copyfiles": "^2.4.1", | ||
@@ -115,3 +115,3 @@ "cross-env": "^7.0.3", | ||
"husky": "^9.0.11", | ||
"prettier": "^3.3.1", | ||
"prettier": "^3.3.2", | ||
"release-it": "^17.3.0", | ||
@@ -134,3 +134,3 @@ "sinon": "^18.0.0", | ||
"@adonisjs/hash": "^9.0.3", | ||
"@adonisjs/health": "^1.0.0", | ||
"@adonisjs/health": "^1.1.0", | ||
"@adonisjs/http-server": "^7.2.3", | ||
@@ -137,0 +137,0 @@ "@adonisjs/logger": "^6.0.3", |
265917
244
6848
Updated@adonisjs/health@^1.1.0