@tego/devkit 1.3.46 → 1.3.47

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
@@ -319,6 +319,9 @@ function initEnv() {
319
319
  }
320
320
  if (!process.env.TEGO_RUNTIME_HOME) {
321
321
  process.env.TEGO_RUNTIME_HOME = join(process.env.TEGO_HOME, process.env.TEGO_RUNTIME_NAME);
322
+ if (!process.env.TEGO_RUNTIME_NAME && _existsSync(resolve(process.cwd(), "storage"))) {
323
+ process.env.TEGO_RUNTIME_HOME = resolve(process.cwd(), "storage");
324
+ }
322
325
  }
323
326
  if (!process.env.__env_modified__ && process.env.APP_PUBLIC_PATH) {
324
327
  const publicPath = process.env.APP_PUBLIC_PATH.replace(/\/$/g, "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tego/devkit",
3
- "version": "1.3.46",
3
+ "version": "1.3.47",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",