piclist 1.8.12 → 1.9.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/.prettierrc +1 -2
- package/CHANGELOG.md +29 -0
- package/README.md +9 -0
- package/dist/core/Lifecycle.d.ts +3 -7
- package/dist/i18n/zh-CN.d.ts +34 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/lib/LifecyclePlugins.d.ts +10 -1
- package/dist/plugins/commander/utils.d.ts +2 -0
- package/dist/plugins/transformer/index.d.ts +4 -2
- package/dist/plugins/uploader/advancedplist.d.ts +2 -0
- package/dist/plugins/uploader/alist.d.ts +2 -0
- package/dist/plugins/uploader/index.d.ts +4 -2
- package/dist/plugins/uploader/s3/uploader.d.ts +2 -5
- package/dist/plugins/uploader/utils.d.ts +18 -0
- package/dist/types/index.d.ts +20 -0
- package/package.json +3 -3
- package/rollup.config.js +1 -0
package/.prettierrc
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
## :tada: 1.9.1 (2024-07-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### :sparkles: Features
|
|
5
|
+
|
|
6
|
+
* **custom:** add advanced picbed ([3c4c806](https://github.com/Kuingsmile/PicList-Core/commit/3c4c806))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### :package: Chore
|
|
10
|
+
|
|
11
|
+
* **custom:** remove eol in prettierrc ([6332a9b](https://github.com/Kuingsmile/PicList-Core/commit/6332a9b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### :pencil: Documentation
|
|
15
|
+
|
|
16
|
+
* **custom:** update docs ([696a054](https://github.com/Kuingsmile/PicList-Core/commit/696a054))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# :tada: 1.9.0 (2024-07-05)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### :sparkles: Features
|
|
24
|
+
|
|
25
|
+
* **custom:** add buildin alist ([c7f5659](https://github.com/Kuingsmile/PicList-Core/commit/c7f5659))
|
|
26
|
+
* **custom:** optimize commander ([9e42652](https://github.com/Kuingsmile/PicList-Core/commit/9e42652))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
1
30
|
## :tada: 1.8.12 (2024-06-27)
|
|
2
31
|
|
|
3
32
|
|
package/README.md
CHANGED
|
@@ -104,6 +104,15 @@ Then run:
|
|
|
104
104
|
docker-compose up -d
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
+
#### Install plugins in docker
|
|
108
|
+
|
|
109
|
+
You can use `docker exec` to install plugins in docker.
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
docker exec -it piclist sh
|
|
113
|
+
picgo install picgo-plugin-xxx
|
|
114
|
+
```
|
|
115
|
+
|
|
107
116
|
### Server
|
|
108
117
|
|
|
109
118
|
You can use `picgo-server` to start a server, default port is `36677`.
|
package/dist/core/Lifecycle.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
|
-
import {
|
|
3
|
+
import { IPicGo } from '../types';
|
|
4
4
|
export declare class Lifecycle extends EventEmitter {
|
|
5
5
|
private readonly ctx;
|
|
6
|
-
private readonly ttfLink;
|
|
7
6
|
ttfPath: string;
|
|
8
7
|
constructor(ctx: IPicGo);
|
|
9
|
-
downloadTTF
|
|
10
|
-
helpGetOption
|
|
11
|
-
compressOptions: Undefinable<IBuildInCompressOptions>;
|
|
12
|
-
watermarkOptions: Undefinable<IBuildInWaterMarkOptions>;
|
|
13
|
-
};
|
|
8
|
+
private downloadTTF;
|
|
9
|
+
private helpGetOption;
|
|
14
10
|
start(input: any[]): Promise<IPicGo>;
|
|
15
11
|
private beforeTransform;
|
|
16
12
|
private doTransform;
|
package/dist/i18n/zh-CN.d.ts
CHANGED
|
@@ -7,8 +7,24 @@ export declare const ZH_CN: {
|
|
|
7
7
|
AUTH_FAILED: string;
|
|
8
8
|
PICBED_SMMS: string;
|
|
9
9
|
PICBED_SMMS_TOKEN: string;
|
|
10
|
+
PICBED_SMMS_MESSAGE_TOKEN: string;
|
|
10
11
|
PICBED_SMMS_BACKUP_DOMAIN: string;
|
|
11
12
|
PICBED_SMMS_MESSAGE_BACKUP_DOMAIN: string;
|
|
13
|
+
PICBED_ADVANCEDPLIST: string;
|
|
14
|
+
PICBED_ADVANCEDPLIST_ENDPOINT: string;
|
|
15
|
+
PICBED_ADVANCEDPLIST_MESSAGE_ENDPOINT: string;
|
|
16
|
+
PICBED_ADVANCEDPLIST_METHOD: string;
|
|
17
|
+
PICBED_ADVANCEDPLIST_MESSAGE_METHOD: string;
|
|
18
|
+
PICBED_ADVANCEDPLIST_FORM_DATA_KEY: string;
|
|
19
|
+
PICBED_ADVANCEDPLIST_MESSAGE_FORM_DATA_KEY: string;
|
|
20
|
+
PICBED_ADVANCEDPLIST_HEADERS: string;
|
|
21
|
+
PICBED_ADVANCEDPLIST_MESSAGE_HEADERS: string;
|
|
22
|
+
PICBED_ADVANCEDPLIST_BODY: string;
|
|
23
|
+
PICBED_ADVANCEDPLIST_MESSAGE_BODY: string;
|
|
24
|
+
PICBED_ADVANCEDPLIST_CUSTOM_PREFIX: string;
|
|
25
|
+
PICBED_ADVANCEDPLIST_MESSAGE_CUSTOM_PREFIX: string;
|
|
26
|
+
PICBED_ADVANCEDPLIST_RES_DATA_PATH: string;
|
|
27
|
+
PICBED_ADVANCEDPLIST_MESSAGE_RES_DATA_PATH: string;
|
|
12
28
|
PICBED_LOCAL: string;
|
|
13
29
|
PICBED_LOCAL_PATH: string;
|
|
14
30
|
PICBED_LOCAL_MESSAGE_PATH: string;
|
|
@@ -16,6 +32,21 @@ export declare const ZH_CN: {
|
|
|
16
32
|
PICBED_LOCAL_MESSAGE_CUSTOMURL: string;
|
|
17
33
|
PICBED_LOCAL_WEBPATH: string;
|
|
18
34
|
PICBED_LOCAL_MESSAGE_WEBPATH: string;
|
|
35
|
+
PICBED_ALIST_PLIST: string;
|
|
36
|
+
PICBED_ALIST_URL: string;
|
|
37
|
+
PICBED_ALIST_MESSAGE_URL: string;
|
|
38
|
+
PICBED_ALIST_TOKEN: string;
|
|
39
|
+
PICBED_ALIST_MESSAGE_TOKEN: string;
|
|
40
|
+
PICBED_ALIST_USERNAME: string;
|
|
41
|
+
PICBED_ALIST_MESSAGE_USERNAME: string;
|
|
42
|
+
PICBED_ALIST_PASSWORD: string;
|
|
43
|
+
PICBED_ALIST_MESSAGE_PASSWORD: string;
|
|
44
|
+
PICBED_ALIST_UPLOAD_PATH: string;
|
|
45
|
+
PICBED_ALIST_MESSAGE_UPLOAD_PATH: string;
|
|
46
|
+
PICBED_ALIST_WEB_PATH: string;
|
|
47
|
+
PICBED_ALIST_MESSAGE_WEB_PATH: string;
|
|
48
|
+
PICBED_ALIST_CUSTOMURL: string;
|
|
49
|
+
PICBED_ALIST_MESSAGE_CUSTOMURL: string;
|
|
19
50
|
PICBED_ALICLOUD: string;
|
|
20
51
|
PICBED_ALICLOUD_ACCESSKEYID: string;
|
|
21
52
|
PICBED_ALICLOUD_ACCESSKEYSECRET: string;
|
|
@@ -184,6 +215,7 @@ export declare const ZH_CN: {
|
|
|
184
215
|
PICBED_AWSS3PLIST_MESSAGE_REJECTUNAUTHORIZED: string;
|
|
185
216
|
PICBED_AWSS3PLIST_MESSAGE_ACL: string;
|
|
186
217
|
PICBED_AWSS3PLIST_MESSAGE_DISABLEBUCKETPREFIXTOURL: string;
|
|
218
|
+
BUILDIN_WATERMARK: string;
|
|
187
219
|
BUILDIN_WATERMARK_ISADDWATERMARK: string;
|
|
188
220
|
BUILDIN_WATERMARK_MESSAGE_ISADDWATERMARK: string;
|
|
189
221
|
BUILDIN_WATERMARK_WATERMARKTYPE: string;
|
|
@@ -204,8 +236,10 @@ export declare const ZH_CN: {
|
|
|
204
236
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKIMAGEPATH: string;
|
|
205
237
|
BUILDIN_WATERMARK_WATERMARKPOSITION: string;
|
|
206
238
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKPOSITION: string;
|
|
239
|
+
BUILDIN_RENAME: string;
|
|
207
240
|
BUILDIN_RENAME_FORMAT: string;
|
|
208
241
|
BUILDIN_RENAME_ENABLE: string;
|
|
242
|
+
BUILDIN_COMPRESS: string;
|
|
209
243
|
BUILDIN_COMPRESS_QUALITY: string;
|
|
210
244
|
BUILDIN_COMPRESS_MESSAGE_QUALITY: string;
|
|
211
245
|
BUILDIN_COMPRESS_ISCONVERT: string;
|