@jayfong/x-server 2.4.3 → 2.5.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/lib/_cjs/services/emoji.js +2037 -0
- package/lib/_cjs/x.js +3 -1
- package/lib/services/emoji.d.ts +10 -0
- package/lib/services/emoji.js +2030 -0
- package/lib/x.d.ts +1 -0
- package/lib/x.js +2 -1
- package/package.json +3 -2
package/lib/x.d.ts
CHANGED
package/lib/x.js
CHANGED
|
@@ -2,6 +2,7 @@ import fs from 'fs-extra';
|
|
|
2
2
|
import os from 'os';
|
|
3
3
|
import path from 'path';
|
|
4
4
|
import { DisposeService } from "./services/dispose";
|
|
5
|
+
import { EmojiService } from "./services/emoji";
|
|
5
6
|
import { LogService } from "./services/log";
|
|
6
7
|
const env = JSON.parse(process.env.X_SERVER_ENVS || '{}');
|
|
7
8
|
export const x = {
|
|
@@ -18,4 +19,4 @@ export const x = {
|
|
|
18
19
|
fs.ensureDirSync(x.dataDir);
|
|
19
20
|
x.register(new DisposeService({
|
|
20
21
|
disposeOnExit: true
|
|
21
|
-
}), new LogService());
|
|
22
|
+
}), new LogService(), new EmojiService());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jayfong/x-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "lib/_cjs/index.js",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"ts-morph": "^12.2.0",
|
|
73
73
|
"utf-8-validate": "^5.0.9",
|
|
74
74
|
"vscode-generate-index-standalone": "^1.7.1",
|
|
75
|
-
"vtils": "^4.
|
|
75
|
+
"vtils": "^4.75.0",
|
|
76
76
|
"yargs": "^17.4.1"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"@types/ioredis": "^4.28.10",
|
|
82
82
|
"@types/json-schema": "^7.0.11",
|
|
83
83
|
"@types/lz-string": "^1.3.34",
|
|
84
|
+
"axios": "^1.4.0",
|
|
84
85
|
"eslint": "^7.32.0",
|
|
85
86
|
"haoma": "^3.6.4",
|
|
86
87
|
"husky": "^4.3.8",
|