@shellraining/dsh-plugin-updates 0.2.1 → 0.2.3

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # dsh-plugin-updates
1
+ # 插件更新
2
2
 
3
- 检查从 npm 安装的插件有没有新版本。插件页的「已安装插件」列表里可以逐个更新或全部更新,插件详情页里还能挑一个版本安装。
3
+ 检查 npm 插件更新,支持批量更新和安装指定版本。插件页的「已安装插件」列表里可以逐个更新或全部更新,插件详情页里还能挑一个版本安装。
4
4
 
5
5
  ## 安装
6
6
 
package/icon.png ADDED
Binary file
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Plugin Updates",
4
+ "description": "Check for npm plugin updates, update multiple plugins, or install a specific version."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "插件更新",
4
+ "description": "检查 npm 插件更新,支持批量更新和安装指定版本。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,18 +1,21 @@
1
1
  {
2
2
  "name": "@shellraining/dsh-plugin-updates",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
- "description": "在插件页检查 npm 来源插件的新版本,一键更新或安装指定版本",
5
+ "description": "检查 npm 插件更新,支持批量更新和安装指定版本。",
6
6
  "main": "./lib/index.js",
7
7
  "exports": {
8
8
  ".": "./lib/index.js",
9
9
  "./client": "./lib/client.js",
10
10
  "./cordis.patch.yml": "./cordis.patch.yml",
11
- "./package.json": "./package.json"
11
+ "./package.json": "./package.json",
12
+ "./locale/*.json": "./locale/*.json"
12
13
  },
13
14
  "files": [
14
15
  "lib",
15
- "cordis.patch.yml"
16
+ "cordis.patch.yml",
17
+ "icon.png",
18
+ "locale"
16
19
  ],
17
20
  "engines": {
18
21
  "node": ">=20"
@@ -56,6 +59,7 @@
56
59
  "publishConfig": {
57
60
  "access": "public"
58
61
  },
62
+ "icon": "./icon.png",
59
63
  "scripts": {
60
64
  "typecheck": "tsc -p tsconfig.host.json && tsc -p tsconfig.client.json",
61
65
  "build": "pnpm run typecheck && node build.ts"