@nocobase/server 1.7.0-beta.9 → 1.8.0-beta.1
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.
|
@@ -54,11 +54,13 @@ var create_migration_default = /* @__PURE__ */ __name((app) => {
|
|
|
54
54
|
"migrations",
|
|
55
55
|
`${(0, import_dayjs.default)().format("YYYYMMDDHHmmss")}-${name}.ts`
|
|
56
56
|
);
|
|
57
|
-
const version = app.
|
|
57
|
+
const version = app.getPackageVersion();
|
|
58
58
|
const regex = /(\d+)\.(\d+)\.(\d+)(-[\w.]+)?/;
|
|
59
59
|
const nextVersion = version.replace(regex, (match, major, minor, patch, suffix) => {
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
if (version.includes("beta") || version.includes("alpha")) {
|
|
61
|
+
return `${major}.${minor}.${patch}`;
|
|
62
|
+
}
|
|
63
|
+
return `${major}.${1 + 1 * minor}.0`;
|
|
62
64
|
});
|
|
63
65
|
const from = pkg === "@nocobase/server" ? `../migration` : "@nocobase/server";
|
|
64
66
|
const data = `import { Migration } from '${from}';
|
|
@@ -95,11 +95,8 @@ const EXTERNAL = [
|
|
|
95
95
|
"i18next",
|
|
96
96
|
"react-i18next",
|
|
97
97
|
// dnd-kit 相关
|
|
98
|
-
"@dnd-kit/accessibility",
|
|
99
98
|
"@dnd-kit/core",
|
|
100
|
-
"@dnd-kit/modifiers",
|
|
101
99
|
"@dnd-kit/sortable",
|
|
102
|
-
"@dnd-kit/utilities",
|
|
103
100
|
// formily 相关
|
|
104
101
|
"@formily/antd-v5",
|
|
105
102
|
"@formily/core",
|
|
@@ -35,7 +35,7 @@ const deps = {
|
|
|
35
35
|
// 0.12.x
|
|
36
36
|
"@formily": "2.x",
|
|
37
37
|
"@formily/antd-v5": "1.x",
|
|
38
|
-
jsonwebtoken: "
|
|
38
|
+
jsonwebtoken: "9.x",
|
|
39
39
|
"cache-manager": "5.x",
|
|
40
40
|
sequelize: "6.x",
|
|
41
41
|
umzug: "3.x",
|
|
@@ -46,7 +46,7 @@ const deps = {
|
|
|
46
46
|
"winston-daily-rotate-file": "4.x",
|
|
47
47
|
koa: "2.x",
|
|
48
48
|
"@koa/cors": "5.x",
|
|
49
|
-
"@koa/router": "
|
|
49
|
+
"@koa/router": "13.x",
|
|
50
50
|
multer: "1.x",
|
|
51
51
|
"@koa/multer": "3.x",
|
|
52
52
|
"koa-bodyparser": "4.x",
|
|
@@ -62,11 +62,8 @@ const deps = {
|
|
|
62
62
|
"@ant-design/cssinjs": "1.x",
|
|
63
63
|
i18next: "22.x",
|
|
64
64
|
"react-i18next": "11.x",
|
|
65
|
-
"@dnd-kit/accessibility": "3.x",
|
|
66
65
|
"@dnd-kit/core": "6.x",
|
|
67
|
-
"@dnd-kit/
|
|
68
|
-
"@dnd-kit/sortable": "6.x",
|
|
69
|
-
"@dnd-kit/utilities": "3.x",
|
|
66
|
+
"@dnd-kit/sortable": "7.x",
|
|
70
67
|
dayjs: "1.x",
|
|
71
68
|
mysql2: "3.x",
|
|
72
69
|
pg: "8.x",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0-beta.1",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -8,29 +8,30 @@
|
|
|
8
8
|
"@formily/json-schema": "2.x",
|
|
9
9
|
"@hapi/topo": "^6.0.0",
|
|
10
10
|
"@koa/cors": "^5.0.0",
|
|
11
|
-
"@koa/multer": "^3.0
|
|
12
|
-
"@koa/router": "^
|
|
13
|
-
"@nocobase/acl": "1.
|
|
14
|
-
"@nocobase/actions": "1.
|
|
15
|
-
"@nocobase/auth": "1.
|
|
16
|
-
"@nocobase/cache": "1.
|
|
17
|
-
"@nocobase/data-source-manager": "1.
|
|
18
|
-
"@nocobase/database": "1.
|
|
19
|
-
"@nocobase/evaluators": "1.
|
|
20
|
-
"@nocobase/lock-manager": "1.
|
|
21
|
-
"@nocobase/logger": "1.
|
|
22
|
-
"@nocobase/resourcer": "1.
|
|
23
|
-
"@nocobase/sdk": "1.
|
|
24
|
-
"@nocobase/telemetry": "1.
|
|
25
|
-
"@nocobase/utils": "1.
|
|
11
|
+
"@koa/multer": "^3.1.0",
|
|
12
|
+
"@koa/router": "^13.1.0",
|
|
13
|
+
"@nocobase/acl": "1.8.0-beta.1",
|
|
14
|
+
"@nocobase/actions": "1.8.0-beta.1",
|
|
15
|
+
"@nocobase/auth": "1.8.0-beta.1",
|
|
16
|
+
"@nocobase/cache": "1.8.0-beta.1",
|
|
17
|
+
"@nocobase/data-source-manager": "1.8.0-beta.1",
|
|
18
|
+
"@nocobase/database": "1.8.0-beta.1",
|
|
19
|
+
"@nocobase/evaluators": "1.8.0-beta.1",
|
|
20
|
+
"@nocobase/lock-manager": "1.8.0-beta.1",
|
|
21
|
+
"@nocobase/logger": "1.8.0-beta.1",
|
|
22
|
+
"@nocobase/resourcer": "1.8.0-beta.1",
|
|
23
|
+
"@nocobase/sdk": "1.8.0-beta.1",
|
|
24
|
+
"@nocobase/telemetry": "1.8.0-beta.1",
|
|
25
|
+
"@nocobase/utils": "1.8.0-beta.1",
|
|
26
26
|
"@types/decompress": "4.2.7",
|
|
27
27
|
"@types/ini": "^1.3.31",
|
|
28
28
|
"@types/koa-send": "^4.1.3",
|
|
29
|
-
"@types/multer": "^1.4.
|
|
29
|
+
"@types/multer": "^1.4.12",
|
|
30
30
|
"async-mutex": "^0.5.0",
|
|
31
31
|
"axios": "^1.7.0",
|
|
32
32
|
"chalk": "^4.1.1",
|
|
33
33
|
"commander": "^9.2.0",
|
|
34
|
+
"compression": "^1.8.0",
|
|
34
35
|
"cron": "^2.4.4",
|
|
35
36
|
"cronstrue": "^2.11.0",
|
|
36
37
|
"dayjs": "^1.11.8",
|
|
@@ -44,10 +45,10 @@
|
|
|
44
45
|
"koa-send": "^5.0.1",
|
|
45
46
|
"koa-static": "^5.0.0",
|
|
46
47
|
"lodash": "^4.17.21",
|
|
47
|
-
"multer": "^1.4.2",
|
|
48
|
-
"nanoid": "3.3.
|
|
49
|
-
"semver": "^7.
|
|
50
|
-
"serve-handler": "^6.1.
|
|
48
|
+
"multer": "^1.4.5-lts.2",
|
|
49
|
+
"nanoid": "^3.3.11",
|
|
50
|
+
"semver": "^7.7.1",
|
|
51
|
+
"serve-handler": "^6.1.6",
|
|
51
52
|
"ws": "^8.13.0",
|
|
52
53
|
"xpipe": "^1.0.5"
|
|
53
54
|
},
|
|
@@ -56,5 +57,5 @@
|
|
|
56
57
|
"@types/serve-handler": "^6.1.1",
|
|
57
58
|
"@types/ws": "^8.5.5"
|
|
58
59
|
},
|
|
59
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "103935669123174f2942247202e3d9ff15f0d4ed"
|
|
60
61
|
}
|