@deboxsoft/module-core
Advanced tools
Comparing version 2.6.62 to 2.6.63
@@ -14,3 +14,3 @@ import { j as Config } from '../types-ac8a4864.js'; | ||
declare const CONFIG_KEY = "CONFIG"; | ||
declare const createConfig: ({ keyHome, fileKeys }: ConfigOptions) => typeof nconf; | ||
declare const createConfig: ({ keyHome, fileKeys }: ConfigOptions) => any; | ||
declare const createConfigService: (opts?: ConfigOptions & { | ||
@@ -17,0 +17,0 @@ nconf?: typeof nconf; |
@@ -46,2 +46,5 @@ import { Container } from '../chunk-G6MNEHNE.js'; | ||
var createConfigService = (opts = { fileKeys: ["app"] }) => { | ||
if (Container.has(CONFIG_KEY)) { | ||
return getConfigService(); | ||
} | ||
const _configConf = createConfig(opts); | ||
@@ -48,0 +51,0 @@ const configService = { |
{ | ||
"name": "@deboxsoft/module-core", | ||
"version": "2.6.62", | ||
"version": "2.6.63", | ||
"license": "SEE LICENSE IN LICENSE", | ||
@@ -51,3 +51,4 @@ "maintainers": [ | ||
"dotenv": "^16.0.2", | ||
"nconf": "^0.12.0" | ||
"nconf": "^0.12.0", | ||
"nconf-yaml": "^1.0.2" | ||
}, | ||
@@ -54,0 +55,0 @@ "scripts": { |
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
64904
1894
4