piclist 1.0.1 → 1.0.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/README.md +12 -17
- package/dist/i18n/zh-CN.d.ts +3 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/plugins/uploader/telegraph.d.ts +2 -0
- package/dist/types/index.d.ts +6 -0
- package/package.json +4 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -239,6 +239,10 @@ export interface IPathTransformedImgInfo extends IImgInfo {
|
|
|
239
239
|
}
|
|
240
240
|
export type IStringKeyMap<T> = Record<string, T extends T ? T : any>;
|
|
241
241
|
export type ICLIConfigs = Record<string, IStringKeyMap<any>>;
|
|
242
|
+
/** Telegraph 图床配置项 */
|
|
243
|
+
export interface ITelegraphConfig {
|
|
244
|
+
proxy?: string;
|
|
245
|
+
}
|
|
242
246
|
/** SM.MS 图床配置项 */
|
|
243
247
|
export interface ISmmsConfig {
|
|
244
248
|
token: string;
|
|
@@ -606,6 +610,8 @@ export interface IBuildInCompressOptions {
|
|
|
606
610
|
isRotate?: boolean;
|
|
607
611
|
rotateDegree?: number;
|
|
608
612
|
isRemoveExif?: boolean;
|
|
613
|
+
isFlip?: boolean;
|
|
614
|
+
isFlop?: boolean;
|
|
609
615
|
[propName: string]: any;
|
|
610
616
|
}
|
|
611
617
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piclist",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Modified PicGo core, A tool for picture uploading",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Kuingsmile",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"build": "cross-env NODE_ENV=production rimraf ./dist && rollup -c rollup.config.js",
|
|
27
27
|
"dev": "cross-env NODE_ENV=development rollup -c rollup.config.js -w",
|
|
28
28
|
"cz": "git-cz",
|
|
29
|
-
"release": "bump-version"
|
|
29
|
+
"release": "bump-version",
|
|
30
|
+
"lint:dpdm": "dpdm -T --tsconfig ./tsconfig.json --no-tree --no-warning --exit-code circular:1 src/index.ts"
|
|
30
31
|
},
|
|
31
32
|
"keywords": [
|
|
32
33
|
"picture",
|
|
@@ -80,6 +81,7 @@
|
|
|
80
81
|
"conventional-changelog": "^3.0.6",
|
|
81
82
|
"cross-env": "^7.0.3",
|
|
82
83
|
"cz-customizable": "^5.10.0",
|
|
84
|
+
"dpdm": "^3.13.1",
|
|
83
85
|
"eslint": "^8.48.0",
|
|
84
86
|
"eslint-config-standard-with-typescript": "^39.0.0",
|
|
85
87
|
"eslint-plugin-import": "^2.28.1",
|