Skip to content

Commit

Permalink
Breaking up the api:bundle yarn command for better maintainability (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend authored Jul 20, 2023
1 parent b9858f9 commit 7d18844
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"api:clean": "docusaurus clean-api-docs all",
"api:bundle": "redocly bundle openapi/horizon/main.yml --output openapi/horizon/bundled.yml && redocly bundle openapi/anchor-platform/Platform\\ API.yml --output openapi/anchor-platform/bundled.yml && yarn redocly bundle openapi/anchor-platform/Callbacks\\ API.yml --output openapi/anchor-platform/bundled_callback.yml",
"api:bundle": "yarn bundle-horizon && yarn bundle-anchor-platform",
"bundle-horizon": "redocly bundle openapi/horizon/main.yml --output openapi/horizon/bundled.yml",
"bundle-anchor-platform": "redocly bundle openapi/anchor-platform/Platform\\ API.yml --output openapi/anchor-platform/bundled.yml && yarn redocly bundle openapi/anchor-platform/Callbacks\\ API.yml --output openapi/anchor-platform/bundled_callback.yml",
"api:gen": "docusaurus gen-api-docs all && rm api/horizon/resources/*.info.mdx && rm api/anchor-platform/resources/*.info.mdx && rm api/anchor-platform/callbacks/*.info.mdx",
"api": "yarn api:clean && yarn api:bundle && yarn api:gen",
"write-translations": "docusaurus write-translations",
Expand Down

0 comments on commit 7d18844

Please sign in to comment.