piclist 0.0.7 → 0.0.9
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/dist/types/index.d.ts
CHANGED
|
@@ -329,6 +329,21 @@ export interface IImgurConfig {
|
|
|
329
329
|
/** 代理地址,仅支持 http 代理 */
|
|
330
330
|
proxy: string;
|
|
331
331
|
}
|
|
332
|
+
/** Webdav 图床配置项 */
|
|
333
|
+
export interface IWebdavPlistConfig {
|
|
334
|
+
/** webdav 的 `host` */
|
|
335
|
+
host: string;
|
|
336
|
+
/** webdav 的 `sslEnabled` */
|
|
337
|
+
sslEnabled: boolean;
|
|
338
|
+
/** webdav 的 `username` */
|
|
339
|
+
username: string;
|
|
340
|
+
/** webdav 的 `password` */
|
|
341
|
+
password: string;
|
|
342
|
+
/** webdav 的 `path` */
|
|
343
|
+
path: string;
|
|
344
|
+
/** webdav 的 `customUrl` */
|
|
345
|
+
customUrl: string;
|
|
346
|
+
}
|
|
332
347
|
/** PicGo 配置文件类型定义 */
|
|
333
348
|
export interface IConfig {
|
|
334
349
|
picBed: {
|
|
@@ -341,6 +356,7 @@ export interface IConfig {
|
|
|
341
356
|
github?: IGithubConfig;
|
|
342
357
|
aliyun?: IAliyunConfig;
|
|
343
358
|
imgur?: IImgurConfig;
|
|
359
|
+
webdavplist?: IWebdavPlistConfig;
|
|
344
360
|
transformer?: string;
|
|
345
361
|
/** for uploader */
|
|
346
362
|
proxy?: string;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
import { PicGo } from '../core/PicGo';
|
|
4
4
|
import LifecyclePlugins from '../lib/LifecyclePlugins';
|
|
5
|
+
import { IWebdavPlistConfig } from '../types';
|
|
5
6
|
/**
|
|
6
7
|
* for plugin config
|
|
7
8
|
*/
|
|
@@ -134,6 +135,7 @@ export interface IConfig {
|
|
|
134
135
|
github?: IGithubConfig;
|
|
135
136
|
aliyun?: IAliyunConfig;
|
|
136
137
|
imgur?: IImgurConfig;
|
|
138
|
+
webdavplist?: IWebdavPlistConfig;
|
|
137
139
|
transformer?: string;
|
|
138
140
|
proxy: string;
|
|
139
141
|
};
|
package/dist/utils/static.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CLIPBOARD_IMAGE_FOLDER = "
|
|
1
|
+
export declare const CLIPBOARD_IMAGE_FOLDER = "piclist-clipboard-images";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piclist",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Modified PicGo core, A tool for picture uploading",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
"@rollup/plugin-replace": "^3.0.0",
|
|
57
57
|
"@types/cross-spawn": "^6.0.0",
|
|
58
58
|
"@types/ejs": "^3.0.5",
|
|
59
|
-
"@types/fs-extra": "^
|
|
59
|
+
"@types/fs-extra": "^11.0.1",
|
|
60
60
|
"@types/image-size": "^0.0.29",
|
|
61
61
|
"@types/inquirer": "^0.0.42",
|
|
62
62
|
"@types/js-yaml": "^4.0.5",
|
|
63
63
|
"@types/lodash": "^4.14.175",
|
|
64
|
-
"@types/md5": "^2.
|
|
64
|
+
"@types/md5": "^2.3.2",
|
|
65
65
|
"@types/mime-types": "^2.1.0",
|
|
66
66
|
"@types/minimatch": "^3.0.3",
|
|
67
67
|
"@types/node": "16.11.7",
|
|
@@ -93,27 +93,27 @@
|
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
95
|
"@picgo/i18n": "^1.0.0",
|
|
96
|
-
"@picgo/store": "^2.0.
|
|
97
|
-
"axios": "^
|
|
96
|
+
"@picgo/store": "^2.0.4",
|
|
97
|
+
"axios": "^1.3.2",
|
|
98
98
|
"chalk": "^2.4.1",
|
|
99
99
|
"commander": "^8.1.0",
|
|
100
100
|
"comment-json": "^2.3.1",
|
|
101
101
|
"cross-spawn": "^6.0.5",
|
|
102
|
-
"dayjs": "^1.7
|
|
102
|
+
"dayjs": "^1.11.7",
|
|
103
103
|
"download-git-repo": "^3.0.2",
|
|
104
104
|
"ejs": "^2.6.1",
|
|
105
|
-
"fs-extra": "^
|
|
105
|
+
"fs-extra": "^11.1.0",
|
|
106
106
|
"globby": "^11.0.4",
|
|
107
107
|
"image-size": "^0.8.3",
|
|
108
108
|
"inquirer": "^6.0.0",
|
|
109
109
|
"is-wsl": "^2.2.0",
|
|
110
110
|
"js-yaml": "^4.1.0",
|
|
111
111
|
"lodash": "^4.17.21",
|
|
112
|
-
"md5": "^2.
|
|
112
|
+
"md5": "^2.3.0",
|
|
113
113
|
"mime-types": "2.1.33",
|
|
114
114
|
"minimatch": "^3.0.4",
|
|
115
115
|
"minimist": "^1.2.5",
|
|
116
|
-
"qiniu": "^7.
|
|
116
|
+
"qiniu": "^7.8.0",
|
|
117
117
|
"resolve": "^1.8.1",
|
|
118
118
|
"rimraf": "^3.0.2",
|
|
119
119
|
"tunnel": "^0.0.6"
|