kandev 0.7.0 → 0.8.0
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/dev.js +4 -4
- package/package.json +1 -1
package/dist/dev.js
CHANGED
|
@@ -14,10 +14,10 @@ const web_1 = require("./web");
|
|
|
14
14
|
async function runDev({ repoRoot, backendPort, webPort }) {
|
|
15
15
|
const ports = await (0, shared_1.pickPorts)(backendPort, webPort);
|
|
16
16
|
const dbPath = node_path_1.default.join(repoRoot, "apps", "backend", "kandev.db");
|
|
17
|
-
const extra = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
17
|
+
const extra = {
|
|
18
|
+
KANDEV_DATABASE_PATH: dbPath,
|
|
19
|
+
KANDEV_MOCK_AGENT: process.env.KANDEV_MOCK_AGENT || "true",
|
|
20
|
+
};
|
|
21
21
|
const backendEnv = (0, shared_1.buildBackendEnv)({ ports, extra });
|
|
22
22
|
const webEnv = (0, shared_1.buildWebEnv)({ ports, includeMcp: true, debug: true });
|
|
23
23
|
const logLevel = process.env.KANDEV_LOGGING_LEVEL?.trim() || process.env.KANDEV_LOG_LEVEL?.trim() || "info";
|