@adonisjs/core 5.5.0 → 5.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -210,6 +210,9 @@ class App {
210
210
  * Listen for the exit signal on ace kernel
211
211
  */
212
212
  this.ace.onExit(async () => {
213
+ if (this.kernel.hasBooted) {
214
+ await this.kernel.close();
215
+ }
213
216
  if (!this.ace.error) {
214
217
  process.exit(this.ace.exitCode);
215
218
  }
@@ -9,7 +9,11 @@
9
9
  */
10
10
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
11
11
  if (k2 === undefined) k2 = k;
12
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
12
+ var desc = Object.getOwnPropertyDescriptor(m, k);
13
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
14
+ desc = { enumerable: true, get: function() { return m[k]; } };
15
+ }
16
+ Object.defineProperty(o, k2, desc);
13
17
  }) : (function(o, m, k, k2) {
14
18
  if (k2 === undefined) k2 = k;
15
19
  o[k2] = m[k];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonisjs/core",
3
- "version": "5.5.0",
3
+ "version": "5.5.3",
4
4
  "description": "Core of AdonisJS",
5
5
  "exports": {
6
6
  ".": {
@@ -34,8 +34,8 @@
34
34
  "scripts": {
35
35
  "mrm": "mrm --preset=@adonisjs/mrm-preset",
36
36
  "pretest": "npm run lint",
37
- "test": "node .bin/test.js",
38
- "clean": "del build",
37
+ "test": "node -r @adonisjs/require-ts/build/register bin/test.ts",
38
+ "clean": "del-cli build",
39
39
  "compile": "npm run lint && npm run clean && tsc && copyfiles templates/**/* templates/* build",
40
40
  "build": "npm run compile",
41
41
  "commit": "git-cz",
@@ -65,9 +65,13 @@
65
65
  "devDependencies": {
66
66
  "@adonisjs/assembler": "^5.4.1",
67
67
  "@adonisjs/mrm-preset": "^5.0.2",
68
- "@adonisjs/repl": "^3.1.8",
68
+ "@adonisjs/repl": "^3.1.9",
69
69
  "@adonisjs/require-ts": "^2.0.10",
70
- "@adonisjs/sink": "^5.2.1",
70
+ "@adonisjs/sink": "^5.2.2",
71
+ "@japa/assert": "^1.2.3",
72
+ "@japa/run-failed-tests": "^1.0.3",
73
+ "@japa/runner": "^1.2.0",
74
+ "@japa/spec-reporter": "^1.1.7",
71
75
  "@poppinss/dev-utils": "^2.0.2",
72
76
  "@types/node": "^17.0.21",
73
77
  "@types/supertest": "^2.0.11",
@@ -77,13 +81,12 @@
77
81
  "cz-conventional-changelog": "^3.3.0",
78
82
  "del-cli": "^4.0.1",
79
83
  "eslint": "^8.10.0",
80
- "eslint-config-prettier": "^8.4.0",
84
+ "eslint-config-prettier": "^8.5.0",
81
85
  "eslint-plugin-adonis": "^2.1.0",
82
86
  "eslint-plugin-prettier": "^4.0.0",
83
87
  "etag": "^1.8.1",
84
88
  "github-label-sync": "^2.0.2",
85
89
  "husky": "^7.0.4",
86
- "japa": "^4.0.0",
87
90
  "mrm": "^3.0.10",
88
91
  "np": "^7.6.0",
89
92
  "prettier": "^2.5.1",
@@ -91,7 +94,7 @@
91
94
  "strip-ansi": "^6.0.0",
92
95
  "supertest": "^6.2.2",
93
96
  "test-console": "^2.0.0",
94
- "typescript": "^4.5.5",
97
+ "typescript": "^4.6.2",
95
98
  "youch": "^3.1.1",
96
99
  "youch-terminal": "^2.1.3"
97
100
  },
@@ -114,7 +117,7 @@
114
117
  }
115
118
  },
116
119
  "dependencies": {
117
- "@adonisjs/ace": "^11.0.6",
120
+ "@adonisjs/ace": "^11.2.2",
118
121
  "@adonisjs/application": "^5.2.0",
119
122
  "@adonisjs/bodyparser": "^8.1.0",
120
123
  "@adonisjs/drive": "^2.0.9",