chore: remove prettier latest

main
sudo pacman -Syu 2024-06-02 01:34:13 +07:00
parent f6710d550d
commit 0cf8ccfb8e
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ gen:
format-html: format-html:
# bun upgrade # bun upgrade
bunx prettier@latest --write ./templates ./docs bunx prettier --write ./templates ./docs
# deno upgrade # deno upgrade
deno fmt ./posts deno fmt ./posts

View File

@ -76,7 +76,7 @@ go install github.com/mikefarah/yq/v4@latest
yq -o=json <span class="pl-s"><span class="pl-pds">'</span>.<span class="pl-pds">'</span></span> ./docs/swagger.yaml <span class="pl-k">&gt;</span> ./docs/swagger.json yq -o=json <span class="pl-s"><span class="pl-pds">'</span>.<span class="pl-pds">'</span></span> ./docs/swagger.yaml <span class="pl-k">&gt;</span> ./docs/swagger.json
<span class="pl-c"><span class="pl-c">#</span> Format</span> <span class="pl-c"><span class="pl-c">#</span> Format</span>
bunx prettier@latest --write ./docs/swagger.yaml ./docs/swagger.json bunx prettier --write ./docs/swagger.yaml ./docs/swagger.json
<span class="pl-c"><span class="pl-c">#</span> Render locally</span> <span class="pl-c"><span class="pl-c">#</span> Render locally</span>
bunx @redocly/cli preview-docs ./docs/swagger.json</pre> bunx @redocly/cli preview-docs ./docs/swagger.json</pre>

View File

@ -21,7 +21,7 @@ go install github.com/mikefarah/yq/v4@latest
yq -o=json '.' ./docs/swagger.yaml > ./docs/swagger.json yq -o=json '.' ./docs/swagger.yaml > ./docs/swagger.json
# Format # Format
bunx prettier@latest --write ./docs/swagger.yaml ./docs/swagger.json bunx prettier --write ./docs/swagger.yaml ./docs/swagger.json
# Render locally # Render locally
bunx @redocly/cli preview-docs ./docs/swagger.json bunx @redocly/cli preview-docs ./docs/swagger.json