@men-mvc/foundation
Advanced tools
Comparing version 0.115.0 to 0.116.0
@@ -6,2 +6,5 @@ import { Express, Request } from 'express'; | ||
constructor(app: Express); | ||
/** | ||
* TODO: add functionalities | ||
*/ | ||
private static eventEmitter; | ||
@@ -8,0 +11,0 @@ private static instance; |
@@ -8,3 +8,2 @@ "use strict"; | ||
const events_1 = __importDefault(require("events")); | ||
const applicationEvents_1 = require("./applicationEvents"); | ||
const applicationNotInitialisedError_1 = require("./applicationNotInitialisedError"); | ||
@@ -28,3 +27,2 @@ class BaseApplication { | ||
await this.initialisePreMiddlewares(); | ||
BaseApplication.getEventEmitter().emit(applicationEvents_1.ApplicationEvents.beforeRoutesRegistered, this.app); | ||
await this.registerRoutes(); | ||
@@ -31,0 +29,0 @@ await this.initialisePostMiddlewares(); |
@@ -16,4 +16,3 @@ export * from './deepPartial'; | ||
export * from './requestValidator'; | ||
export * from './applicationEvents'; | ||
export * from './applicationNotInitialisedError'; | ||
export * from './fileNotPublicError'; |
@@ -32,4 +32,3 @@ "use strict"; | ||
__exportStar(require("./requestValidator"), exports); | ||
__exportStar(require("./applicationEvents"), exports); | ||
__exportStar(require("./applicationNotInitialisedError"), exports); | ||
__exportStar(require("./fileNotPublicError"), exports); |
{ | ||
"name": "@men-mvc/foundation", | ||
"version": "0.115.0", | ||
"version": "0.116.0", | ||
"description": "Package that includes shared variables, types and utility functions for MEN MVC framework.", | ||
@@ -30,3 +30,3 @@ "private": false, | ||
"dependencies": { | ||
"@men-mvc/config": "^0.115.0", | ||
"@men-mvc/config": "^0.116.0", | ||
"express": "^4.18.2", | ||
@@ -55,3 +55,3 @@ "joi": "^17.9.1", | ||
"license": "MIT", | ||
"gitHead": "c3903f607b0704779d4354a3bc290c2665f19996" | ||
"gitHead": "0be332a05e9548fbe908fabfe8b9700a605055aa" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75089
56
1548
+ Added@men-mvc/config@0.116.0(transitive)
- Removed@men-mvc/config@0.115.0(transitive)
Updated@men-mvc/config@^0.116.0