tego 1.3.48 → 1.3.49

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/lib/utils.js CHANGED
@@ -100,7 +100,7 @@ function parseEnvironment() {
100
100
  path: (0, import_node_path.resolve)(process.cwd(), process.env.APP_ENV_PATH || ".env")
101
101
  });
102
102
  if (!process.env.TEGO_RUNTIME_HOME && !process.env.TEGO_RUNTIME_NAME && import_node_fs.default.existsSync((0, import_node_path.resolve)(process.cwd(), "storage"))) {
103
- process.env.TEGO_RUNTIME_HOME = (0, import_node_path.resolve)(process.cwd(), "storage");
103
+ process.env.TEGO_RUNTIME_HOME = process.cwd();
104
104
  }
105
105
  for (const key in env) {
106
106
  if (!process.env[key]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tego",
3
- "version": "1.3.48",
3
+ "version": "1.3.49",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "tego",
@@ -49,20 +49,20 @@
49
49
  "umzug": "3.8.2",
50
50
  "winston": "3.17.0",
51
51
  "winston-daily-rotate-file": "^5.0.0",
52
- "@tachybase/acl": "1.3.48",
53
- "@tachybase/actions": "1.3.48",
54
- "@tachybase/auth": "1.3.48",
55
- "@tachybase/data-source": "1.3.48",
56
- "@tachybase/cache": "1.3.48",
57
- "@tachybase/database": "1.3.48",
58
- "@tachybase/evaluators": "1.3.48",
59
- "@tachybase/globals": "1.3.48",
60
- "@tachybase/loader": "1.3.48",
61
- "@tachybase/logger": "1.3.48",
62
- "@tachybase/resourcer": "1.3.48",
63
- "@tachybase/utils": "1.3.48",
64
- "@tachybase/schema": "1.3.48",
65
- "@tego/core": "1.3.48"
52
+ "@tachybase/acl": "1.3.49",
53
+ "@tachybase/cache": "1.3.49",
54
+ "@tachybase/data-source": "1.3.49",
55
+ "@tachybase/actions": "1.3.49",
56
+ "@tachybase/auth": "1.3.49",
57
+ "@tachybase/database": "1.3.49",
58
+ "@tachybase/globals": "1.3.49",
59
+ "@tachybase/evaluators": "1.3.49",
60
+ "@tachybase/loader": "1.3.49",
61
+ "@tachybase/logger": "1.3.49",
62
+ "@tachybase/schema": "1.3.49",
63
+ "@tego/core": "1.3.49",
64
+ "@tachybase/resourcer": "1.3.49",
65
+ "@tachybase/utils": "1.3.49"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/lodash": "4.17.20",
package/src/utils.ts CHANGED
@@ -78,7 +78,7 @@ export function parseEnvironment() {
78
78
  !process.env.TEGO_RUNTIME_NAME &&
79
79
  fs.existsSync(resolve(process.cwd(), 'storage'))
80
80
  ) {
81
- process.env.TEGO_RUNTIME_HOME = resolve(process.cwd(), 'storage');
81
+ process.env.TEGO_RUNTIME_HOME = process.cwd();
82
82
  }
83
83
 
84
84
  for (const key in env) {