koishi-plugin-forward-hime 1.1.0 → 1.1.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.
- package/lib/index.js +1 -1
- package/package.json +73 -73
package/lib/index.js
CHANGED
|
@@ -89,7 +89,7 @@ function defaultDeco({ head, content }) {
|
|
|
89
89
|
__name(defaultDeco, "defaultDeco");
|
|
90
90
|
function defaultMiddleware(session) {
|
|
91
91
|
let head = [
|
|
92
|
-
(0, import_koishi4.h)("b", `${session.
|
|
92
|
+
(0, import_koishi4.h)("b", `${session.username}`),
|
|
93
93
|
(0, import_koishi4.h)("span", " 转发自 "),
|
|
94
94
|
(0, import_koishi4.h)("i", `${session.platform}`),
|
|
95
95
|
(0, import_koishi4.h)("span", `:`)
|
package/package.json
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "koishi-plugin-forward-hime",
|
|
3
|
-
"description": "多群组消息互通",
|
|
4
|
-
"version": "1.1.
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "xianii",
|
|
7
|
-
"email": "jiyucheng007@gmail.com"
|
|
8
|
-
},
|
|
9
|
-
"main": "lib/index.js",
|
|
10
|
-
"typings": "lib/index.d.ts",
|
|
11
|
-
"files": [
|
|
12
|
-
"lib"
|
|
13
|
-
],
|
|
14
|
-
"koishi": {
|
|
15
|
-
"preview": true,
|
|
16
|
-
"browser": true
|
|
17
|
-
},
|
|
18
|
-
"license": "MIT",
|
|
19
|
-
"homepage": "https://github.com/Nigh/forward-hime",
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/Nigh/forward-hime.git"
|
|
23
|
-
},
|
|
24
|
-
"bugs": {
|
|
25
|
-
"url": "https://github.com/Nigh/forward-hime/issues"
|
|
26
|
-
},
|
|
27
|
-
"keywords": [
|
|
28
|
-
"chatbot",
|
|
29
|
-
"koishi",
|
|
30
|
-
"plugin",
|
|
31
|
-
"koishi-plugin",
|
|
32
|
-
"forward",
|
|
33
|
-
"message-forwarding"
|
|
34
|
-
],
|
|
35
|
-
"peerDependencies": {
|
|
36
|
-
"koishi": "^4.17.8"
|
|
37
|
-
},
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
|
40
|
-
"@typescript-eslint/parser": "^7.13.0",
|
|
41
|
-
"atsc": "^2.1.0",
|
|
42
|
-
"eslint": "^9.4.0",
|
|
43
|
-
"eslint-config-prettier": "^9.1.0",
|
|
44
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
45
|
-
"eslint-plugin-unused-imports": "^4.0.0",
|
|
46
|
-
"husky": "^9.0.11",
|
|
47
|
-
"lint-staged": "^15.2.7",
|
|
48
|
-
"prettier": "^3.3.2",
|
|
49
|
-
"typescript": "^5.4.5"
|
|
50
|
-
},
|
|
51
|
-
"scripts": {
|
|
52
|
-
"prepare": "husky",
|
|
53
|
-
"build": "atsc -b",
|
|
54
|
-
"eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
55
|
-
"format": "prettier --write .",
|
|
56
|
-
"pub": "npm publish --access public"
|
|
57
|
-
},
|
|
58
|
-
"husky": {
|
|
59
|
-
"hooks": {
|
|
60
|
-
"pre-commit": "lint-staged"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"lint-staged": {
|
|
64
|
-
"*.{js,jsx,ts,tsx,json,css,scss,md}": [
|
|
65
|
-
"eslint --fix",
|
|
66
|
-
"prettier --write"
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
|
-
"publishConfig": {
|
|
70
|
-
"registry": "https://registry.npmjs.org/",
|
|
71
|
-
"access": "public"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "koishi-plugin-forward-hime",
|
|
3
|
+
"description": "多群组消息互通",
|
|
4
|
+
"version": "1.1.1",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "xianii",
|
|
7
|
+
"email": "jiyucheng007@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"main": "lib/index.js",
|
|
10
|
+
"typings": "lib/index.d.ts",
|
|
11
|
+
"files": [
|
|
12
|
+
"lib"
|
|
13
|
+
],
|
|
14
|
+
"koishi": {
|
|
15
|
+
"preview": true,
|
|
16
|
+
"browser": true
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"homepage": "https://github.com/Nigh/forward-hime",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/Nigh/forward-hime.git"
|
|
23
|
+
},
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/Nigh/forward-hime/issues"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"chatbot",
|
|
29
|
+
"koishi",
|
|
30
|
+
"plugin",
|
|
31
|
+
"koishi-plugin",
|
|
32
|
+
"forward",
|
|
33
|
+
"message-forwarding"
|
|
34
|
+
],
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"koishi": "^4.17.8"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
|
40
|
+
"@typescript-eslint/parser": "^7.13.0",
|
|
41
|
+
"atsc": "^2.1.0",
|
|
42
|
+
"eslint": "^9.4.0",
|
|
43
|
+
"eslint-config-prettier": "^9.1.0",
|
|
44
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
45
|
+
"eslint-plugin-unused-imports": "^4.0.0",
|
|
46
|
+
"husky": "^9.0.11",
|
|
47
|
+
"lint-staged": "^15.2.7",
|
|
48
|
+
"prettier": "^3.3.2",
|
|
49
|
+
"typescript": "^5.4.5"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"prepare": "husky",
|
|
53
|
+
"build": "atsc -b",
|
|
54
|
+
"eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
55
|
+
"format": "prettier --write .",
|
|
56
|
+
"pub": "npm publish --access public"
|
|
57
|
+
},
|
|
58
|
+
"husky": {
|
|
59
|
+
"hooks": {
|
|
60
|
+
"pre-commit": "lint-staged"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"lint-staged": {
|
|
64
|
+
"*.{js,jsx,ts,tsx,json,css,scss,md}": [
|
|
65
|
+
"eslint --fix",
|
|
66
|
+
"prettier --write"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"registry": "https://registry.npmjs.org/",
|
|
71
|
+
"access": "public"
|
|
72
|
+
}
|
|
73
|
+
}
|