piclist 1.8.7 → 1.8.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/.eslintrc.js +1 -0
- package/CHANGELOG.md +15 -0
- package/Dockerfile +6 -0
- package/dist/core/Lifecycle.d.ts +5 -1
- package/dist/core/PicGo.d.ts +2 -2
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/lib/Commander.d.ts +1 -1
- package/dist/lib/LifecyclePlugins.d.ts +1 -1
- package/dist/lib/Logger.d.ts +1 -1
- package/dist/lib/PluginHandler.d.ts +1 -1
- package/dist/lib/PluginLoader.d.ts +1 -1
- package/dist/lib/Request.d.ts +2 -2
- package/dist/plugins/beforetransformer/compress.d.ts +1 -1
- package/dist/plugins/beforetransformer/watermark.d.ts +1 -1
- package/dist/plugins/beforeupload/buildInRename.d.ts +1 -1
- package/dist/plugins/commander/config.d.ts +1 -1
- package/dist/plugins/commander/i18n.d.ts +1 -1
- package/dist/plugins/commander/index.d.ts +1 -1
- package/dist/plugins/commander/init.d.ts +1 -1
- package/dist/plugins/commander/pluginHandler.d.ts +1 -1
- package/dist/plugins/commander/proxy.d.ts +1 -1
- package/dist/plugins/commander/setting.d.ts +1 -1
- package/dist/plugins/commander/upload.d.ts +1 -1
- package/dist/plugins/commander/use.d.ts +1 -1
- package/dist/plugins/transformer/base64.d.ts +1 -1
- package/dist/plugins/transformer/index.d.ts +1 -1
- package/dist/plugins/transformer/path.d.ts +1 -1
- package/dist/plugins/uploader/aliyun.d.ts +1 -1
- package/dist/plugins/uploader/awss3plist.d.ts +1 -1
- package/dist/plugins/uploader/github.d.ts +1 -1
- package/dist/plugins/uploader/imgur.d.ts +1 -1
- package/dist/plugins/uploader/index.d.ts +1 -1
- package/dist/plugins/uploader/local.d.ts +1 -1
- package/dist/plugins/uploader/lsky.d.ts +1 -1
- package/dist/plugins/uploader/qiniu.d.ts +1 -1
- package/dist/plugins/uploader/s3/uploader.d.ts +6 -7
- package/dist/plugins/uploader/s3/utils.d.ts +2 -2
- package/dist/plugins/uploader/sftp.d.ts +1 -1
- package/dist/plugins/uploader/smms.d.ts +1 -1
- package/dist/plugins/uploader/tcyun.d.ts +1 -1
- package/dist/plugins/uploader/telegraph.d.ts +1 -1
- package/dist/plugins/uploader/upyun.d.ts +1 -1
- package/dist/plugins/uploader/webdav.d.ts +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/utils/common.d.ts +1 -1
- package/dist/utils/createContext.d.ts +1 -1
- package/dist/utils/db.d.ts +2 -2
- package/dist/utils/getClipboardImage.d.ts +1 -1
- package/dist/utils/initUtils.d.ts +1 -1
- package/dist/utils/interfaces.d.ts +2 -2
- package/dist/utils/sshClient.d.ts +1 -1
- package/package.json +155 -155
package/.eslintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## :tada: 1.8.9 (2024-06-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### :sparkles: Features
|
|
5
|
+
|
|
6
|
+
* **custom:** refresh before getconfig ([387abe7](https://github.com/Kuingsmile/PicList-Core/commit/387abe7))
|
|
7
|
+
* **custom:** support delete for repeat image when using sm.ms ([6b512ad](https://github.com/Kuingsmile/PicList-Core/commit/6b512ad))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### :bug: Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **custom:** fix url upload bug ([fb510de](https://github.com/Kuingsmile/PicList-Core/commit/fb510de))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
1
16
|
## :tada: 0.5.3 (2023-04-29)
|
|
2
17
|
|
|
3
18
|
|
package/Dockerfile
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
FROM node:lts-alpine
|
|
2
|
+
ENV TZ=Asia/Shanghai
|
|
3
|
+
RUN apk update \
|
|
4
|
+
&& apk add tzdata \
|
|
5
|
+
&& echo "${TZ}" > /etc/timezone \
|
|
6
|
+
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
|
|
7
|
+
&& rm /var/cache/apk/*
|
|
2
8
|
RUN yarn config set network-timeout 300000 && \
|
|
3
9
|
#apk add g++ make py3-pip && \
|
|
4
10
|
#yarn global add node-gyp && \
|
package/dist/core/Lifecycle.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
|
-
import {
|
|
3
|
+
import type { IBuildInWaterMarkOptions, IBuildInCompressOptions, IPicGo, Undefinable } from '../types';
|
|
4
4
|
export declare class Lifecycle extends EventEmitter {
|
|
5
5
|
private readonly ctx;
|
|
6
6
|
private readonly ttfLink;
|
|
7
7
|
ttfPath: string;
|
|
8
8
|
constructor(ctx: IPicGo);
|
|
9
9
|
downloadTTF(): Promise<boolean>;
|
|
10
|
+
helpGetOption(ctx: IPicGo): {
|
|
11
|
+
compressOptions: Undefinable<IBuildInCompressOptions>;
|
|
12
|
+
watermarkOptions: Undefinable<IBuildInWaterMarkOptions>;
|
|
13
|
+
};
|
|
10
14
|
start(input: any[]): Promise<IPicGo>;
|
|
11
15
|
private beforeTransform;
|
|
12
16
|
private doTransform;
|
package/dist/core/PicGo.d.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import Commander from '../lib/Commander';
|
|
4
4
|
import { Logger } from '../lib/Logger';
|
|
5
|
-
import { type IHelper, type IImgInfo, type IPicGo, type IStringKeyMap, type IPluginLoader, type II18nManager, type IPicGoPlugin, type IPicGoPluginInterface, type IRequest } from '../types';
|
|
6
|
-
import Request from '../lib/Request';
|
|
7
5
|
import PluginHandler from '../lib/PluginHandler';
|
|
6
|
+
import Request from '../lib/Request';
|
|
7
|
+
import type { IHelper, IImgInfo, IPicGo, IStringKeyMap, IPluginLoader, II18nManager, IPicGoPlugin, IPicGoPluginInterface, IRequest } from '../types';
|
|
8
8
|
export declare class PicGo extends EventEmitter implements IPicGo {
|
|
9
9
|
private _config;
|
|
10
10
|
private lifecycle;
|