chore: remove prettier latest
parent
f6710d550d
commit
0cf8ccfb8e
2
Makefile
2
Makefile
|
@ -40,7 +40,7 @@ gen:
|
|||
|
||||
format-html:
|
||||
# bun upgrade
|
||||
bunx prettier@latest --write ./templates ./docs
|
||||
bunx prettier --write ./templates ./docs
|
||||
# deno upgrade
|
||||
deno fmt ./posts
|
||||
|
||||
|
|
|
@ -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">></span> ./docs/swagger.json
|
||||
|
||||
<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>
|
||||
bunx @redocly/cli preview-docs ./docs/swagger.json</pre>
|
||||
|
|
|
@ -21,7 +21,7 @@ go install github.com/mikefarah/yq/v4@latest
|
|||
yq -o=json '.' ./docs/swagger.yaml > ./docs/swagger.json
|
||||
|
||||
# Format
|
||||
bunx prettier@latest --write ./docs/swagger.yaml ./docs/swagger.json
|
||||
bunx prettier --write ./docs/swagger.yaml ./docs/swagger.json
|
||||
|
||||
# Render locally
|
||||
bunx @redocly/cli preview-docs ./docs/swagger.json
|
||||
|
|
Loading…
Reference in New Issue