piclist 2.3.4 → 2.4.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/bin/picgo-server +5 -0
- package/dist/i18n/zh-CN.d.ts +2 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -0
- package/dist/plugins/uploader/helper.d.ts +3 -0
- package/dist/plugins/uploader/s3/utils.d.ts +0 -1
- package/dist/types/index.d.ts +7 -0
- package/dist/utils/common.d.ts +1 -0
- package/dist/utils/eventBus.d.ts +1 -1
- package/package.json +89 -82
- package/.github/workflows/docker.yml +0 -52
- package/.prettierrc +0 -17
- package/CHANGELOG.md +0 -963
- package/Dockerfile +0 -15
- package/docker-compose.yaml +0 -12
- package/eslint.config.js +0 -134
- package/logo.png +0 -0
- package/renovate.json +0 -4
- package/rollup.config.js +0 -77
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
|
@@ -9,7 +9,6 @@ export declare const ZH_CN: {
|
|
|
9
9
|
PICBED_SMMS_TOKEN: string;
|
|
10
10
|
PICBED_SMMS_MESSAGE_TOKEN: string;
|
|
11
11
|
PICBED_SMMS_BACKUPDOMAIN: string;
|
|
12
|
-
PICBED_SMMS_MESSAGE_BACKUP_DOMAIN: string;
|
|
13
12
|
PICBED_ADVANCEDPLIST: string;
|
|
14
13
|
PICBED_ADVANCEDPLIST_ENDPOINT: string;
|
|
15
14
|
PICBED_ADVANCEDPLIST_MESSAGE_ENDPOINT: string;
|
|
@@ -269,6 +268,8 @@ export declare const ZH_CN: {
|
|
|
269
268
|
BUILDIN_COMPRESS_MESSAGE_RESIZEHEIGHT: string;
|
|
270
269
|
BUILDIN_COMPRESS_ISRESIZEBYPERCENT: string;
|
|
271
270
|
BUILDIN_COMPRESS_MESSAGE_ISRESIZEBYPERCENT: string;
|
|
271
|
+
BUILDIN_COMPRESS_LONGEDGEASHEIGHT: string;
|
|
272
|
+
BUILDIN_COMPRESS_MESSAGE_LONGEDGEASHEIGHT: string;
|
|
272
273
|
BUILDIN_COMPRESS_ISFLIP: string;
|
|
273
274
|
BUILDIN_COMPRESS_ISFLOP: string;
|
|
274
275
|
BUILDIN_COMPRESS_RESIZEPERCENT: string;
|