picgo 1.5.0-alpha.4 → 1.5.0-alpha.7
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 +1 -1
- package/.github/workflows/main.yml +1 -1
- package/.github/workflows/manually.yml +1 -1
- package/CHANGELOG.md +38 -3
- package/README.md +1 -1
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/zh-CN.d.ts +24 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/lib/Logger.d.ts +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/utils/common.d.ts +1 -0
- package/dist/utils/db.d.ts +2 -2
- package/dist/utils/static.d.ts +1 -0
- package/package.json +7 -6
- package/rollup.config.js +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
+
# :tada: 1.5.0-alpha.7 (2022-08-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### :sparkles: Features
|
|
5
|
+
|
|
6
|
+
* finish i18n text ([11b3197](https://github.com/PicGo/PicGo-Core/commit/11b3197))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
* aliyun content-type -> Content-Type ([a649fcc](https://github.com/PicGo/PicGo-Core/commit/a649fcc))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# :tada: 1.5.0-alpha.6 (2022-08-17)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### :bug: Bug Fixes
|
|
19
|
+
|
|
20
|
+
* tencent cos upload error ([61df53a](https://github.com/PicGo/PicGo-Core/commit/61df53a))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# :tada: 1.5.0-alpha.5 (2022-07-31)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### :sparkles: Features
|
|
28
|
+
|
|
29
|
+
* add log file size limit ([158be01](https://github.com/PicGo/PicGo-Core/commit/158be01))
|
|
30
|
+
* change inner db to @picgo/store ([0e90af3](https://github.com/PicGo/PicGo-Core/commit/0e90af3))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### :bug: Bug Fixes
|
|
34
|
+
|
|
35
|
+
* build error ([674a6b5](https://github.com/PicGo/PicGo-Core/commit/674a6b5))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
1
39
|
# :tada: 1.5.0-alpha.4 (2022-05-26)
|
|
2
40
|
|
|
3
41
|
|
|
@@ -389,6 +427,3 @@
|
|
|
389
427
|
### :package: Chore
|
|
390
428
|
|
|
391
429
|
* add picgo bump version ([c312302](https://github.com/PicGo/PicGo-Core/commit/c312302))
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ A tool for picture uploading. Both CLI & api supports. It also supports plugin s
|
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
18
|
-
PicGo should be installed with node.js >= 12.
|
|
18
|
+
PicGo should be installed with node.js >= 12 (v1.5.0-alpha.4 and small) & node.js >= 16 (since v1.5.0-alpha.5).
|
|
19
19
|
|
|
20
20
|
### Global install
|
|
21
21
|
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ declare class I18nManager implements II18nManager {
|
|
|
7
7
|
private readonly objectAdapter;
|
|
8
8
|
private readonly ctx;
|
|
9
9
|
constructor(ctx: IPicGo);
|
|
10
|
+
private loadOutterI18n;
|
|
11
|
+
private getOutterI18nFolder;
|
|
10
12
|
translate<T extends string>(key: ILocalesKey | T, args?: IStringKeyMap<string>): string;
|
|
11
13
|
setLanguage(language: string): void;
|
|
12
14
|
addLocale(language: string, locales: ILocale): boolean;
|
package/dist/i18n/zh-CN.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export declare const ZH_CN: {
|
|
|
15
15
|
PICBED_ALICLOUD_PATH: string;
|
|
16
16
|
PICBED_ALICLOUD_CUSTOMURL: string;
|
|
17
17
|
PICBED_ALICLOUD_OPTIONS: string;
|
|
18
|
+
PICBED_ALICLOUD_MESSAGE_AREA: string;
|
|
19
|
+
PICBED_ALICLOUD_MESSAGE_PATH: string;
|
|
20
|
+
PICBED_ALICLOUD_MESSAGE_OPTIONS: string;
|
|
21
|
+
PICBED_ALICLOUD_MESSAGE_CUSTOMURL: string;
|
|
18
22
|
PICBED_TENCENTCLOUD: string;
|
|
19
23
|
PICBED_TENCENTCLOUD_VERSION: string;
|
|
20
24
|
PICBED_TENCENTCLOUD_SECRETID: string;
|
|
@@ -23,13 +27,23 @@ export declare const ZH_CN: {
|
|
|
23
27
|
PICBED_TENCENTCLOUD_BUCKET: string;
|
|
24
28
|
PICBED_TENCENTCLOUD_AREA: string;
|
|
25
29
|
PICBED_TENCENTCLOUD_PATH: string;
|
|
30
|
+
PICBED_TENCENTCLOUD_OPTIONS: string;
|
|
26
31
|
PICBED_TENCENTCLOUD_CUSTOMURL: string;
|
|
32
|
+
PICBED_TENCENTCLOUD_MESSAGE_APPID: string;
|
|
33
|
+
PICBED_TENCENTCLOUD_MESSAGE_AREA: string;
|
|
34
|
+
PICBED_TENCENTCLOUD_MESSAGE_PATH: string;
|
|
35
|
+
PICBED_TENCENTCLOUD_MESSAGE_CUSTOMURL: string;
|
|
36
|
+
PICBED_TENCENTCLOUD_MESSAGE_OPTIONS: string;
|
|
27
37
|
PICBED_GITHUB: string;
|
|
28
38
|
PICBED_GITHUB_TOKEN: string;
|
|
29
39
|
PICBED_GITHUB_REPO: string;
|
|
30
40
|
PICBED_GITHUB_PATH: string;
|
|
31
41
|
PICBED_GITHUB_BRANCH: string;
|
|
32
42
|
PICBED_GITHUB_CUSTOMURL: string;
|
|
43
|
+
PICBED_GITHUB_MESSAGE_REPO: string;
|
|
44
|
+
PICBED_GITHUB_MESSAGE_BRANCH: string;
|
|
45
|
+
PICBED_GITHUB_MESSAGE_PATH: string;
|
|
46
|
+
PICBED_GITHUB_MESSAGE_CUSTOMURL: string;
|
|
33
47
|
PICBED_QINIU: string;
|
|
34
48
|
PICBED_QINIU_ACCESSKEY: string;
|
|
35
49
|
PICBED_QINIU_SECRETKEY: string;
|
|
@@ -38,9 +52,14 @@ export declare const ZH_CN: {
|
|
|
38
52
|
PICBED_QINIU_URL: string;
|
|
39
53
|
PICBED_QINIU_OPTIONS: string;
|
|
40
54
|
PICBED_QINIU_AREA: string;
|
|
55
|
+
PICBED_QINIU_MESSAGE_PATH: string;
|
|
56
|
+
PICBED_QINIU_MESSAGE_AREA: string;
|
|
57
|
+
PICBED_QINIU_MESSAGE_OPTIONS: string;
|
|
58
|
+
PICBED_QINIU_MESSAGE_URL: string;
|
|
41
59
|
PICBED_IMGUR: string;
|
|
42
60
|
PICBED_IMGUR_CLIENTID: string;
|
|
43
61
|
PICBED_IMGUR_PROXY: string;
|
|
62
|
+
PICBED_IMGUR_MESSAGE_PROXY: string;
|
|
44
63
|
PICBED_UPYUN: string;
|
|
45
64
|
PICBED_UPYUN_BUCKET: string;
|
|
46
65
|
PICBED_UPYUN_OPERATOR: string;
|
|
@@ -48,6 +67,11 @@ export declare const ZH_CN: {
|
|
|
48
67
|
PICBED_UPYUN_PATH: string;
|
|
49
68
|
PICBED_UPYUN_URL: string;
|
|
50
69
|
PICBED_UPYUN_OPTIONS: string;
|
|
70
|
+
PICBED_UPYUN_MESSAGE_OPERATOR: string;
|
|
71
|
+
PICBED_UPYUN_MESSAGE_PASSWORD: string;
|
|
72
|
+
PICBED_UPYUN_MESSAGE_URL: string;
|
|
73
|
+
PICBED_UPYUN_MESSAGE_OPTIONS: string;
|
|
74
|
+
PICBED_UPYUN_MESSAGE_PATH: string;
|
|
51
75
|
PLUGIN_HANDLER_PLUGIN_INSTALL_SUCCESS: string;
|
|
52
76
|
PLUGIN_HANDLER_PLUGIN_INSTALL_FAILED: string;
|
|
53
77
|
PLUGIN_HANDLER_PLUGIN_INSTALL_FAILED_REASON: string;
|