@tego/devkit 1.3.46 → 1.3.48

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.
Files changed (2) hide show
  1. package/lib/util.mjs +3 -0
  2. package/package.json +1 -1
package/lib/util.mjs CHANGED
@@ -312,6 +312,9 @@ function initEnv() {
312
312
  if (process.argv[2] === "e2e" && !process.env.APP_BASE_URL) {
313
313
  process.env.APP_BASE_URL = `http://127.0.0.1:${process.env.APP_PORT}`;
314
314
  }
315
+ if (!process.env.TEGO_RUNTIME_HOME && !process.env.TEGO_RUNTIME_NAME && _existsSync(resolve(process.cwd(), "storage"))) {
316
+ process.env.TEGO_RUNTIME_HOME = resolve(process.cwd(), "storage");
317
+ }
315
318
  for (const key in env) {
316
319
  if (!process.env[key]) {
317
320
  process.env[key] = env[key];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tego/devkit",
3
- "version": "1.3.46",
3
+ "version": "1.3.48",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",