@vercube/core 0.0.11 → 0.0.12
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.
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { extname, join, normalize } from "node:path";
|
|
|
7
7
|
import { stat } from "node:fs/promises";
|
|
8
8
|
import { BaseLogger, Logger } from "@vercube/logger";
|
|
9
9
|
import { ConsoleProvider } from "@vercube/logger/providers/ConsoleProvider";
|
|
10
|
-
import { loadConfig } from "c12";
|
|
10
|
+
import { loadConfig, setupDotenv } from "c12";
|
|
11
11
|
import { defu } from "defu";
|
|
12
12
|
|
|
13
13
|
//#region rolldown:runtime
|
|
@@ -1152,6 +1152,7 @@ async function loadVercubeConfig(overrides) {
|
|
|
1152
1152
|
globalRc: false,
|
|
1153
1153
|
defaults: defaultConfig
|
|
1154
1154
|
});
|
|
1155
|
+
if (config?.config?.c12?.dotenv && typeof config?.config?.c12?.dotenv === "object") await setupDotenv(config.config.c12.dotenv);
|
|
1155
1156
|
return defu(overrides ?? {}, config?.config ?? {});
|
|
1156
1157
|
}
|
|
1157
1158
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercube/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "Core module for Vercube framework",
|
|
5
5
|
"repository": "@vercube/core",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"pathe": "2.0.3",
|
|
25
25
|
"rou3": "0.6.3",
|
|
26
26
|
"srvx": "0.8.0",
|
|
27
|
-
"@vercube/di": "0.0.
|
|
28
|
-
"@vercube/logger": "0.0.
|
|
27
|
+
"@vercube/di": "0.0.12",
|
|
28
|
+
"@vercube/logger": "0.0.12"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|