chore: use AVIF instead of PNG/JPG as more as possible (#301)

This commit is contained in:
Typed SIGTERM
2025-07-19 19:58:12 +08:00
committed by GitHub
parent 9aa5fe9656
commit 76e546316a
249 changed files with 164 additions and 112 deletions
+12 -7
View File
@@ -299,13 +299,18 @@ pnpm -F @proj-airi/minecraft-bot start
### Before commit
> [!CAUTION]
>
> Please make sure lint (static checkers) and TypeScript compilers are satisfied:
>
> ```shell
> pnpm lint && pnpm typecheck
> ```
Please make sure lint (static checkers) and TypeScript compilers are satisfied:
```shell
pnpm lint && pnpm typecheck
```
If you are committing images, consider using AVIF format instead of PNG, JPG etc. You can convert existing images to AVIF by running:
```shell
cd docs
pnpm to-avif <PATH_TO_IMAGE_OR_DIRECTORY1> <PATH_2> <PATH_3> ...
```
> [!NOTE]
>