piclist 1.9.11 → 1.9.13
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/.github/workflows/alpha.yml +21 -21
- package/.github/workflows/docker.yml +42 -42
- package/.github/workflows/main.yml +21 -21
- package/.github/workflows/manually.yml +18 -18
- package/CHANGELOG.md +49 -0
- package/License +22 -22
- package/README.md +25 -15
- package/README_cn.md +25 -15
- package/bin/picgo +25 -25
- package/dist/core/Lifecycle.d.ts +17 -1
- package/dist/i18n/zh-CN.d.ts +23 -15
- package/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/plugins/beforetransformer/skipProcess.d.ts +5 -0
- package/dist/plugins/uploader/utils.d.ts +2 -0
- package/dist/types/index.d.ts +7 -0
- package/docker-compose.yaml +11 -11
- package/package.json +6 -6
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IPicGo } from '../../types';
|
|
1
2
|
export declare function formatPathHelper({ path, startSlash, endSlash, rootToEmpty }: {
|
|
2
3
|
path?: string;
|
|
3
4
|
startSlash?: boolean;
|
|
@@ -22,3 +23,4 @@ export declare const buildInUploaderNames: {
|
|
|
22
23
|
upyun: string;
|
|
23
24
|
webdavplist: string;
|
|
24
25
|
};
|
|
26
|
+
export declare const createField: (ctx: IPicGo, picBedName: string, name: string, type: any, defaultValue: any, required: boolean, i18nPrefix?: string, extras?: any) => any;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -268,6 +268,7 @@ export interface IAdvancedPlistConfig {
|
|
|
268
268
|
body?: string;
|
|
269
269
|
resDataPath?: string;
|
|
270
270
|
customPrefix?: string;
|
|
271
|
+
webPath?: string;
|
|
271
272
|
}
|
|
272
273
|
/** 内置alist 图床配置项 */
|
|
273
274
|
export interface IAlistConfig {
|
|
@@ -335,6 +336,7 @@ export interface ITcyunConfig {
|
|
|
335
336
|
endpoint: string;
|
|
336
337
|
path: string;
|
|
337
338
|
/** 自定义域名,注意要加 `http://` 或者 `https://` */
|
|
339
|
+
webPath: string;
|
|
338
340
|
customUrl: string;
|
|
339
341
|
/** COS 版本,v4 或者 v5 */
|
|
340
342
|
version: 'v5' | 'v4';
|
|
@@ -366,6 +368,8 @@ export interface IAliyunConfig {
|
|
|
366
368
|
area: string;
|
|
367
369
|
/** 自定义存储路径 */
|
|
368
370
|
path: string;
|
|
371
|
+
/** 网站路径,用于拼接网址路径 */
|
|
372
|
+
webPath: string;
|
|
369
373
|
/** 自定义域名,注意要加 `http://` 或者 `https://` */
|
|
370
374
|
customUrl: string;
|
|
371
375
|
/** 针对图片的一些后缀处理参数 PicGo 2.2.0+ PicGo-Core 1.4.0+ */
|
|
@@ -683,4 +687,7 @@ export interface IBuildInCompressOptions {
|
|
|
683
687
|
isFlop?: boolean;
|
|
684
688
|
[propName: string]: any;
|
|
685
689
|
}
|
|
690
|
+
export interface IBuildInSkipProcessOptions {
|
|
691
|
+
skipProcessExtList?: string;
|
|
692
|
+
}
|
|
686
693
|
export {};
|
package/docker-compose.yaml
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
version: '3.3'
|
|
2
|
-
|
|
3
|
-
services:
|
|
4
|
-
node:
|
|
5
|
-
image: 'kuingsmile/piclist:latest'
|
|
6
|
-
container_name: piclist
|
|
7
|
-
restart: always
|
|
8
|
-
ports:
|
|
9
|
-
- 36677:36677
|
|
10
|
-
volumes:
|
|
11
|
-
- './piclist:/root/.piclist'
|
|
1
|
+
version: '3.3'
|
|
2
|
+
|
|
3
|
+
services:
|
|
4
|
+
node:
|
|
5
|
+
image: 'kuingsmile/piclist:latest'
|
|
6
|
+
container_name: piclist
|
|
7
|
+
restart: always
|
|
8
|
+
ports:
|
|
9
|
+
- 36677:36677
|
|
10
|
+
volumes:
|
|
11
|
+
- './piclist:/root/.piclist'
|
|
12
12
|
command: node /usr/local/bin/picgo-server -k piclist123456
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piclist",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.13",
|
|
4
4
|
"description": "Modified PicGo core, A tool for picture uploading",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Kuingsmile",
|
|
@@ -111,16 +111,16 @@
|
|
|
111
111
|
"@picgo/i18n": "^1.0.0",
|
|
112
112
|
"@picgo/store": "^2.1.0",
|
|
113
113
|
"@smithy/node-http-handler": "2.1.6",
|
|
114
|
-
"axios": "^1.
|
|
114
|
+
"axios": "^1.9.0",
|
|
115
115
|
"chalk": "^2.4.1",
|
|
116
116
|
"commander": "^8.1.0",
|
|
117
117
|
"cross-spawn": "^7.0.3",
|
|
118
|
-
"dayjs": "^1.11.
|
|
118
|
+
"dayjs": "^1.11.13",
|
|
119
119
|
"download-git-repo": "^3.0.2",
|
|
120
120
|
"ejs": "^2.6.1",
|
|
121
121
|
"file-type": "16.2.0",
|
|
122
122
|
"form-data": "^4.0.0",
|
|
123
|
-
"fs-extra": "^11.
|
|
123
|
+
"fs-extra": "^11.3.0",
|
|
124
124
|
"globby": "^11.1.0",
|
|
125
125
|
"heic-convert": "^1.2.4",
|
|
126
126
|
"hpagent": "1.2.0",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"qiniu": "7.9.0",
|
|
139
139
|
"resolve": "^1.8.1",
|
|
140
140
|
"rimraf": "^5.0.1",
|
|
141
|
-
"sharp": "^0.
|
|
141
|
+
"sharp": "^0.34.2",
|
|
142
142
|
"text-to-svg": "^3.1.5",
|
|
143
143
|
"tunnel": "^0.0.6",
|
|
144
144
|
"uuid": "^9.0.1",
|
|
@@ -153,6 +153,6 @@
|
|
|
153
153
|
},
|
|
154
154
|
"plugins": {},
|
|
155
155
|
"engines": {
|
|
156
|
-
"node": ">=
|
|
156
|
+
"node": ">= 18.17.0"
|
|
157
157
|
}
|
|
158
158
|
}
|