@xmobitea/gn-server 2.5.1 → 2.6.0
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/LICENSE +202 -0
- package/README.md +3 -0
- package/THIRD_PARTY_LICENSES +97 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/SetSecretInfoInformationRequestHandler.d.ts +1 -0
- package/dist/GN-common/constant/parameterCode/GNParameterCode.d.ts +3 -0
- package/dist/GN-common/entity/SecretInfo.d.ts +4 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/masterAdmin/SecretInfoItem.d.ts +4 -0
- package/dist/GN-library/xdatabase/lib/xDatabase.d.ts +15 -8
- package/dist/GN-startup/cloudScript/eventCallbackCloudScriptData.json +1 -1
- package/dist/GN-startup/middleware/AntiDdosMiddleware.d.ts +1 -0
- package/dist/GN-startup/routes/utils/wrap.d.ts +2 -0
- package/dist/GNServer.d.ts +0 -3
- package/dist/index.d.ts +0 -4
- package/dist/index.js +635 -369
- package/gn.sh +1 -1
- package/package.json +7 -20
- package/dist/GN-app-api/service/ILockService.d.ts +0 -4
- package/dist/GN-app-api/service/LockService.d.ts +0 -5
package/gn.sh
CHANGED
|
@@ -191,7 +191,7 @@ import { PostIndex } from "./PostIndex";
|
|
|
191
191
|
|
|
192
192
|
let ENVIROMENT = process.env.ENVIROMENT || "debug";
|
|
193
193
|
const optionsPath = __dirname + "/./../GNconfig." + ENVIROMENT + ".json";
|
|
194
|
-
console.log("[
|
|
194
|
+
console.log("[GearN Server] ENVIROMENT [" + ENVIROMENT + "], load the config at " + optionsPath);
|
|
195
195
|
let optionStr = fs.readFileSync(optionsPath).toString();
|
|
196
196
|
let fullOptions = JSON.parse(optionStr);
|
|
197
197
|
let options = fullOptions.options;
|
package/package.json
CHANGED
|
@@ -1,33 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmobitea/gn-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "GearN Server by XmobiTea (Pro)",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "npm run build && npm run debug",
|
|
9
9
|
"debug": "node index.js",
|
|
10
|
-
"test": "mocha -r ts-node/register ./test/**/*.test.ts",
|
|
11
10
|
"build": "rm -rf ./dist && webpack --mode production --stats-modules && npm run copyCloudScriptTemplate",
|
|
12
11
|
"copyCloudScriptTemplate": "node ./syncCodeVer2.js && cp -R ./src/GN-startup/cloudScript ./dist/GN-startup/cloudScript",
|
|
13
12
|
"push": "npm run build && npm publish && git push"
|
|
14
13
|
},
|
|
15
|
-
"author": "changx.develop@gmail.com (https://xmobitea.com)",
|
|
16
|
-
"license": "
|
|
14
|
+
"author": "Chang X <changx.develop@gmail.com> (https://xmobitea.com)",
|
|
15
|
+
"license": "Apache-2.0",
|
|
17
16
|
"devDependencies": {
|
|
18
|
-
"@types/async-lock": "^1.4.2",
|
|
19
17
|
"@types/bcrypt": "^5.0.2",
|
|
20
18
|
"@types/express": "^5.0.0",
|
|
21
19
|
"@types/jsonwebtoken": "^9.0.7",
|
|
22
|
-
"@types/md5": "^2.3.5",
|
|
23
|
-
"@types/mocha": "^10.0.10",
|
|
24
|
-
"@types/node": "^22.10.5",
|
|
25
20
|
"@types/multer": "^1.4.12",
|
|
26
|
-
"
|
|
21
|
+
"@types/node": "^22.10.5",
|
|
27
22
|
"terser-webpack-plugin": "^5.3.10",
|
|
28
23
|
"ts-loader": "^9.5.1",
|
|
29
|
-
"ts-node": "^10.9.2",
|
|
30
|
-
"tslib": "^2.8.1",
|
|
31
24
|
"typescript": "^5.7.2",
|
|
32
25
|
"webpack": "^5.97.1",
|
|
33
26
|
"webpack-cli": "^5.1.4",
|
|
@@ -38,21 +31,15 @@
|
|
|
38
31
|
"@sendgrid/mail": "^8.1.4",
|
|
39
32
|
"@socket.io/mongo-adapter": "^0.3.2",
|
|
40
33
|
"@socket.io/mongo-emitter": "^0.2.0",
|
|
41
|
-
"@
|
|
42
|
-
"
|
|
43
|
-
"async-lock": "^1.4.1",
|
|
44
|
-
"async-middleware": "^1.2.1",
|
|
45
|
-
"axios": "^1.7.9",
|
|
34
|
+
"@xmobitea/gn-typescript-client": "^2.6.1",
|
|
35
|
+
"axios": "^1.10.0",
|
|
46
36
|
"bcrypt": "^5.1.1",
|
|
47
37
|
"cors": "^2.8.5",
|
|
48
|
-
"crypto-js": "^4.2.0",
|
|
49
38
|
"express": "^4.21.2",
|
|
50
|
-
"express-msgpack": "^5.1.2",
|
|
51
39
|
"firebase-admin": "^13.0.2",
|
|
52
40
|
"jsonwebtoken": "^9.0.2",
|
|
53
41
|
"jwks-rsa": "^3.1.0",
|
|
54
42
|
"log4js": "^6.9.1",
|
|
55
|
-
"md5": "^2.3.0",
|
|
56
43
|
"mongodb": "^6.12.0",
|
|
57
44
|
"multer": "^1.4.5-lts.1",
|
|
58
45
|
"reflect-metadata": "^0.2.2",
|
|
@@ -72,5 +59,5 @@
|
|
|
72
59
|
"bugs": {
|
|
73
60
|
"url": "https://github.com/XmobiTea-Family/GN-Server/issues"
|
|
74
61
|
},
|
|
75
|
-
"homepage": "https://
|
|
62
|
+
"homepage": "https://gearn.net"
|
|
76
63
|
}
|