diff --git a/package-lock.json b/package-lock.json index 1666738..2632176 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@athenna/config", - "version": "5.4.0", + "version": "5.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@athenna/config", - "version": "5.4.0", + "version": "5.5.0", "license": "MIT", "dependencies": { "dotenv": "^16.6.1", @@ -14,7 +14,7 @@ "syntax-error": "^1.4.0" }, "devDependencies": { - "@athenna/common": "^5.14.0", + "@athenna/common": "^5.26.0", "@athenna/test": "^5.5.0", "@athenna/tsconfig": "^5.0.0", "@types/lodash": "^4.17.20", @@ -39,9 +39,9 @@ } }, "node_modules/@athenna/common": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/@athenna/common/-/common-5.14.0.tgz", - "integrity": "sha512-Cam8UnsmV4ixJBCZb6I8dXRbY5+EXDD+32Mbuey8xXN0HHJ9LR78qwBpE9PHQUyiW8NUd4gzR4oW/RuyOUQcBw==", + "version": "5.26.0", + "resolved": "https://registry.npmjs.org/@athenna/common/-/common-5.26.0.tgz", + "integrity": "sha512-Vr9qA+OpNF5oYeKfTlmnfatae5+AX+Qoj6pLezbH6lZIl5gzv9N2FQRP2lVUXF1V8PuGXKq39sr/hHvvLiplPg==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index f7fa85d..99392e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/config", - "version": "5.4.0", + "version": "5.5.0", "description": "Cache and handle environment variables and config files of Athenna.", "license": "MIT", "author": "João Lenon ", @@ -58,7 +58,7 @@ "syntax-error": "^1.4.0" }, "devDependencies": { - "@athenna/common": "^5.14.0", + "@athenna/common": "^5.26.0", "@athenna/test": "^5.5.0", "@athenna/tsconfig": "^5.0.0", "@types/lodash": "^4.17.20", diff --git a/src/config/Config.ts b/src/config/Config.ts index dc52f92..c5671f6 100644 --- a/src/config/Config.ts +++ b/src/config/Config.ts @@ -264,7 +264,7 @@ export class Config extends Macroable { return } - if (base.includes('.ts') && Env('IS_TS') === false) { + if (base.includes('.ts') && (Env('IS_TS') === false || !Is.Deno())) { debug( 'Configuration file %s being skipped since its a TypeScript file and the application is not running in a TypeScript environment.', base