@nocobase/server 1.3.47-beta → 1.3.48-beta
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/README.md +30 -0
- package/lib/application.js +7 -2
- package/package.json +14 -14
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# NocoBase
|
|
2
|
+
|
|
3
|
+
<video width="100%" controls>
|
|
4
|
+
<source src="https://static-docs.nocobase.com/NocoBase0510.mp4" type="video/mp4">
|
|
5
|
+
</video>
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## What is NocoBase
|
|
9
|
+
|
|
10
|
+
NocoBase is a scalability-first, open-source no-code development platform.
|
|
11
|
+
Instead of investing years of time and millions of dollars in research and development, deploy NocoBase in a few minutes and you'll have a private, controllable, and extremely scalable no-code development platform!
|
|
12
|
+
|
|
13
|
+
Homepage:
|
|
14
|
+
https://www.nocobase.com/
|
|
15
|
+
|
|
16
|
+
Online Demo:
|
|
17
|
+
https://demo.nocobase.com/new
|
|
18
|
+
|
|
19
|
+
Documents:
|
|
20
|
+
https://docs.nocobase.com/
|
|
21
|
+
|
|
22
|
+
Commericial license & plugins:
|
|
23
|
+
https://www.nocobase.com/en/commercial
|
|
24
|
+
|
|
25
|
+
License agreement:
|
|
26
|
+
https://www.nocobase.com/en/agreement
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## Contact Us:
|
|
30
|
+
hello@nocobase.com
|
package/lib/application.js
CHANGED
|
@@ -860,14 +860,19 @@ const _Application = class _Application extends import_koa.default {
|
|
|
860
860
|
this.dataSourceManager.dataSources.set("main", mainDataSourceInstance);
|
|
861
861
|
}
|
|
862
862
|
createDatabase(options) {
|
|
863
|
-
const logging = /* @__PURE__ */ __name((
|
|
863
|
+
const logging = /* @__PURE__ */ __name((...args) => {
|
|
864
|
+
let msg = args[0];
|
|
864
865
|
if (typeof msg === "string") {
|
|
865
866
|
msg = msg.replace(/[\r\n]/gm, "").replace(/\s+/g, " ");
|
|
866
867
|
}
|
|
867
868
|
if (msg.includes("INSERT INTO")) {
|
|
868
869
|
msg = msg.substring(0, 2e3) + "...";
|
|
869
870
|
}
|
|
870
|
-
|
|
871
|
+
const content = { message: msg, app: this.name, reqId: this.context.reqId };
|
|
872
|
+
if (args[1] && typeof args[1] === "number") {
|
|
873
|
+
content.executeTime = args[1];
|
|
874
|
+
}
|
|
875
|
+
this._sqlLogger.debug(content);
|
|
871
876
|
}, "logging");
|
|
872
877
|
const dbOptions = options.database instanceof import_database.default ? options.database.options : options.database;
|
|
873
878
|
const db = new import_database.default({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.48-beta",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
"@koa/cors": "^3.1.0",
|
|
11
11
|
"@koa/multer": "^3.0.2",
|
|
12
12
|
"@koa/router": "^9.4.0",
|
|
13
|
-
"@nocobase/acl": "1.3.
|
|
14
|
-
"@nocobase/actions": "1.3.
|
|
15
|
-
"@nocobase/auth": "1.3.
|
|
16
|
-
"@nocobase/cache": "1.3.
|
|
17
|
-
"@nocobase/data-source-manager": "1.3.
|
|
18
|
-
"@nocobase/database": "1.3.
|
|
19
|
-
"@nocobase/evaluators": "1.3.
|
|
20
|
-
"@nocobase/logger": "1.3.
|
|
21
|
-
"@nocobase/resourcer": "1.3.
|
|
22
|
-
"@nocobase/sdk": "1.3.
|
|
23
|
-
"@nocobase/telemetry": "1.3.
|
|
24
|
-
"@nocobase/utils": "1.3.
|
|
13
|
+
"@nocobase/acl": "1.3.48-beta",
|
|
14
|
+
"@nocobase/actions": "1.3.48-beta",
|
|
15
|
+
"@nocobase/auth": "1.3.48-beta",
|
|
16
|
+
"@nocobase/cache": "1.3.48-beta",
|
|
17
|
+
"@nocobase/data-source-manager": "1.3.48-beta",
|
|
18
|
+
"@nocobase/database": "1.3.48-beta",
|
|
19
|
+
"@nocobase/evaluators": "1.3.48-beta",
|
|
20
|
+
"@nocobase/logger": "1.3.48-beta",
|
|
21
|
+
"@nocobase/resourcer": "1.3.48-beta",
|
|
22
|
+
"@nocobase/sdk": "1.3.48-beta",
|
|
23
|
+
"@nocobase/telemetry": "1.3.48-beta",
|
|
24
|
+
"@nocobase/utils": "1.3.48-beta",
|
|
25
25
|
"@types/decompress": "4.2.7",
|
|
26
26
|
"@types/ini": "^1.3.31",
|
|
27
27
|
"@types/koa-send": "^4.1.3",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"@types/serve-handler": "^6.1.1",
|
|
55
55
|
"@types/ws": "^8.5.5"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "25f9e965a1ffe48a24e5d6ef18a6142abcf38ec3"
|
|
58
58
|
}
|