piclist 2.3.5 → 2.4.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/README.md +2 -1
- package/README_en.md +2 -1
- package/bin/picgo-server +5 -0
- package/dist/i18n/zh-CN.d.ts +2 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/lib/Commander.d.ts +2 -2
- package/dist/lib/PluginHandler.d.ts +1 -0
- package/dist/plugins/uploader/s3/utils.d.ts +0 -1
- package/dist/types/index.d.ts +6 -2
- package/dist/utils/inquirerShim.d.ts +23 -0
- package/package.json +19 -20
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ PicList-Core 是一个功能强大的图片上传工具,提供 CLI 和 API 两
|
|
|
44
44
|
|
|
45
45
|
## 安装
|
|
46
46
|
|
|
47
|
-
PicList 需要 Node.js >=
|
|
47
|
+
PicList 需要 Node.js >= 22
|
|
48
48
|
|
|
49
49
|
### 前置条件
|
|
50
50
|
|
|
@@ -201,6 +201,7 @@ Options:
|
|
|
201
201
|
-h, --help display help for command
|
|
202
202
|
|
|
203
203
|
Commands:
|
|
204
|
+
list|ls list installed plugins
|
|
204
205
|
install|add [options] <plugins...> install picgo plugin
|
|
205
206
|
uninstall|rm <plugins...> uninstall picgo plugin
|
|
206
207
|
update|up [options] <plugins...> update picgo plugin
|
package/README_en.md
CHANGED
|
@@ -45,7 +45,7 @@ You can refer to the [DeepWiki of PiclList-Core](https://deepwiki.com/Kuingsmile
|
|
|
45
45
|
|
|
46
46
|
## Installation
|
|
47
47
|
|
|
48
|
-
PicList requires Node.js >=
|
|
48
|
+
PicList requires Node.js >= 22
|
|
49
49
|
|
|
50
50
|
### Prerequisites
|
|
51
51
|
|
|
@@ -202,6 +202,7 @@ Options:
|
|
|
202
202
|
-h, --help display help for command
|
|
203
203
|
|
|
204
204
|
Commands:
|
|
205
|
+
list|ls list installed plugins
|
|
205
206
|
install|add [options] <plugins...> install picgo plugin
|
|
206
207
|
uninstall|rm <plugins...> uninstall picgo plugin
|
|
207
208
|
update|up [options] <plugins...> update picgo plugin
|
package/bin/picgo-server
CHANGED
|
@@ -63,6 +63,11 @@ if (argv.host) {
|
|
|
63
63
|
defaultHost = String(argv.host)
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
if (argv.v || argv.version) {
|
|
67
|
+
console.log(`picgo-server version: 1.0.0`)
|
|
68
|
+
process.exit(0)
|
|
69
|
+
}
|
|
70
|
+
|
|
66
71
|
let configPath = argv.c || argv.config || ''
|
|
67
72
|
if (configPath !== true && configPath !== '') {
|
|
68
73
|
configPath = configPath.replace(/^~/, os.homedir())
|
package/dist/i18n/zh-CN.d.ts
CHANGED
|
@@ -268,6 +268,8 @@ export declare const ZH_CN: {
|
|
|
268
268
|
BUILDIN_COMPRESS_MESSAGE_RESIZEHEIGHT: string;
|
|
269
269
|
BUILDIN_COMPRESS_ISRESIZEBYPERCENT: string;
|
|
270
270
|
BUILDIN_COMPRESS_MESSAGE_ISRESIZEBYPERCENT: string;
|
|
271
|
+
BUILDIN_COMPRESS_LONGEDGEASHEIGHT: string;
|
|
272
|
+
BUILDIN_COMPRESS_MESSAGE_LONGEDGEASHEIGHT: string;
|
|
271
273
|
BUILDIN_COMPRESS_ISFLIP: string;
|
|
272
274
|
BUILDIN_COMPRESS_ISFLOP: string;
|
|
273
275
|
BUILDIN_COMPRESS_RESIZEPERCENT: string;
|