@travetto/base
Advanced tools
Comparing version 0.0.42 to 0.0.43
@@ -22,3 +22,3 @@ { | ||
"scripts": {}, | ||
"version": "0.0.42" | ||
"version": "0.0.43" | ||
} |
@@ -6,3 +6,3 @@ import { AppEnv } from './env'; | ||
const initializers = | ||
export const initializers = | ||
bulkRequire<{ init: { action: Function, priority?: number } }>( | ||
@@ -34,5 +34,11 @@ ['node_modules/@travetto/*/bootstrap.ts', 'bootstrap.ts'] | ||
for (const startup of initializers) { | ||
await startup.action(); | ||
if (!process.env.DELAYED_INIT) { | ||
return await bootstrap(); | ||
} | ||
} | ||
export async function bootstrap() { | ||
for (const i of initializers) { | ||
await i.action(); | ||
} | ||
} |
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
12627
395