Skip to content

Commit

Permalink
feat: remove wasm code & update library
Browse files Browse the repository at this point in the history
  • Loading branch information
orlando committed Oct 21, 2023
1 parent ec3a139 commit b278165
Show file tree
Hide file tree
Showing 15 changed files with 7,108 additions and 12,109 deletions.
Empty file added CHANGELOG.md
Empty file.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Features:
- [Options](#options)
- [Usage](#usage)
- [License](#license)
- [版本发布](#版本发布)

## Installation

Expand Down Expand Up @@ -191,6 +192,22 @@ export default () => (
TODO: needs general documentation

## 版本发布

版本号规范遵循 [语义化版本](https://semver.org/lang/zh-CN/) 文档

git commit message 规范遵循 [约定式提交](https://www.conventionalcommits.org/zh-hans/v1.0.0/),相关代码编辑器插件有

- webstorm plugin [Git Commit Template](https://plugins.jetbrains.com/plugin/9861-git-commit-template)
- vscode plugin [Commit Message Editor](https://marketplace.visualstudio.com/items?itemName=adam-bender.commit-message-editor)

新的修改变动合并到master分支后,可以使用以下命令执行版本发布。

```shell
npm run release
npm run git:push:tags
```

## License

Licensed under the [MIT](https://github.com/cyrilwanner/optimized-images-loader/blob/master/LICENSE) license.
Expand Down
15 changes: 8 additions & 7 deletions images.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
type ImgSrc = {
src: string;
width: number;
height: number;
format: string;
toString(): string;
}
// type ImgSrc = {
// src: string;
// width: number;
// height: number;
// format: string;
// toString(): string;
// }
type ImgSrc = string

type ColorsSrc = {
src: string[];
Expand Down
Loading

0 comments on commit b278165

Please sign in to comment.