diff --git a/Makefile b/Makefile index 2ee33b7..2517056 100644 --- a/Makefile +++ b/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 diff --git a/docs/2023-05-23-swagger.html b/docs/2023-05-23-swagger.html index 891d257..1809a53 100644 --- a/docs/2023-05-23-swagger.html +++ b/docs/2023-05-23-swagger.html @@ -76,7 +76,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 diff --git a/posts/2023-05-23-swagger.md b/posts/2023-05-23-swagger.md index d0c198c..a3d8c7d 100644 --- a/posts/2023-05-23-swagger.md +++ b/posts/2023-05-23-swagger.md @@ -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