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 CHANGED
@@ -13,6 +13,5 @@
13
13
  "singleQuote": true,
14
14
  "tabWidth": 2,
15
15
  "trailingComma": "none",
16
- "useTabs": false,
17
- "endOfLine": "lf"
16
+ "useTabs": false
18
17
  }
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`.
@@ -1,16 +1,12 @@
1
1
  /// <reference types="node" />
2
2
  import { EventEmitter } from 'events';
3
- import { IBuildInWaterMarkOptions, IBuildInCompressOptions, IPicGo, Undefinable } from '../types';
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(): Promise<boolean>;
10
- helpGetOption(ctx: IPicGo): {
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;
@@ -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;