tego 1.3.13 → 1.3.15
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/constants.d.ts +1 -1
- package/lib/constants.js +1 -1
- package/lib/utils.js +2 -2
- package/package.json +18 -18
- package/src/constants.ts +1 -1
- package/src/utils.ts +2 -2
package/lib/constants.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export declare const DEFAULT_DEV_PLUGINS_PATH: string;
|
|
|
2
2
|
export declare const DEFAULT_REMOTE_PLUGINS_PATH: string;
|
|
3
3
|
export declare const DEFAULT_BUILTIN_PLUGINS_PATH: string;
|
|
4
4
|
export declare const DEFAULT_BUILTIN_PLUGINS_RELATIVE_PATH: string;
|
|
5
|
-
export declare const DEFAULT_WEB_PACKAGE_NAME = "@
|
|
5
|
+
export declare const DEFAULT_WEB_PACKAGE_NAME = "@tego/web";
|
package/lib/constants.js
CHANGED
|
@@ -39,7 +39,7 @@ const DEFAULT_DEV_PLUGINS_PATH = import_node_path.default.resolve("plugins", "de
|
|
|
39
39
|
const DEFAULT_REMOTE_PLUGINS_PATH = import_node_path.default.resolve("plugins", "remote");
|
|
40
40
|
const DEFAULT_BUILTIN_PLUGINS_PATH = import_node_path.default.resolve("plugins", "builtin");
|
|
41
41
|
const DEFAULT_BUILTIN_PLUGINS_RELATIVE_PATH = import_node_path.default.join("plugins", "builtin");
|
|
42
|
-
const DEFAULT_WEB_PACKAGE_NAME = "@
|
|
42
|
+
const DEFAULT_WEB_PACKAGE_NAME = "@tego/web";
|
|
43
43
|
// Annotate the CommonJS export names for ESM import in node:
|
|
44
44
|
0 && (module.exports = {
|
|
45
45
|
DEFAULT_BUILTIN_PLUGINS_PATH,
|
package/lib/utils.js
CHANGED
|
@@ -123,10 +123,10 @@ function parseEnvironment() {
|
|
|
123
123
|
}
|
|
124
124
|
__name(parseEnvironment, "parseEnvironment");
|
|
125
125
|
function guessServePath() {
|
|
126
|
-
const distPath = (0, import_node_path.resolve)("apps/
|
|
126
|
+
const distPath = (0, import_node_path.resolve)("apps/web/dist/index.html");
|
|
127
127
|
const clientPath = (0, import_node_path.resolve)("client/index.html");
|
|
128
128
|
if (import_node_fs.default.existsSync(distPath)) {
|
|
129
|
-
return (0, import_node_path.resolve)("apps/
|
|
129
|
+
return (0, import_node_path.resolve)("apps/web/dist");
|
|
130
130
|
} else if (import_node_fs.default.existsSync(clientPath)) {
|
|
131
131
|
return (0, import_node_path.resolve)("client");
|
|
132
132
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tego",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tego",
|
|
@@ -52,27 +52,27 @@
|
|
|
52
52
|
"umzug": "3.8.2",
|
|
53
53
|
"winston": "3.17.0",
|
|
54
54
|
"winston-daily-rotate-file": "^5.0.0",
|
|
55
|
-
"@tachybase/
|
|
56
|
-
"@tachybase/
|
|
57
|
-
"@tachybase/
|
|
58
|
-
"@tachybase/
|
|
59
|
-
"@tachybase/data-source": "1.3.
|
|
60
|
-
"@tachybase/database": "1.3.
|
|
61
|
-
"@tachybase/evaluators": "1.3.
|
|
62
|
-
"@tachybase/globals": "1.3.
|
|
63
|
-
"@tachybase/logger": "1.3.
|
|
64
|
-
"@tachybase/
|
|
65
|
-
"@tachybase/
|
|
66
|
-
"@tachybase/
|
|
67
|
-
"@tachybase/server": "1.3.
|
|
68
|
-
"@tachybase/utils": "1.3.
|
|
55
|
+
"@tachybase/acl": "1.3.15",
|
|
56
|
+
"@tachybase/actions": "1.3.15",
|
|
57
|
+
"@tachybase/auth": "1.3.15",
|
|
58
|
+
"@tachybase/cache": "1.3.15",
|
|
59
|
+
"@tachybase/data-source": "1.3.15",
|
|
60
|
+
"@tachybase/database": "1.3.15",
|
|
61
|
+
"@tachybase/evaluators": "1.3.15",
|
|
62
|
+
"@tachybase/globals": "1.3.15",
|
|
63
|
+
"@tachybase/logger": "1.3.15",
|
|
64
|
+
"@tachybase/resourcer": "1.3.15",
|
|
65
|
+
"@tachybase/schema": "1.3.15",
|
|
66
|
+
"@tachybase/loader": "1.3.15",
|
|
67
|
+
"@tachybase/server": "1.3.15",
|
|
68
|
+
"@tachybase/utils": "1.3.15"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/lodash": "4.17.18",
|
|
72
72
|
"@yao-pkg/pkg": "6.5.1",
|
|
73
|
-
"@tachybase/
|
|
74
|
-
"@tachybase/
|
|
75
|
-
"@tachybase/logger": "1.3.
|
|
73
|
+
"@tachybase/client": "1.3.15",
|
|
74
|
+
"@tachybase/cache": "1.3.15",
|
|
75
|
+
"@tachybase/logger": "1.3.15"
|
|
76
76
|
},
|
|
77
77
|
"pkg": {
|
|
78
78
|
"targets": [
|
package/src/constants.ts
CHANGED
|
@@ -4,4 +4,4 @@ export const DEFAULT_DEV_PLUGINS_PATH = path.resolve('plugins', 'dev');
|
|
|
4
4
|
export const DEFAULT_REMOTE_PLUGINS_PATH = path.resolve('plugins', 'remote');
|
|
5
5
|
export const DEFAULT_BUILTIN_PLUGINS_PATH = path.resolve('plugins', 'builtin');
|
|
6
6
|
export const DEFAULT_BUILTIN_PLUGINS_RELATIVE_PATH = path.join('plugins', 'builtin');
|
|
7
|
-
export const DEFAULT_WEB_PACKAGE_NAME = '@
|
|
7
|
+
export const DEFAULT_WEB_PACKAGE_NAME = '@tego/web';
|
package/src/utils.ts
CHANGED
|
@@ -100,11 +100,11 @@ export function parseEnvironment() {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
export function guessServePath() {
|
|
103
|
-
const distPath = resolve('apps/
|
|
103
|
+
const distPath = resolve('apps/web/dist/index.html');
|
|
104
104
|
const clientPath = resolve('client/index.html');
|
|
105
105
|
|
|
106
106
|
if (fs.existsSync(distPath)) {
|
|
107
|
-
return resolve('apps/
|
|
107
|
+
return resolve('apps/web/dist');
|
|
108
108
|
} else if (fs.existsSync(clientPath)) {
|
|
109
109
|
return resolve('client');
|
|
110
110
|
}
|