Skip to content

Commit bce2b76

Browse files
committed
feat: add and export health module
1 parent 0cc018e commit bce2b76

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

modules/health/main.ts

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* @adonisjs/core
3+
*
4+
* (c) AdonisJS
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
10+
export * from '@adonisjs/health'

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
"./repl": "./build/modules/repl.js",
5757
"./package.json": "./package.json",
5858
"./exceptions": "./build/src/exceptions.js",
59-
"./test_utils": "./build/src/test_utils/main.js"
59+
"./test_utils": "./build/src/test_utils/main.js",
60+
"./health": "./build/modules/health.js"
6061
},
6162
"scripts": {
6263
"pretest": "npm run lint",
@@ -127,6 +128,7 @@
127128
"@adonisjs/events": "^9.0.2",
128129
"@adonisjs/fold": "^10.1.2",
129130
"@adonisjs/hash": "^9.0.3",
131+
"@adonisjs/health": "^1.0.0",
130132
"@adonisjs/http-server": "^7.2.3",
131133
"@adonisjs/logger": "^6.0.3",
132134
"@adonisjs/repl": "^4.0.1",

types/health.ts

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* @adonisjs/core
3+
*
4+
* (c) AdonisJS
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
10+
export * from '@adonisjs/health/types'

0 commit comments

Comments
 (0)