piclist 1.9.0 → 1.9.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/.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,40 @@
1
+ ## :tada: 1.9.3 (2024-08-20)
2
+
3
+
4
+ ### :sparkles: Features
5
+
6
+ * **custom:** support picgo-server for piclist picbed ([3e91a9c](https://github.com/Kuingsmile/PicList-Core/commit/3e91a9c))
7
+
8
+
9
+
10
+ ## :tada: 1.9.2 (2024-08-12)
11
+
12
+
13
+ ### :sparkles: Features
14
+
15
+ * **custom:** optimize windows clipboard script ([52b4612](https://github.com/Kuingsmile/PicList-Core/commit/52b4612))
16
+
17
+
18
+
19
+ ## :tada: 1.9.1 (2024-07-25)
20
+
21
+
22
+ ### :sparkles: Features
23
+
24
+ * **custom:** add advanced picbed ([3c4c806](https://github.com/Kuingsmile/PicList-Core/commit/3c4c806))
25
+
26
+
27
+ ### :package: Chore
28
+
29
+ * **custom:** remove eol in prettierrc ([6332a9b](https://github.com/Kuingsmile/PicList-Core/commit/6332a9b))
30
+
31
+
32
+ ### :pencil: Documentation
33
+
34
+ * **custom:** update docs ([696a054](https://github.com/Kuingsmile/PicList-Core/commit/696a054))
35
+
36
+
37
+
1
38
  # :tada: 1.9.0 (2024-07-05)
2
39
 
3
40
 
package/Dockerfile CHANGED
@@ -1,14 +1,15 @@
1
- FROM node:lts-alpine
2
- ENV TZ=Asia/Shanghai
3
- RUN apk update \
4
- && apk add tzdata \
5
- && echo "${TZ}" > /etc/timezone \
6
- && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
7
- && rm /var/cache/apk/*
8
- RUN yarn config set network-timeout 300000 && \
9
- #apk add g++ make py3-pip && \
10
- #yarn global add node-gyp && \
11
- yarn global add piclist && \
12
- rm -rf /var/cache/apk/* /tmp/*
13
-
14
- EXPOSE 36677
1
+ FROM node:lts-alpine
2
+ ENV TZ=Asia/Shanghai
3
+ RUN apk update \
4
+ && apk add --no-cache tzdata \
5
+ && echo "${TZ}" > /etc/timezone \
6
+ && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
7
+ && rm /var/cache/apk/*
8
+ RUN yarn config set network-timeout 300000 && \
9
+ #apk add g++ make py3-pip && \
10
+ #yarn global add node-gyp && \
11
+ yarn global add piclist && \
12
+ yarn cache clean \
13
+ rm -rf /var/cache/apk/* /tmp/*
14
+
15
+ EXPOSE 36677
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`.
@@ -8,6 +8,8 @@ export declare class Lifecycle extends EventEmitter {
8
8
  private downloadTTF;
9
9
  private helpGetOption;
10
10
  start(input: any[]): Promise<IPicGo>;
11
+ private preprocess;
12
+ private buildInRename;
11
13
  private beforeTransform;
12
14
  private doTransform;
13
15
  private beforeUpload;
@@ -10,6 +10,21 @@ export declare const ZH_CN: {
10
10
  PICBED_SMMS_MESSAGE_TOKEN: string;
11
11
  PICBED_SMMS_BACKUP_DOMAIN: string;
12
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;
13
28
  PICBED_LOCAL: string;
14
29
  PICBED_LOCAL_PATH: string;
15
30
  PICBED_LOCAL_MESSAGE_PATH: string;