tego 1.3.19 → 1.3.21
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/bin/tego.js +1 -13
- package/lib/default-plugins.js +2 -1
- package/lib/plugin-presets.js +1 -0
- package/lib/preload.js +0 -1
- package/package.json +20 -22
- package/src/default-plugins.ts +1 -0
- package/src/plugin-presets.ts +1 -0
- package/src/preload.ts +0 -1
package/bin/tego.js
CHANGED
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const { existsSync } = require('node:fs');
|
|
3
|
-
const { join } = require('node:path');
|
|
4
2
|
const chalk = require('chalk');
|
|
5
3
|
|
|
6
|
-
const libEntry = join(__dirname, '../lib/index.js');
|
|
7
|
-
const srcEntry = join(__dirname, '../src/index.ts');
|
|
8
|
-
|
|
9
4
|
if (__dirname.startsWith('/snapshot/')) {
|
|
10
5
|
console.log(chalk.green('WAIT: ') + 'Engine is loading...');
|
|
11
6
|
}
|
|
12
7
|
|
|
13
|
-
|
|
14
|
-
require('../lib/index.js');
|
|
15
|
-
} else {
|
|
16
|
-
console.log(chalk.green('WAIT: ') + 'TypeScript compiling...');
|
|
17
|
-
const tsx = require('tsx/cjs/api');
|
|
18
|
-
tsx.register();
|
|
19
|
-
require('../src/index.ts');
|
|
20
|
-
}
|
|
8
|
+
require('../lib/index.js');
|
package/lib/default-plugins.js
CHANGED
package/lib/plugin-presets.js
CHANGED
|
@@ -90,6 +90,7 @@ const _PluginPresets = class _PluginPresets extends import_server.Plugin {
|
|
|
90
90
|
["password-policy", "0.23.65", true],
|
|
91
91
|
["auth-pages", "0.23.65", true],
|
|
92
92
|
["manual-notification", "1.0.4", true],
|
|
93
|
+
["auth-main-app", "1.3.17", true],
|
|
93
94
|
// default disable
|
|
94
95
|
["adapter-bullmq", "0.21.76", false],
|
|
95
96
|
["adapter-red-node", "0.22.8", false],
|
package/lib/preload.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tego",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tego",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@koa/cors": "5.0.0",
|
|
26
26
|
"@koa/multer": "3.1.0",
|
|
27
27
|
"@socketregistry/yocto-spinner": "1.0.19",
|
|
28
|
-
"async-mutex": "0.
|
|
28
|
+
"async-mutex": "0.5.0",
|
|
29
29
|
"axios": "0.29.0",
|
|
30
30
|
"cache-manager": "5.7.6",
|
|
31
31
|
"chalk": "^4.1.2",
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
"koa": "^2.16.1",
|
|
39
39
|
"koa-bodyparser": "4.4.1",
|
|
40
40
|
"lodash": "4.17.21",
|
|
41
|
-
"mathjs": "^10.6.4",
|
|
42
41
|
"multer": "2.0.1",
|
|
43
42
|
"mysql2": "3.14.1",
|
|
44
43
|
"npm-registry-fetch": "18.0.2",
|
|
@@ -48,31 +47,30 @@
|
|
|
48
47
|
"sequelize": "6.37.7",
|
|
49
48
|
"sqlite3": "5.1.7",
|
|
50
49
|
"tar": "7.4.3",
|
|
51
|
-
"tsx": "4.20.3",
|
|
52
50
|
"umzug": "3.8.2",
|
|
53
51
|
"winston": "3.17.0",
|
|
54
52
|
"winston-daily-rotate-file": "^5.0.0",
|
|
55
|
-
"@tachybase/acl": "1.3.
|
|
56
|
-
"@tachybase/actions": "1.3.
|
|
57
|
-
"@tachybase/
|
|
58
|
-
"@tachybase/
|
|
59
|
-
"@tachybase/data-source": "1.3.
|
|
60
|
-
"@tachybase/
|
|
61
|
-
"@tachybase/
|
|
62
|
-
"@tachybase/
|
|
63
|
-
"@tachybase/
|
|
64
|
-
"@tachybase/logger": "1.3.
|
|
65
|
-
"@tachybase/resourcer": "1.3.
|
|
66
|
-
"@tachybase/schema": "1.3.
|
|
67
|
-
"@tachybase/
|
|
68
|
-
"@tachybase/
|
|
53
|
+
"@tachybase/acl": "1.3.21",
|
|
54
|
+
"@tachybase/actions": "1.3.21",
|
|
55
|
+
"@tachybase/cache": "1.3.21",
|
|
56
|
+
"@tachybase/auth": "1.3.21",
|
|
57
|
+
"@tachybase/data-source": "1.3.21",
|
|
58
|
+
"@tachybase/database": "1.3.21",
|
|
59
|
+
"@tachybase/evaluators": "1.3.21",
|
|
60
|
+
"@tachybase/globals": "1.3.21",
|
|
61
|
+
"@tachybase/loader": "1.3.21",
|
|
62
|
+
"@tachybase/logger": "1.3.21",
|
|
63
|
+
"@tachybase/resourcer": "1.3.21",
|
|
64
|
+
"@tachybase/schema": "1.3.21",
|
|
65
|
+
"@tachybase/server": "1.3.21",
|
|
66
|
+
"@tachybase/utils": "1.3.21"
|
|
69
67
|
},
|
|
70
68
|
"devDependencies": {
|
|
71
|
-
"@types/lodash": "4.17.
|
|
69
|
+
"@types/lodash": "4.17.20",
|
|
72
70
|
"@yao-pkg/pkg": "6.5.1",
|
|
73
|
-
"@tachybase/cache": "1.3.
|
|
74
|
-
"@tachybase/client": "1.3.
|
|
75
|
-
"@tachybase/logger": "1.3.
|
|
71
|
+
"@tachybase/cache": "1.3.21",
|
|
72
|
+
"@tachybase/client": "1.3.21",
|
|
73
|
+
"@tachybase/logger": "1.3.21"
|
|
76
74
|
},
|
|
77
75
|
"pkg": {
|
|
78
76
|
"targets": [
|
package/src/default-plugins.ts
CHANGED
package/src/plugin-presets.ts
CHANGED
|
@@ -54,6 +54,7 @@ export class PluginPresets extends Plugin {
|
|
|
54
54
|
['password-policy', '0.23.65', true],
|
|
55
55
|
['auth-pages', '0.23.65', true],
|
|
56
56
|
['manual-notification', '1.0.4', true],
|
|
57
|
+
['auth-main-app', '1.3.17', true],
|
|
57
58
|
// default disable
|
|
58
59
|
['adapter-bullmq', '0.21.76', false],
|
|
59
60
|
['adapter-red-node', '0.22.8', false],
|