@koishi-ce/plugin-market 1.0.6 → 1.0.7
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.mjs +3 -3
- package/package.json +85 -85
- package/src/node/installer.ts +3 -3
package/lib/index.mjs
CHANGED
|
@@ -32,11 +32,11 @@ var RegistryProvider = class extends DataService {
|
|
|
32
32
|
const logger$2 = new Logger("market");
|
|
33
33
|
/**
|
|
34
34
|
* 判断依赖声明是否受护栏保护、不可被安装清单覆盖或删除。两类:
|
|
35
|
-
* - `workspace:` 声明是本仓库(monorepo
|
|
36
|
-
* 裸名 shim,见 packages/
|
|
35
|
+
* - `workspace:` 声明是本仓库(monorepo)对上游名的归属(如 koishi
|
|
36
|
+
* 裸名 shim,见 packages/shim/koishi);
|
|
37
37
|
* - `npm:@koishi-ce/...` alias 是下游脚手架生成项目对上游名的归属
|
|
38
38
|
* (如 "koishi": "npm:@koishi-ce/koishi-shim@^4.18.11",见
|
|
39
|
-
* packages/
|
|
39
|
+
* packages/shim/koishi-shim)。
|
|
40
40
|
* 两者被覆盖或删除都会让 peer 解析失去归属,重新拉下 npm 官方包形成
|
|
41
41
|
* 第二份框架副本。
|
|
42
42
|
*/
|
package/package.json
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
2
|
+
"name": "@koishi-ce/plugin-market",
|
|
3
|
+
"description": "Manage your bots and plugins with console",
|
|
4
|
+
"version": "1.0.7",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.mjs",
|
|
7
|
+
"typings": "lib/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"lib",
|
|
10
|
+
"dist",
|
|
11
|
+
"src"
|
|
12
|
+
],
|
|
13
|
+
"contributors": [
|
|
14
|
+
"Shigma <shigma10826@gmail.com>",
|
|
15
|
+
"Oppenheymu <oppenheymu@gmail.com>"
|
|
16
|
+
],
|
|
17
|
+
"license": "AGPL-3.0",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/Koishi-CE/koishi.git",
|
|
21
|
+
"directory": "plugins/webui/market"
|
|
22
|
+
},
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/Koishi-CE/koishi/issues"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://koishi.chat/plugins/console/market.html",
|
|
27
|
+
"keywords": [
|
|
28
|
+
"bot",
|
|
29
|
+
"chatbot",
|
|
30
|
+
"koishi",
|
|
31
|
+
"plugin",
|
|
32
|
+
"market",
|
|
33
|
+
"manager",
|
|
34
|
+
"server"
|
|
35
|
+
],
|
|
36
|
+
"koishi": {
|
|
37
|
+
"public": [
|
|
38
|
+
"dist"
|
|
39
|
+
],
|
|
40
|
+
"description": {
|
|
41
|
+
"en": "Manage your plugins with console",
|
|
42
|
+
"zh": "使用控制台安装、卸载、更新你的插件"
|
|
43
|
+
},
|
|
44
|
+
"service": {
|
|
45
|
+
"optional": [
|
|
46
|
+
"console"
|
|
47
|
+
],
|
|
48
|
+
"implements": [
|
|
49
|
+
"installer"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"@koishijs/plugin-console": "^5.30.11",
|
|
55
|
+
"koishi": "^4.18.11"
|
|
56
|
+
},
|
|
57
|
+
"peerDependenciesMeta": {
|
|
58
|
+
"@koishijs/plugin-console": {
|
|
59
|
+
"optional": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@koishi-ce/client": "^1.0.2",
|
|
64
|
+
"@koishi-ce/loader": "^1.0.3",
|
|
65
|
+
"@koishi-ce/plugin-config": "^1.0.6",
|
|
66
|
+
"@koishijs/market": "^4.2.10",
|
|
67
|
+
"@types/semver": "^7.5.8",
|
|
68
|
+
"vue": "^3.5.12"
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@koishi-ce/console": "^1.0.0",
|
|
72
|
+
"@koishi-ce/registry": "^1.0.4",
|
|
73
|
+
"execa": "^5.1.1",
|
|
74
|
+
"p-map": "^4.0.0",
|
|
75
|
+
"semver": "^7.6.3",
|
|
76
|
+
"which-pm-runs": "^1.1.0"
|
|
77
|
+
},
|
|
78
|
+
"exports": {
|
|
79
|
+
".": {
|
|
80
|
+
"source": "./src/index.ts",
|
|
81
|
+
"types": "./lib/index.d.ts",
|
|
82
|
+
"import": "./lib/index.mjs",
|
|
83
|
+
"default": "./lib/index.mjs"
|
|
84
|
+
},
|
|
85
|
+
"./package.json": "./package.json"
|
|
86
|
+
}
|
|
87
87
|
}
|
package/src/node/installer.ts
CHANGED
|
@@ -33,11 +33,11 @@ const logger = new Logger("market");
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* 判断依赖声明是否受护栏保护、不可被安装清单覆盖或删除。两类:
|
|
36
|
-
* - `workspace:` 声明是本仓库(monorepo
|
|
37
|
-
* 裸名 shim,见 packages/
|
|
36
|
+
* - `workspace:` 声明是本仓库(monorepo)对上游名的归属(如 koishi
|
|
37
|
+
* 裸名 shim,见 packages/shim/koishi);
|
|
38
38
|
* - `npm:@koishi-ce/...` alias 是下游脚手架生成项目对上游名的归属
|
|
39
39
|
* (如 "koishi": "npm:@koishi-ce/koishi-shim@^4.18.11",见
|
|
40
|
-
* packages/
|
|
40
|
+
* packages/shim/koishi-shim)。
|
|
41
41
|
* 两者被覆盖或删除都会让 peer 解析失去归属,重新拉下 npm 官方包形成
|
|
42
42
|
* 第二份框架副本。
|
|
43
43
|
*/
|