@hg-ts/config-loader 0.5.16 → 0.5.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"config.module.d.ts","sourceRoot":"","sources":["../src/config.module.ts"],"names":[],"mappings":"AAQA,qBAgBa,YAAY;CAAG"}
1
+ {"version":3,"file":"config.module.d.ts","sourceRoot":"","sources":["../src/config.module.ts"],"names":[],"mappings":"AAWA,qBAkBa,YAAY;CAAG"}
@@ -1,4 +1,5 @@
1
1
  import { __decorate } from "tslib";
2
+ import { ExecutionMode, ExecutionModeModule, } from '@hg-ts/execution-mode';
2
3
  import { Global, Module, } from '@nestjs/common';
3
4
  import { ConfigLoader } from './config-loader.js';
4
5
  import { FileConfigLoader } from './file.config-loader.js';
@@ -7,6 +8,7 @@ let ConfigModule = class ConfigModule {
7
8
  ConfigModule = __decorate([
8
9
  Global(),
9
10
  Module({
11
+ imports: [ExecutionModeModule],
10
12
  providers: [
11
13
  {
12
14
  provide: ConfigLoader,
@@ -17,6 +19,7 @@ ConfigModule = __decorate([
17
19
  overrideEnv: env,
18
20
  });
19
21
  },
22
+ inject: [ExecutionMode],
20
23
  },
21
24
  ],
22
25
  exports: [ConfigLoader],
@@ -1 +1 @@
1
- {"version":3,"file":"config.module.js","sourceRoot":"","sources":["../src/config.module.ts"],"names":[],"mappings":";AACA,OAAO,EACN,MAAM,EACN,MAAM,GACN,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAkBpD,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,YAAY;IAhBxB,MAAM,EAAE;IACR,MAAM,CAAC;QACP,SAAS,EAAE;YACV;gBACC,OAAO,EAAE,YAAY;gBACrB,UAAU,CAAC,GAAkB;oBAC5B,OAAO,IAAI,gBAAgB,CAAC;wBAC3B,UAAU,EAAE,IAAI;wBAChB,SAAS,EAAE,QAAQ;wBACnB,WAAW,EAAE,GAAG;qBAChB,CAAC,CAAC;gBACJ,CAAC;aACD;SACD;QACD,OAAO,EAAE,CAAC,YAAY,CAAC;KACvB,CAAC;GACW,YAAY,CAAG"}
1
+ {"version":3,"file":"config.module.js","sourceRoot":"","sources":["../src/config.module.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,aAAa,EACb,mBAAmB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACN,MAAM,EACN,MAAM,GACN,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAoBpD,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,YAAY;IAlBxB,MAAM,EAAE;IACR,MAAM,CAAC;QACP,OAAO,EAAE,CAAC,mBAAmB,CAAC;QAC9B,SAAS,EAAE;YACV;gBACC,OAAO,EAAE,YAAY;gBACrB,UAAU,CAAC,GAAkB;oBAC5B,OAAO,IAAI,gBAAgB,CAAC;wBAC3B,UAAU,EAAE,IAAI;wBAChB,SAAS,EAAE,QAAQ;wBACnB,WAAW,EAAE,GAAG;qBAChB,CAAC,CAAC;gBACJ,CAAC;gBACD,MAAM,EAAE,CAAC,aAAa,CAAC;aACvB;SACD;QACD,OAAO,EAAE,CAAC,YAAY,CAAC;KACvB,CAAC;GACW,YAAY,CAAG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hg-ts/config-loader",
3
- "version": "0.5.16",
3
+ "version": "0.5.17",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -18,12 +18,12 @@
18
18
  "test:dev": "vitest watch"
19
19
  },
20
20
  "devDependencies": {
21
- "@hg-ts-config/typescript": "0.5.16",
22
- "@hg-ts/exception": "0.5.16",
23
- "@hg-ts/execution-mode": "0.5.16",
24
- "@hg-ts/linter": "0.5.16",
25
- "@hg-ts/tests": "0.5.16",
26
- "@hg-ts/types": "0.5.16",
21
+ "@hg-ts-config/typescript": "0.5.17",
22
+ "@hg-ts/exception": "0.5.17",
23
+ "@hg-ts/execution-mode": "0.5.17",
24
+ "@hg-ts/linter": "0.5.17",
25
+ "@hg-ts/tests": "0.5.17",
26
+ "@hg-ts/types": "0.5.17",
27
27
  "@nestjs/common": "11.1.0",
28
28
  "@types/node": "22.19.1",
29
29
  "@vitest/coverage-v8": "4.0.14",
@@ -37,8 +37,8 @@
37
37
  "vitest": "4.0.14"
38
38
  },
39
39
  "peerDependencies": {
40
- "@hg-ts/exception": "0.5.16",
41
- "@hg-ts/execution-mode": "0.5.16",
40
+ "@hg-ts/exception": "0.5.17",
41
+ "@hg-ts/execution-mode": "0.5.17",
42
42
  "@nestjs/common": "*",
43
43
  "reflect-metadata": "*",
44
44
  "rxjs": "*",
@@ -46,6 +46,6 @@
46
46
  "vitest": "*"
47
47
  },
48
48
  "dependencies": {
49
- "@hg-ts/validation": "0.5.16"
49
+ "@hg-ts/validation": "0.5.17"
50
50
  }
51
51
  }