@spinajs/cli
Advanced tools
Comparing version 2.0.261 to 2.0.262
#!/usr/bin/env node | ||
import "./args.js"; | ||
import './args.js'; | ||
//# sourceMappingURL=cli.d.ts.map |
@@ -11,2 +11,6 @@ #!/usr/bin/env node | ||
di_1.DI.setESMModuleSupport(); | ||
const bootstrappers = di_1.DI.resolve(Array.ofType(di_1.Bootstrapper)); | ||
for (const b of bootstrappers) { | ||
await b.bootstrap(); | ||
} | ||
await di_1.DI.resolve(configuration_common_1.Configuration); | ||
@@ -17,3 +21,2 @@ const log = di_1.DI.resolve(log_1.Log, ['CLI']); | ||
await di_1.DI.resolve(index_js_1.Cli); | ||
process.exit(1); | ||
} | ||
@@ -20,0 +23,0 @@ catch (err) { |
#!/usr/bin/env node | ||
import "./args.js"; | ||
import './args.js'; | ||
//# sourceMappingURL=cli.d.ts.map |
#!/usr/bin/env node | ||
import { DI } from '@spinajs/di'; | ||
import { Bootstrapper, DI } from '@spinajs/di'; | ||
import { Log } from '@spinajs/log'; | ||
import { Cli } from './index.js'; | ||
import { Configuration } from '@spinajs/configuration-common'; | ||
import "./args.js"; | ||
import './args.js'; | ||
async function cli() { | ||
DI.setESMModuleSupport(); | ||
const bootstrappers = DI.resolve(Array.ofType(Bootstrapper)); | ||
for (const b of bootstrappers) { | ||
await b.bootstrap(); | ||
} | ||
await DI.resolve(Configuration); | ||
@@ -14,3 +18,2 @@ const log = DI.resolve(Log, ['CLI']); | ||
await DI.resolve(Cli); | ||
process.exit(1); | ||
} | ||
@@ -17,0 +20,0 @@ catch (err) { |
{ | ||
"name": "@spinajs/cli", | ||
"version": "2.0.261", | ||
"version": "2.0.262", | ||
"description": "SpinaJS command line module", | ||
@@ -45,7 +45,7 @@ "main": "lib/cjs/index.js", | ||
"dependencies": { | ||
"@spinajs/configuration": "^2.0.261", | ||
"@spinajs/di": "^2.0.261", | ||
"@spinajs/exceptions": "^2.0.261", | ||
"@spinajs/log": "^2.0.261", | ||
"@spinajs/reflection": "^2.0.261", | ||
"@spinajs/configuration": "^2.0.262", | ||
"@spinajs/di": "^2.0.262", | ||
"@spinajs/exceptions": "^2.0.262", | ||
"@spinajs/log": "^2.0.262", | ||
"@spinajs/reflection": "^2.0.262", | ||
"commander": "10.0.0", | ||
@@ -52,0 +52,0 @@ "reflect-metadata": "^0.1.13" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
179393
640
Updated@spinajs/di@^2.0.262
Updated@spinajs/exceptions@^2.0.262
Updated@spinajs/log@^2.0.262
Updated@spinajs/reflection@^2.0.262