api3dao / old-api3-docs

Documentation for the API3 Project
https://docs.api3.org/
MIT License
56 stars 29 forks source link

Add --cache property to prettier #1148

Closed Siegrift closed 1 year ago

Siegrift commented 1 year ago

Relates to https://github.com/api3dao/airnode/issues/1595

This greatly reduced the prettier execution time. See the screen shot.

image
github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 4bf51cd):

https://api3-docs--pr1148-prettier-cache-jm17qigl.web.app

(expires Mon, 19 Dec 2022 10:46:54 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d319eb7cbe610768342d5dc1b5cd1f3aed912886

Siegrift commented 1 year ago

Did not seems to matter with the vite build though. Not sure if is using prettier at this point.

I don't think so.

I ran this against the newer VitePress docs and for the command yarn format and yarn format:check there is a major improvement.

Feel free to add this to the new docs repo as well. I didn't want to do it for all our repos.