piclist 0.1.1 → 0.2.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/.yarnrc ADDED
@@ -0,0 +1,12 @@
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
5
+ registry "https://registry.npm.taobao.org"
6
+ sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
7
+ phantomjs_cdnurl "http://cnpmjs.org/downloads"
8
+ electron_mirror "https://npm.taobao.org/mirrors/electron/"
9
+ sqlite3_binary_host_mirror "https://foxgis.oss-cn-shanghai.aliyuncs.com/"
10
+ profiler_binary_host_mirror "https://npm.taobao.org/mirrors/node-inspector/"
11
+ chromedriver_cdnurl "https://cdn.npm.taobao.org/dist/chromedriver"
12
+
package/License CHANGED
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2018 Molunerfinn
4
+ Copyright (c) 2023-present Kuingsmile
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -9,19 +9,36 @@
9
9
 
10
10
  ![picgo-core](https://cdn.jsdelivr.net/gh/Molunerfinn/test/picgo/picgo-core-fix.jpg)
11
11
 
12
+
12
13
  A tool for picture uploading. Both CLI & api supports. It also supports plugin system, please check [Awesome-PicGo](https://github.com/PicGo/Awesome-PicGo) to find powerful plugins.
13
14
 
14
- **Typora supports PicGo-Core natively**.
15
+ Based on Picgo-Core and add some features.
16
+
17
+ **Typora support natively**.
15
18
 
16
19
  ## 修改列表
17
20
 
21
+ * 增加了水印添加、图片压缩和图片格式转换功能
22
+ - CLI命令下通过`picgo set buildin watermark`和`picgo set buildin compress`设置水印和压缩参数
23
+ - 图片处理位于beforeTransform之前,不与任何插件冲突
18
24
  * smms, imgur和github图床增加hash返回参数,配合piclist的删除功能
19
25
  * 增加了webdav内置支持
26
+ * axios等依赖升级到最新版本
20
27
 
21
28
  ## Installation
22
29
 
23
30
  PicList should be installed with node.js >= 12 (v1.5.0-alpha.4 and small) & node.js >= 16 (since v1.5.0-alpha.5).
24
31
 
32
+ ### before install
33
+
34
+ As PicList depends on [sharp](https://sharp.pixelplumbing.com/), you need to install sharp before install PicList.
35
+
36
+ ```bash
37
+ npm config set sharp_binary_host "https://npmmirror.com/mirrors/sharp"
38
+ npm config set sharp_libvips_binary_host "https://npmmirror.com/mirrors/sharp-libvips"
39
+ npm install sharp
40
+ ```
41
+
25
42
  ### Global install
26
43
 
27
44
  ```bash
Binary file
Binary file
Binary file
Binary file
@@ -87,6 +87,46 @@ export declare const ZH_CN: {
87
87
  PICBED_WEBDAVPLIST_MESSAGE_PASSWORD: string;
88
88
  PICBED_WEBDAVPLIST_MESSAGE_PATH: string;
89
89
  PICBED_WEBDAVPLIST_MESSAGE_CUSTOMURL: string;
90
+ BUILDIN_WATERMARK_ISADDWATERMARK: string;
91
+ BUILDIN_WATERMARK_MESSAGE_ISADDWATERMARK: string;
92
+ BUILDIN_WATERMARK_WATERMARKTYPE: string;
93
+ BUILDIN_WATERMARK_MESSAGE_WATERMARKTYPE: string;
94
+ BUILDIN_WATERMARK_ISFULLSCREENWATERMARK: string;
95
+ BUILDIN_WATERMARK_MESSAGE_ISFULLSCREENWATERMARK: string;
96
+ BUILDIN_WATERMARK_WATERMARKDEGREE: string;
97
+ BUILDIN_WATERMARK_MESSAGE_WATERMARKDEGREE: string;
98
+ BUILDIN_WATERMARK_WATERMARKTEXT: string;
99
+ BUILDIN_WATERMARK_MESSAGE_WATERMARKTEXT: string;
100
+ BUILDIN_WATERMARK_WATERMARKTEXTFONTPATH: string;
101
+ BUILDIN_WATERMARK_MESSAGE_WATERMARKFONTPATH: string;
102
+ BUILDIN_WATERMARK_WATERMARKFONTRATIO: string;
103
+ BUILDIN_WATERMARK_MESSAGE_WATERMARKFONTRATIO: string;
104
+ BUILDIN_WATERMARK_WATERMARKFONTCOLOR: string;
105
+ BUILDIN_WATERMARK_MESSAGE_WATERMARKFONTCOLOR: string;
106
+ BUILDIN_WATERMARK_WATERMARKIMAGEPATH: string;
107
+ BUILDIN_WATERMARK_MESSAGE_WATERMARKIMAGEPATH: string;
108
+ BUILDIN_WATERMARK_WATERMARKPOSITION: string;
109
+ BUILDIN_WATERMARK_MESSAGE_WATERMARKPOSITION: string;
110
+ BUILDIN_COMPRESS_QUALITY: string;
111
+ BUILDIN_COMPRESS_MESSAGE_QUALITY: string;
112
+ BUILDIN_COMPRESS_ISCONVERT: string;
113
+ BUILDIN_COMPRESS_MESSAGE_ISCONVERT: string;
114
+ BUILDIN_COMPRESS_CONVERTFORMAT: string;
115
+ BUILDIN_COMPRESS_MESSAGE_CONVERTFORMAT: string;
116
+ BUILDIN_COMPRESS_ISRESIZE: string;
117
+ BUILDIN_COMPRESS_MESSAGE_ISRESIZE: string;
118
+ BUILDIN_COMPRESS_RESIZEWIDTH: string;
119
+ BUILDIN_COMPRESS_MESSAGE_RESIZEWIDTH: string;
120
+ BUILDIN_COMPRESS_RESIZEHEIGHT: string;
121
+ BUILDIN_COMPRESS_MESSAGE_RESIZEHEIGHT: string;
122
+ BUILDIN_COMPRESS_ISRESIZEBYPERCENT: string;
123
+ BUILDIN_COMPRESS_MESSAGE_ISRESIZEBYPERCENT: string;
124
+ BUILDIN_COMPRESS_RESIZEPERCENT: string;
125
+ BUILDIN_COMPRESS_MESSAGE_RESIZEPERCENT: string;
126
+ BUILDIN_COMPRESS_ISROTATE: string;
127
+ BUILDIN_COMPRESS_MESSAGE_ISROTATE: string;
128
+ BUILDIN_COMPRESS_ROTATEDEGREE: string;
129
+ BUILDIN_COMPRESS_MESSAGE_ROTATEDEGREE: string;
90
130
  PLUGIN_HANDLER_PLUGIN_INSTALL_SUCCESS: string;
91
131
  PLUGIN_HANDLER_PLUGIN_INSTALL_FAILED: string;
92
132
  PLUGIN_HANDLER_PLUGIN_INSTALL_FAILED_REASON: string;