@adonisjs/core 5.7.5 → 5.7.6

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.
@@ -31,6 +31,7 @@ export default class ListRoutes extends BaseCommand {
31
31
  */
32
32
  static settings: {
33
33
  loadApp: boolean;
34
+ stayAlive: boolean;
34
35
  };
35
36
  /**
36
37
  * Returns the display handler name
@@ -119,6 +119,7 @@ class ListRoutes extends ace_1.BaseCommand {
119
119
  else {
120
120
  new PrettyRenderer_1.RoutesPrettyRenderer(this).render();
121
121
  }
122
+ await this.application.shutdown();
122
123
  }
123
124
  }
124
125
  ListRoutes.commandName = 'list:routes';
@@ -128,6 +129,7 @@ ListRoutes.description = 'List application routes';
128
129
  */
129
130
  ListRoutes.settings = {
130
131
  loadApp: true,
132
+ stayAlive: true,
131
133
  };
132
134
  __decorate([
133
135
  ace_1.flags.boolean({ name: 'verbose', description: 'Display more information' }),
@@ -122,7 +122,7 @@ class App {
122
122
  * If a sub-command needs application, then the main command
123
123
  * should set "loadApp" to true as well.
124
124
  */
125
- if (command.commandName === this.commandName) {
125
+ if (command.commandName === this.commandName || command.aliases.includes(this.commandName)) {
126
126
  /**
127
127
  * Switch environment before wiring the app
128
128
  */
@@ -284,8 +284,8 @@ export const assets: AssetsManagerConfig = {
284
284
  */
285
285
  script: {
286
286
  attributes: {
287
- defer: true
288
- }
287
+ defer: true,
288
+ },
289
289
  },
290
290
 
291
291
  /*
@@ -297,7 +297,7 @@ export const assets: AssetsManagerConfig = {
297
297
  |
298
298
  */
299
299
  style: {
300
- attributes: {}
301
- }
300
+ attributes: {},
301
+ },
302
302
  }
303
303
  {{/assetsManager}}
@@ -101,6 +101,9 @@ const driveConfig: DriveConfig = {
101
101
  // region: Env.get('S3_REGION'),
102
102
  // bucket: Env.get('S3_BUCKET'),
103
103
  // endpoint: Env.get('S3_ENDPOINT'),
104
+ //
105
+ // // For minio to work
106
+ // // forcePathStyle: true,
104
107
  // },
105
108
 
106
109
  /*
@@ -140,7 +143,7 @@ const driveConfig: DriveConfig = {
140
143
  | console.
141
144
  |
142
145
  */
143
- // usingUniformAcl: false
146
+ // usingUniformAcl: false,
144
147
  // },
145
148
  },
146
149
  }
@@ -11,14 +11,14 @@ declare module '@ioc:Adonis/Core/Env' {
11
11
  | Getting types for validated environment variables
12
12
  |--------------------------------------------------------------------------
13
13
  |
14
- | The `default` export from the "../env.ts" file exports types for the
15
- | validated environment variables. Here we merge them with the `EnvTypes`
16
- | interface so that you can enjoy intellisense when using the "Env"
17
- | module.
14
+ | The `default` export from the "../env.ts" file exports types for the
15
+ | validated environment variables. Here we merge them with the `EnvTypes`
16
+ | interface so that you can enjoy intellisense when using the "Env"
17
+ | module.
18
18
  |
19
19
  */
20
20
 
21
- type CustomTypes = typeof import('../env').default
22
- interface EnvTypes extends CustomTypes {
23
- }
21
+ type CustomTypes = typeof import('../env').default
22
+ interface EnvTypes extends CustomTypes {
23
+ }
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonisjs/core",
3
- "version": "5.7.5",
3
+ "version": "5.7.6",
4
4
  "description": "Core of AdonisJS",
5
5
  "exports": {
6
6
  ".": {
@@ -63,25 +63,25 @@
63
63
  },
64
64
  "homepage": "https://github.com/adonisjs/core#readme",
65
65
  "devDependencies": {
66
- "@adonisjs/assembler": "^5.6.1",
66
+ "@adonisjs/assembler": "^5.6.2",
67
67
  "@adonisjs/mrm-preset": "^5.0.3",
68
68
  "@adonisjs/repl": "^3.1.10",
69
69
  "@adonisjs/require-ts": "^2.0.11",
70
- "@adonisjs/sink": "^5.2.3",
70
+ "@adonisjs/sink": "^5.3.1",
71
71
  "@japa/assert": "^1.3.4",
72
72
  "@japa/preset-adonis": "^1.0.15",
73
73
  "@japa/run-failed-tests": "^1.0.7",
74
74
  "@japa/runner": "^2.0.7",
75
75
  "@japa/spec-reporter": "^1.1.12",
76
76
  "@poppinss/dev-utils": "^2.0.3",
77
- "@types/node": "^17.0.24",
77
+ "@types/node": "^17.0.31",
78
78
  "@types/supertest": "^2.0.12",
79
79
  "clear-module": "^4.1.2",
80
80
  "commitizen": "^4.2.4",
81
81
  "copyfiles": "^2.4.1",
82
82
  "cz-conventional-changelog": "^3.3.0",
83
83
  "del-cli": "^4.0.1",
84
- "eslint": "^8.13.0",
84
+ "eslint": "^8.14.0",
85
85
  "eslint-config-prettier": "^8.5.0",
86
86
  "eslint-plugin-adonis": "^2.1.0",
87
87
  "eslint-plugin-prettier": "^4.0.0",
@@ -93,10 +93,10 @@
93
93
  "prettier": "^2.6.2",
94
94
  "reflect-metadata": "^0.1.13",
95
95
  "strip-ansi": "^6.0.1",
96
- "supertest": "^6.2.2",
96
+ "supertest": "^6.2.3",
97
97
  "test-console": "^2.0.0",
98
- "typescript": "^4.6.3",
99
- "youch": "^3.1.1",
98
+ "typescript": "^4.6.4",
99
+ "youch": "^3.2.0",
100
100
  "youch-terminal": "^2.1.3"
101
101
  },
102
102
  "nyc": {
@@ -118,7 +118,7 @@
118
118
  }
119
119
  },
120
120
  "dependencies": {
121
- "@adonisjs/ace": "^11.2.3",
121
+ "@adonisjs/ace": "^11.3.0",
122
122
  "@adonisjs/application": "^5.2.4",
123
123
  "@adonisjs/bodyparser": "^8.1.3",
124
124
  "@adonisjs/drive": "^2.1.1",
@@ -130,7 +130,7 @@
130
130
  "@poppinss/cliui": "^3.0.2",
131
131
  "@poppinss/manager": "^5.0.2",
132
132
  "@poppinss/utils": "^4.0.4",
133
- "fs-extra": "^10.0.1",
133
+ "fs-extra": "^10.1.0",
134
134
  "macroable": "^7.0.1",
135
135
  "memfs": "^3.4.1",
136
136
  "serve-static": "^1.15.0",