node-karin 0.12.1 → 0.12.2-5.pr.206.24448f3
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/CHANGELOG.md +1029 -0
- package/LICENSE +21 -674
- package/README.md +15 -42
- package/default/comment/config.json +34 -0
- package/default/comment/friendDirect.json +10 -0
- package/default/comment/groupGuild.json +11 -0
- package/default/comment/server.json +17 -0
- package/default/config/config.yaml +78 -0
- package/default/config/friendDirect.yaml +31 -0
- package/default/config/groupGuild.yaml +70 -0
- package/default/config/pm2.yaml +21 -0
- package/default/config/redis.yaml +19 -0
- package/default/config/server.yaml +47 -0
- package/default/view/group.yaml +73 -0
- package/lib/index.js +38 -8
- package/package.json +128 -124
- package/packages/module/art-template.cjs +11 -0
- package/packages/module/art-template.d.ts +1 -0
- package/packages/module/axios.cjs +22 -0
- package/packages/module/axios.d.ts +2 -0
- package/packages/module/chalk.cjs +22 -0
- package/packages/module/chalk.d.ts +2 -0
- package/packages/module/chokidar.cjs +22 -0
- package/packages/module/chokidar.d.ts +2 -0
- package/packages/module/commander.cjs +35 -0
- package/packages/module/commander.d.ts +3 -0
- package/packages/module/commander.js +3 -0
- package/packages/module/express.cjs +112 -0
- package/packages/module/express.d.ts +1 -0
- package/packages/module/express.js +1 -0
- package/packages/module/level.cjs +22 -0
- package/packages/module/level.d.ts +2 -0
- package/packages/module/lodash.cjs +11 -0
- package/packages/module/lodash.d.ts +1 -0
- package/packages/module/log4js.cjs +22 -0
- package/packages/module/log4js.d.ts +2 -0
- package/packages/module/moment.cjs +11 -0
- package/packages/module/moment.d.ts +1 -0
- package/packages/module/node-schedule.cjs +22 -0
- package/packages/module/node-schedule.d.ts +2 -0
- package/packages/module/redis.cjs +22 -0
- package/packages/module/redis.d.ts +2 -0
- package/packages/module/ws.cjs +28 -0
- package/packages/module/ws.d.ts +1 -0
- package/packages/module/ws.js +1 -0
- package/packages/module/yaml.cjs +22 -0
- package/packages/module/yaml.d.ts +2 -0
- package/config/defSet/App.yaml +0 -42
- package/config/defSet/config.yaml +0 -65
- package/config/defSet/group.yaml +0 -56
- package/config/defSet/pm2.yaml +0 -21
- package/config/defSet/redis.yaml +0 -18
- package/config/defSet/server.yaml +0 -42
- package/config/view/group.yaml +0 -92
- package/lib/adapter/index.d.ts +0 -2
- package/lib/adapter/index.js +0 -2
- package/lib/adapter/input/index.d.ts +0 -78
- package/lib/adapter/input/index.js +0 -205
- package/lib/adapter/onebot/11/convert.d.ts +0 -12
- package/lib/adapter/onebot/11/convert.js +0 -167
- package/lib/adapter/onebot/11/event.d.ts +0 -25
- package/lib/adapter/onebot/11/event.js +0 -442
- package/lib/adapter/onebot/11/index.d.ts +0 -508
- package/lib/adapter/onebot/11/index.js +0 -1047
- package/lib/cli/index.d.ts +0 -92
- package/lib/cli/index.js +0 -307
- package/lib/cli/init.d.ts +0 -2
- package/lib/cli/init.js +0 -22
- package/lib/cli/karin.d.ts +0 -2
- package/lib/cli/karin.js +0 -16
- package/lib/cli/pkg.d.ts +0 -4
- package/lib/cli/pkg.js +0 -14
- package/lib/cli/start.d.ts +0 -1
- package/lib/cli/start.js +0 -8
- package/lib/core/index.d.ts +0 -10
- package/lib/core/index.js +0 -10
- package/lib/core/init/config.d.ts +0 -43
- package/lib/core/init/config.js +0 -201
- package/lib/core/init/dir.d.ts +0 -4
- package/lib/core/init/dir.js +0 -7
- package/lib/core/init/init.d.ts +0 -1
- package/lib/core/init/init.js +0 -47
- package/lib/core/karin/karin.d.ts +0 -198
- package/lib/core/karin/karin.js +0 -226
- package/lib/core/listener/listener.d.ts +0 -145
- package/lib/core/listener/listener.js +0 -235
- package/lib/core/plugin/base.d.ts +0 -156
- package/lib/core/plugin/base.js +0 -131
- package/lib/core/plugin/loader.d.ts +0 -141
- package/lib/core/plugin/loader.js +0 -618
- package/lib/core/process/process.d.ts +0 -18
- package/lib/core/process/process.js +0 -96
- package/lib/core/server/server.d.ts +0 -25
- package/lib/core/server/server.js +0 -295
- package/lib/db/index.d.ts +0 -2
- package/lib/db/index.js +0 -2
- package/lib/db/level/level.d.ts +0 -19
- package/lib/db/level/level.js +0 -36
- package/lib/db/redis/redis.d.ts +0 -2
- package/lib/db/redis/redis.js +0 -135
- package/lib/db/redis/redis_level.d.ts +0 -112
- package/lib/db/redis/redis_level.js +0 -281
- package/lib/event/handler/base.d.ts +0 -42
- package/lib/event/handler/base.js +0 -200
- package/lib/event/handler/message.d.ts +0 -25
- package/lib/event/handler/message.js +0 -302
- package/lib/event/handler/notice.d.ts +0 -18
- package/lib/event/handler/notice.js +0 -214
- package/lib/event/handler/request.d.ts +0 -18
- package/lib/event/handler/request.js +0 -115
- package/lib/event/handler/review.d.ts +0 -55
- package/lib/event/handler/review.js +0 -386
- package/lib/event/index.d.ts +0 -5
- package/lib/event/index.js +0 -5
- package/lib/index.d.ts +0 -8
- package/lib/modules/art-template.d.ts +0 -1
- package/lib/modules/axios.d.ts +0 -2
- package/lib/modules/chalk.d.ts +0 -2
- package/lib/modules/chokidar.d.ts +0 -2
- package/lib/modules/commander.d.ts +0 -2
- package/lib/modules/commander.js +0 -2
- package/lib/modules/express.d.ts +0 -3
- package/lib/modules/express.js +0 -3
- package/lib/modules/level.d.ts +0 -2
- package/lib/modules/lodash.d.ts +0 -1
- package/lib/modules/log4js.d.ts +0 -2
- package/lib/modules/moment.d.ts +0 -1
- package/lib/modules/node-schedule.d.ts +0 -2
- package/lib/modules/redis.d.ts +0 -2
- package/lib/modules/ws.d.ts +0 -3
- package/lib/modules/ws.js +0 -3
- package/lib/modules/yaml.d.ts +0 -2
- package/lib/modules.d.ts +0 -15
- package/lib/modules.js +0 -15
- package/lib/render/app.d.ts +0 -56
- package/lib/render/app.js +0 -120
- package/lib/render/base.d.ts +0 -30
- package/lib/render/base.js +0 -69
- package/lib/render/client.d.ts +0 -41
- package/lib/render/client.js +0 -238
- package/lib/render/http.d.ts +0 -19
- package/lib/render/http.js +0 -50
- package/lib/render/index.d.ts +0 -6
- package/lib/render/index.js +0 -6
- package/lib/render/server.d.ts +0 -25
- package/lib/render/server.js +0 -101
- package/lib/render/wormhole.d.ts +0 -1
- package/lib/render/wormhole.js +0 -156
- package/lib/types/adapter/api.d.ts +0 -399
- package/lib/types/adapter/api.js +0 -1
- package/lib/types/adapter/base.d.ts +0 -560
- package/lib/types/adapter/base.js +0 -1
- package/lib/types/config/config.d.ts +0 -379
- package/lib/types/config/config.js +0 -1
- package/lib/types/element/element.d.ts +0 -565
- package/lib/types/element/element.js +0 -1
- package/lib/types/element/qqbot.d.ts +0 -123
- package/lib/types/element/qqbot.js +0 -1
- package/lib/types/event/contact.d.ts +0 -28
- package/lib/types/event/contact.js +0 -1
- package/lib/types/event/event.d.ts +0 -305
- package/lib/types/event/event.js +0 -1
- package/lib/types/event/index.d.ts +0 -12
- package/lib/types/event/index.js +0 -7
- package/lib/types/event/message.d.ts +0 -109
- package/lib/types/event/message.js +0 -74
- package/lib/types/event/notice.d.ts +0 -513
- package/lib/types/event/notice.js +0 -52
- package/lib/types/event/reply.d.ts +0 -50
- package/lib/types/event/reply.js +0 -1
- package/lib/types/event/request.d.ts +0 -126
- package/lib/types/event/request.js +0 -52
- package/lib/types/event/sender.d.ts +0 -44
- package/lib/types/event/sender.js +0 -1
- package/lib/types/index.d.ts +0 -13
- package/lib/types/index.js +0 -13
- package/lib/types/logger/logger.d.ts +0 -110
- package/lib/types/logger/logger.js +0 -1
- package/lib/types/onebot11/api.d.ts +0 -53
- package/lib/types/onebot11/api.js +0 -1
- package/lib/types/onebot11/event.d.ts +0 -619
- package/lib/types/onebot11/event.js +0 -2
- package/lib/types/onebot11/index.d.ts +0 -6
- package/lib/types/onebot11/index.js +0 -6
- package/lib/types/onebot11/params.d.ts +0 -609
- package/lib/types/onebot11/params.js +0 -1
- package/lib/types/onebot11/response.d.ts +0 -516
- package/lib/types/onebot11/response.js +0 -1
- package/lib/types/onebot11/segment.d.ts +0 -269
- package/lib/types/onebot11/segment.js +0 -1
- package/lib/types/onebot11/sender.d.ts +0 -59
- package/lib/types/onebot11/sender.js +0 -1
- package/lib/types/plugin/app.d.ts +0 -71
- package/lib/types/plugin/app.js +0 -1
- package/lib/types/plugin/plugin.d.ts +0 -473
- package/lib/types/plugin/plugin.js +0 -1
- package/lib/types/render/render.d.ts +0 -118
- package/lib/types/render/render.js +0 -1
- package/lib/types/type/global.d.ts +0 -25
- package/lib/types/type/global.js +0 -1
- package/lib/utils/common/common.d.ts +0 -236
- package/lib/utils/common/common.js +0 -708
- package/lib/utils/config/config.d.ts +0 -193
- package/lib/utils/config/config.js +0 -328
- package/lib/utils/config/updateVersion.d.ts +0 -33
- package/lib/utils/config/updateVersion.js +0 -145
- package/lib/utils/config/yamlEditor.d.ts +0 -101
- package/lib/utils/config/yamlEditor.js +0 -330
- package/lib/utils/core/handler.d.ts +0 -18
- package/lib/utils/core/handler.js +0 -46
- package/lib/utils/core/logger.d.ts +0 -3
- package/lib/utils/core/logger.js +0 -105
- package/lib/utils/core/segment.d.ts +0 -279
- package/lib/utils/core/segment.js +0 -451
- package/lib/utils/index.d.ts +0 -13
- package/lib/utils/index.js +0 -13
- package/lib/utils/tools/button.d.ts +0 -2
- package/lib/utils/tools/button.js +0 -27
- package/lib/utils/tools/exec.d.ts +0 -20
- package/lib/utils/tools/exec.js +0 -54
- package/lib/utils/tools/ffmpeg.d.ts +0 -12
- package/lib/utils/tools/ffmpeg.js +0 -25
- package/lib/utils/tools/restart.d.ts +0 -15
- package/lib/utils/tools/restart.js +0 -39
- package/lib/utils/tools/stop.d.ts +0 -7
- package/lib/utils/tools/stop.js +0 -13
- package/lib/utils/tools/update.d.ts +0 -67
- package/lib/utils/tools/update.js +0 -151
- /package/{config → default}/view/App.yaml +0 -0
- /package/{config → default}/view/config.yaml +0 -0
- /package/{config → default}/view/pm2.yaml +0 -0
- /package/{config → default}/view/redis.yaml +0 -0
- /package/{config → default}/view/server.yaml +0 -0
- /package/{lib/modules → packages/module}/art-template.js +0 -0
- /package/{lib/modules → packages/module}/axios.js +0 -0
- /package/{lib/modules → packages/module}/chalk.js +0 -0
- /package/{lib/modules → packages/module}/chokidar.js +0 -0
- /package/{lib/modules → packages/module}/level.js +0 -0
- /package/{lib/modules → packages/module}/lodash.js +0 -0
- /package/{lib/modules → packages/module}/log4js.js +0 -0
- /package/{lib/modules → packages/module}/moment.js +0 -0
- /package/{lib/modules → packages/module}/node-schedule.js +0 -0
- /package/{lib/modules → packages/module}/redis.js +0 -0
- /package/{lib/modules → packages/module}/yaml.js +0 -0
package/package.json
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-karin",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.25.pr.206.24448f3",
|
|
4
4
|
"private": false,
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Lightweight, efficient, concise, and stable robot framework.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"node",
|
|
8
|
+
"nodejs",
|
|
9
|
+
"karin",
|
|
10
|
+
"bot",
|
|
11
|
+
"robot",
|
|
12
|
+
"icqq",
|
|
13
|
+
"onebot",
|
|
14
|
+
"kritor",
|
|
15
|
+
"node-karin"
|
|
16
|
+
],
|
|
6
17
|
"homepage": "https://github.com/KarinJS/Karin",
|
|
7
18
|
"bugs": {
|
|
8
19
|
"url": "https://github.com/KarinJS/Karin/issues"
|
|
@@ -11,119 +22,17 @@
|
|
|
11
22
|
"type": "git",
|
|
12
23
|
"url": "git+https://github.com/KarinJS/Karin.git"
|
|
13
24
|
},
|
|
14
|
-
"license": "
|
|
15
|
-
"author": "
|
|
16
|
-
"
|
|
17
|
-
"exports": {
|
|
18
|
-
".": {
|
|
19
|
-
"import": "./lib/index.js",
|
|
20
|
-
"require": "./lib/index.js",
|
|
21
|
-
"types": "./lib/index.d.ts"
|
|
22
|
-
},
|
|
23
|
-
"./modules.js": {
|
|
24
|
-
"import": "./lib/modules.js",
|
|
25
|
-
"require": "./lib/modules.js",
|
|
26
|
-
"types": "./lib/modules.d.ts"
|
|
27
|
-
},
|
|
28
|
-
"./art-template": {
|
|
29
|
-
"import": "./lib/modules/art-template.js",
|
|
30
|
-
"require": "./lib/modules/art-template.js",
|
|
31
|
-
"types": "./lib/modules/art-template.d.ts"
|
|
32
|
-
},
|
|
33
|
-
"./axios": {
|
|
34
|
-
"import": "./lib/modules/axios.js",
|
|
35
|
-
"require": "./lib/modules/axios.js",
|
|
36
|
-
"types": "./lib/modules/axios.d.ts"
|
|
37
|
-
},
|
|
38
|
-
"./chalk": {
|
|
39
|
-
"import": "./lib/modules/chalk.js",
|
|
40
|
-
"require": "./lib/modules/chalk.js",
|
|
41
|
-
"types": "./lib/modules/chalk.d.ts"
|
|
42
|
-
},
|
|
43
|
-
"./chokidar": {
|
|
44
|
-
"import": "./lib/modules/chokidar.js",
|
|
45
|
-
"require": "./lib/modules/chokidar.js",
|
|
46
|
-
"types": "./lib/modules/chokidar.d.ts"
|
|
47
|
-
},
|
|
48
|
-
"./commander": {
|
|
49
|
-
"import": "./lib/modules/commander.js",
|
|
50
|
-
"require": "./lib/modules/commander.js",
|
|
51
|
-
"types": "./lib/modules/commander.d.ts"
|
|
52
|
-
},
|
|
53
|
-
"./express": {
|
|
54
|
-
"import": "./lib/modules/express.js",
|
|
55
|
-
"require": "./lib/modules/express.js",
|
|
56
|
-
"types": "./lib/modules/express.d.ts"
|
|
57
|
-
},
|
|
58
|
-
"./grpc-js": {
|
|
59
|
-
"import": "./lib/modules/grpc-js.js",
|
|
60
|
-
"require": "./lib/modules/grpc-js.js",
|
|
61
|
-
"types": "./lib/modules/grpc-js.d.ts"
|
|
62
|
-
},
|
|
63
|
-
"./kritor-proto": {
|
|
64
|
-
"import": "./lib/modules/kritor-proto.js",
|
|
65
|
-
"require": "./lib/modules/kritor-proto.js",
|
|
66
|
-
"types": "./lib/modules/kritor-proto.d.ts"
|
|
67
|
-
},
|
|
68
|
-
"./level": {
|
|
69
|
-
"import": "./lib/modules/level.js",
|
|
70
|
-
"require": "./lib/modules/level.js",
|
|
71
|
-
"types": "./lib/modules/level.d.ts"
|
|
72
|
-
},
|
|
73
|
-
"./lodash": {
|
|
74
|
-
"import": "./lib/modules/lodash.js",
|
|
75
|
-
"require": "./lib/modules/lodash.js",
|
|
76
|
-
"types": "./lib/modules/lodash.d.ts"
|
|
77
|
-
},
|
|
78
|
-
"./log4js": {
|
|
79
|
-
"import": "./lib/modules/log4js.js",
|
|
80
|
-
"require": "./lib/modules/log4js.js",
|
|
81
|
-
"types": "./lib/modules/log4js.d.ts"
|
|
82
|
-
},
|
|
83
|
-
"./moment": {
|
|
84
|
-
"import": "./lib/modules/moment.js",
|
|
85
|
-
"require": "./lib/modules/moment.js",
|
|
86
|
-
"types": "./lib/modules/moment.d.ts"
|
|
87
|
-
},
|
|
88
|
-
"./node-schedule": {
|
|
89
|
-
"import": "./lib/modules/node-schedule.js",
|
|
90
|
-
"require": "./lib/modules/node-schedule.js",
|
|
91
|
-
"types": "./lib/modules/node-schedule.d.ts"
|
|
92
|
-
},
|
|
93
|
-
"./proto-loader": {
|
|
94
|
-
"import": "./lib/modules/proto-loader.js",
|
|
95
|
-
"require": "./lib/modules/proto-loader.js",
|
|
96
|
-
"types": "./lib/modules/proto-loader.d.ts"
|
|
97
|
-
},
|
|
98
|
-
"./redis": {
|
|
99
|
-
"import": "./lib/modules/redis.js",
|
|
100
|
-
"require": "./lib/modules/redis.js",
|
|
101
|
-
"types": "./lib/modules/redis.d.ts"
|
|
102
|
-
},
|
|
103
|
-
"./ws": {
|
|
104
|
-
"import": "./lib/modules/ws.js",
|
|
105
|
-
"require": "./lib/modules/ws.js",
|
|
106
|
-
"types": "./lib/modules/ws.d.ts"
|
|
107
|
-
},
|
|
108
|
-
"./yaml": {
|
|
109
|
-
"import": "./lib/modules/yaml.js",
|
|
110
|
-
"require": "./lib/modules/yaml.js",
|
|
111
|
-
"types": "./lib/modules/yaml.d.ts"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"main": "./lib/index.js",
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"author": "shijin",
|
|
27
|
+
"main": "./src/index.ts",
|
|
115
28
|
"types": "./lib/index.d.ts",
|
|
116
|
-
"
|
|
117
|
-
"init": "lib/cli/init.js",
|
|
118
|
-
"karin": "lib/cli/karin.js"
|
|
119
|
-
},
|
|
29
|
+
"type": "module",
|
|
120
30
|
"files": [
|
|
121
31
|
"/lib/**/*.js",
|
|
122
32
|
"/lib/**/*.d.ts",
|
|
123
|
-
"/
|
|
124
|
-
"/
|
|
125
|
-
"
|
|
126
|
-
"modules.d.ts",
|
|
33
|
+
"/default/**",
|
|
34
|
+
"/packages/module",
|
|
35
|
+
"CHANGELOG.md",
|
|
127
36
|
"LICENSE",
|
|
128
37
|
"package.json",
|
|
129
38
|
"README.md"
|
|
@@ -132,28 +41,37 @@
|
|
|
132
41
|
"plugins/**"
|
|
133
42
|
],
|
|
134
43
|
"scripts": {
|
|
135
|
-
".": "
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
44
|
+
".": "tsx src/index.ts",
|
|
45
|
+
"alias": "tsc-alias -p tsconfig.json",
|
|
46
|
+
"app": "tsx src/index.ts",
|
|
47
|
+
"app:w": "tsx watch --include \"./src/**/*.ts\" index.ts",
|
|
48
|
+
"app:watch": "tsx watch --include \"./src/**/*.ts\" index.ts",
|
|
49
|
+
"build": "tsup --config tsup.config.ts",
|
|
50
|
+
"build:dev": "pnpm build:types && node packages/cli/build.mjs",
|
|
51
|
+
"build:module": "tsup --config tsup.modules.ts && node packages/cli/module.mjs",
|
|
52
|
+
"build:prod": "tsup --config tsup.config.ts && node packages/cli/types.mjs -prod && node packages/cli/build.prod.mjs",
|
|
53
|
+
"build:types": "tsup --config tsup.types.ts && node packages/cli/types.mjs",
|
|
54
|
+
"debug": "tsx src/index.ts --debug",
|
|
55
|
+
"debug:w": "tsx watch --include \"./src/**/*.ts\" --debug",
|
|
56
|
+
"debug:watch": "tsx watch --include \"./src/**/*.ts\" --debug",
|
|
57
|
+
"dev": "node --import tsx --trace-deprecation src/index.ts",
|
|
58
|
+
"pr": "node packages/cli/pr.mjs all",
|
|
141
59
|
"pub": "npm publish --access public",
|
|
142
|
-
"
|
|
143
|
-
"
|
|
60
|
+
"pub-beta": "npm publish --tag beta",
|
|
61
|
+
"sort": "npx sort-package-json && sort-json tsconfig.json"
|
|
144
62
|
},
|
|
145
63
|
"dependencies": {
|
|
146
|
-
"@types/express": "^
|
|
147
|
-
"@types/lodash": "^4.17.
|
|
64
|
+
"@types/express": "^5.0.0",
|
|
65
|
+
"@types/lodash": "^4.17.10",
|
|
148
66
|
"@types/node": "^22.5.0",
|
|
149
67
|
"@types/node-schedule": "^2.1.7",
|
|
150
68
|
"@types/ws": "^8.5.12",
|
|
151
69
|
"art-template": "4.13.2",
|
|
152
|
-
"axios": "1.7.
|
|
70
|
+
"axios": "1.7.9",
|
|
153
71
|
"chalk": "5.3.0",
|
|
154
72
|
"chokidar": "3.6.0",
|
|
155
73
|
"commander": "^12.1.0",
|
|
156
|
-
"express": "4.
|
|
74
|
+
"express": "4.21.2",
|
|
157
75
|
"level": "8.0.1",
|
|
158
76
|
"lodash": "4.17.21",
|
|
159
77
|
"log4js": "6.9.1",
|
|
@@ -169,5 +87,91 @@
|
|
|
169
87
|
"publishConfig": {
|
|
170
88
|
"access": "public",
|
|
171
89
|
"registry": "https://registry.npmjs.org"
|
|
90
|
+
},
|
|
91
|
+
"exports": {
|
|
92
|
+
".": {
|
|
93
|
+
"import": "./src/index.ts",
|
|
94
|
+
"types": "./lib/index.d.ts"
|
|
95
|
+
},
|
|
96
|
+
"./template": {
|
|
97
|
+
"import": "./src/packages/module/art-template.ts",
|
|
98
|
+
"types": "./packages/module/art-template.d.ts",
|
|
99
|
+
"require": "./src/packages/module/art-template.ts"
|
|
100
|
+
},
|
|
101
|
+
"./art-template": {
|
|
102
|
+
"import": "./src/packages/module/art-template.ts",
|
|
103
|
+
"types": "./packages/module/art-template.d.ts",
|
|
104
|
+
"require": "./src/packages/module/art-template.ts"
|
|
105
|
+
},
|
|
106
|
+
"./axios": {
|
|
107
|
+
"import": "./src/packages/module/axios.ts",
|
|
108
|
+
"types": "./packages/module/axios.d.ts",
|
|
109
|
+
"require": "./src/packages/module/axios.ts"
|
|
110
|
+
},
|
|
111
|
+
"./chalk": {
|
|
112
|
+
"import": "./src/packages/module/chalk.ts",
|
|
113
|
+
"types": "./packages/module/chalk.d.ts",
|
|
114
|
+
"require": "./src/packages/module/chalk.ts"
|
|
115
|
+
},
|
|
116
|
+
"./chokidar": {
|
|
117
|
+
"import": "./src/packages/module/chokidar.ts",
|
|
118
|
+
"types": "./packages/module/chokidar.d.ts",
|
|
119
|
+
"require": "./src/packages/module/chokidar.ts"
|
|
120
|
+
},
|
|
121
|
+
"./commander": {
|
|
122
|
+
"import": "./src/packages/module/commander.ts",
|
|
123
|
+
"types": "./packages/module/commander.d.ts",
|
|
124
|
+
"require": "./src/packages/module/commander.ts"
|
|
125
|
+
},
|
|
126
|
+
"./express": {
|
|
127
|
+
"import": "./src/packages/module/express.ts",
|
|
128
|
+
"types": "./packages/module/express.d.ts",
|
|
129
|
+
"require": "./src/packages/module/express.ts"
|
|
130
|
+
},
|
|
131
|
+
"./level": {
|
|
132
|
+
"import": "./src/packages/module/level.ts",
|
|
133
|
+
"types": "./packages/module/level.d.ts",
|
|
134
|
+
"require": "./src/packages/module/level.ts"
|
|
135
|
+
},
|
|
136
|
+
"./lodash": {
|
|
137
|
+
"import": "./src/packages/module/lodash.ts",
|
|
138
|
+
"types": "./packages/module/lodash.d.ts",
|
|
139
|
+
"require": "./src/packages/module/lodash.ts"
|
|
140
|
+
},
|
|
141
|
+
"./log4js": {
|
|
142
|
+
"import": "./src/packages/module/log4js.ts",
|
|
143
|
+
"types": "./packages/module/log4js.d.ts",
|
|
144
|
+
"require": "./src/packages/module/log4js.ts"
|
|
145
|
+
},
|
|
146
|
+
"./moment": {
|
|
147
|
+
"import": "./src/packages/module/moment.ts",
|
|
148
|
+
"types": "./packages/module/moment.d.ts",
|
|
149
|
+
"require": "./src/packages/module/moment.ts"
|
|
150
|
+
},
|
|
151
|
+
"./schedule": {
|
|
152
|
+
"import": "./src/packages/module/node-schedule.ts",
|
|
153
|
+
"types": "./packages/module/node-schedule.d.ts",
|
|
154
|
+
"require": "./src/packages/module/node-schedule.ts"
|
|
155
|
+
},
|
|
156
|
+
"./node-schedule": {
|
|
157
|
+
"import": "./src/packages/module/node-schedule.ts",
|
|
158
|
+
"types": "./packages/module/node-schedule.d.ts",
|
|
159
|
+
"require": "./src/packages/module/node-schedule.ts"
|
|
160
|
+
},
|
|
161
|
+
"./redis": {
|
|
162
|
+
"import": "./src/packages/module/redis.ts",
|
|
163
|
+
"types": "./packages/module/redis.d.ts",
|
|
164
|
+
"require": "./src/packages/module/redis.ts"
|
|
165
|
+
},
|
|
166
|
+
"./ws": {
|
|
167
|
+
"import": "./src/packages/module/ws.ts",
|
|
168
|
+
"types": "./packages/module/ws.d.ts",
|
|
169
|
+
"require": "./src/packages/module/ws.ts"
|
|
170
|
+
},
|
|
171
|
+
"./yaml": {
|
|
172
|
+
"import": "./src/packages/module/yaml.ts",
|
|
173
|
+
"types": "./packages/module/yaml.d.ts",
|
|
174
|
+
"require": "./src/packages/module/yaml.ts"
|
|
175
|
+
}
|
|
172
176
|
}
|
|
173
|
-
}
|
|
177
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var artTemplate = require('art-template');
|
|
4
|
+
|
|
5
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
6
|
+
|
|
7
|
+
var artTemplate__default = /*#__PURE__*/_interopDefault(artTemplate);
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
module.exports = artTemplate__default.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from 'art-template';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var axios = require('axios');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var axios__default = /*#__PURE__*/_interopDefault(axios);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return axios__default.default; }
|
|
16
|
+
});
|
|
17
|
+
Object.keys(axios).forEach(function (k) {
|
|
18
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return axios[k]; }
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chalk = require('chalk');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var chalk__default = /*#__PURE__*/_interopDefault(chalk);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chalk__default.default; }
|
|
16
|
+
});
|
|
17
|
+
Object.keys(chalk).forEach(function (k) {
|
|
18
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chalk[k]; }
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chokidar = require('chokidar');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var chokidar__default = /*#__PURE__*/_interopDefault(chokidar);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chokidar__default.default; }
|
|
16
|
+
});
|
|
17
|
+
Object.keys(chokidar).forEach(function (k) {
|
|
18
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chokidar[k]; }
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var commander = require('commander');
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n.default = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var commander__namespace = /*#__PURE__*/_interopNamespace(commander);
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
exports.default = commander__namespace;
|
|
30
|
+
Object.keys(commander).forEach(function (k) {
|
|
31
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return commander[k]; }
|
|
34
|
+
});
|
|
35
|
+
});
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var express = require('express');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var express__default = /*#__PURE__*/_interopDefault(express);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "Application", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return express.Application; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "CookieOptions", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return express.CookieOptions; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "Errback", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return express.Errback; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "ErrorRequestHandler", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return express.ErrorRequestHandler; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "Express", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return express.Express; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "Handler", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return express.Handler; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "IRoute", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return express.IRoute; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "IRouter", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return express.IRouter; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "IRouterHandler", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return express.IRouterHandler; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "IRouterMatcher", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return express.IRouterMatcher; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "Locals", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return express.Locals; }
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "MediaType", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return express.MediaType; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "NextFunction", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return express.NextFunction; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "Request", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return express.Request; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "RequestHandler", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return express.RequestHandler; }
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "RequestParamHandler", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () { return express.RequestParamHandler; }
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "Response", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () { return express.Response; }
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(exports, "Router", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return express.Router; }
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "RouterOptions", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () { return express.RouterOptions; }
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "Send", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return express.Send; }
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "default", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () { return express__default.default; }
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(exports, "json", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return express.json; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "query", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return express.query; }
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "raw", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return express.raw; }
|
|
108
|
+
});
|
|
109
|
+
Object.defineProperty(exports, "text", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () { return express.text; }
|
|
112
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Application, CookieOptions, Errback, ErrorRequestHandler, Express, Handler, IRoute, IRouter, IRouterHandler, IRouterMatcher, Locals, MediaType, NextFunction, Request, RequestHandler, RequestParamHandler, Response, Router, RouterOptions, Send, default, json, query, raw, text } from 'express';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Application, CookieOptions, Errback, ErrorRequestHandler, Express, Handler, IRoute, IRouter, IRouterHandler, IRouterMatcher, Locals, MediaType, NextFunction, Request, RequestHandler, RequestParamHandler, Response, Router, RouterOptions, Send, default, json, query, raw, text } from 'express';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var level = require('level');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var level__default = /*#__PURE__*/_interopDefault(level);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return level__default.default; }
|
|
16
|
+
});
|
|
17
|
+
Object.keys(level).forEach(function (k) {
|
|
18
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return level[k]; }
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from 'lodash';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var log4js = require('log4js');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var log4js__default = /*#__PURE__*/_interopDefault(log4js);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return log4js__default.default; }
|
|
16
|
+
});
|
|
17
|
+
Object.keys(log4js).forEach(function (k) {
|
|
18
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return log4js[k]; }
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from 'moment';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var nodeSchedule = require('node-schedule');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var nodeSchedule__default = /*#__PURE__*/_interopDefault(nodeSchedule);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return nodeSchedule__default.default; }
|
|
16
|
+
});
|
|
17
|
+
Object.keys(nodeSchedule).forEach(function (k) {
|
|
18
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return nodeSchedule[k]; }
|
|
21
|
+
});
|
|
22
|
+
});
|