@spinajs/cli
Advanced tools
Comparing version 2.0.281 to 2.0.282
@@ -19,3 +19,3 @@ "use strict"; | ||
async execute(options) { | ||
this.Log.info(JSON.stringify(options.path ? this.Config.RootConfig : this.Config.get(options.path))); | ||
this.Log.info(JSON.stringify(!options.path ? this.Config.RootConfig : this.Config.get(options.path), null, 4)); | ||
} | ||
@@ -22,0 +22,0 @@ }; |
@@ -7,5 +7,5 @@ "use strict"; | ||
return [ | ||
(0, path_1.resolve)((0, path_1.normalize)((0, path_1.join)(process.cwd(), 'node_modules', '@spinajs', 'rbac', 'lib', inCommonJs ? 'cjs' : 'mjs', path))), | ||
(0, path_1.resolve)((0, path_1.normalize)((0, path_1.join)(process.cwd(), 'node_modules', '@spinajs', 'cli', 'lib', inCommonJs ? 'cjs' : 'mjs', path))), | ||
// one up if we run from app or build folder | ||
(0, path_1.resolve)((0, path_1.normalize)((0, path_1.join)(process.cwd(), '../', 'node_modules', '@spinajs', 'rbac', 'lib', inCommonJs ? 'cjs' : 'mjs', path))), | ||
(0, path_1.resolve)((0, path_1.normalize)((0, path_1.join)(process.cwd(), '../', 'node_modules', '@spinajs', 'cli', 'lib', inCommonJs ? 'cjs' : 'mjs', path))), | ||
]; | ||
@@ -12,0 +12,0 @@ } |
@@ -16,3 +16,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
async execute(options) { | ||
this.Log.info(JSON.stringify(options.path ? this.Config.RootConfig : this.Config.get(options.path))); | ||
this.Log.info(JSON.stringify(!options.path ? this.Config.RootConfig : this.Config.get(options.path), null, 4)); | ||
} | ||
@@ -19,0 +19,0 @@ }; |
@@ -5,5 +5,5 @@ import { join, normalize, resolve } from 'path'; | ||
return [ | ||
resolve(normalize(join(process.cwd(), 'node_modules', '@spinajs', 'rbac', 'lib', inCommonJs ? 'cjs' : 'mjs', path))), | ||
resolve(normalize(join(process.cwd(), 'node_modules', '@spinajs', 'cli', 'lib', inCommonJs ? 'cjs' : 'mjs', path))), | ||
// one up if we run from app or build folder | ||
resolve(normalize(join(process.cwd(), '../', 'node_modules', '@spinajs', 'rbac', 'lib', inCommonJs ? 'cjs' : 'mjs', path))), | ||
resolve(normalize(join(process.cwd(), '../', 'node_modules', '@spinajs', 'cli', 'lib', inCommonJs ? 'cjs' : 'mjs', path))), | ||
]; | ||
@@ -10,0 +10,0 @@ } |
{ | ||
"name": "@spinajs/cli", | ||
"version": "2.0.281", | ||
"version": "2.0.282", | ||
"description": "SpinaJS command line module", | ||
@@ -45,7 +45,7 @@ "main": "lib/cjs/index.js", | ||
"dependencies": { | ||
"@spinajs/configuration": "^2.0.281", | ||
"@spinajs/di": "^2.0.281", | ||
"@spinajs/exceptions": "^2.0.281", | ||
"@spinajs/log": "^2.0.281", | ||
"@spinajs/reflection": "^2.0.281", | ||
"@spinajs/configuration": "^2.0.282", | ||
"@spinajs/di": "^2.0.282", | ||
"@spinajs/exceptions": "^2.0.282", | ||
"@spinajs/log": "^2.0.282", | ||
"@spinajs/reflection": "^2.0.282", | ||
"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
190851
Updated@spinajs/di@^2.0.282
Updated@spinajs/exceptions@^2.0.282
Updated@spinajs/log@^2.0.282
Updated@spinajs/reflection@^2.0.282