@alterior/core
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -0,0 +0,0 @@ // Place your settings in this file to overwrite default and user settings. |
@@ -45,2 +45,5 @@ "use strict"; | ||
var hideExceptions = appOptions.hideExceptions || false; | ||
if (verbose) { | ||
console.log('alterior bootstrap...'); | ||
} | ||
(appOptions.providers || []) | ||
@@ -63,2 +66,5 @@ .filter(function (x) { return !x['then']; }) | ||
// (we will instantiate the controllers via DI later) | ||
if (verbose) { | ||
console.log('registering controllers...'); | ||
} | ||
(controllers || []) | ||
@@ -68,2 +74,5 @@ .forEach(function (x) { return providers.push(x); }); | ||
// Make global middleware available via DI | ||
if (verbose) { | ||
console.log('adding global middleware...'); | ||
} | ||
(appOptions.middleware || []) | ||
@@ -80,2 +89,5 @@ .map(function (x, i) { | ||
// Construct an express app | ||
if (verbose) { | ||
console.log('starting express...'); | ||
} | ||
var expressApp = express(); | ||
@@ -82,0 +94,0 @@ // Make Express available via DI |
@@ -58,2 +58,6 @@ import 'reflect-metadata'; | ||
if (verbose) { | ||
console.log('alterior bootstrap...'); | ||
} | ||
(appOptions.providers || []) | ||
@@ -83,2 +87,6 @@ .filter(x => !x['then']) | ||
if (verbose) { | ||
console.log('registering controllers...'); | ||
} | ||
(controllers || []) | ||
@@ -91,2 +99,6 @@ .forEach(x => providers.push(x)); | ||
if (verbose) { | ||
console.log('adding global middleware...'); | ||
} | ||
(appOptions.middleware || []) | ||
@@ -107,2 +119,6 @@ .map((x, i) => { | ||
if (verbose) { | ||
console.log('starting express...'); | ||
} | ||
let expressApp = express(); | ||
@@ -109,0 +125,0 @@ |
{ | ||
"name": "@alterior/core", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "An Express-based Typescript MVC framework using decorators and Angular 2 dependency injection.", |
Sorry, the diff of this file is not supported yet
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
181796
2494