From 0aca8251409de7b729f7caa9c14492b0044e0d21 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Fri, 19 Apr 2024 12:03:39 +0200 Subject: [PATCH] add `build:docmodel` script --- .github/workflows/docs.yml | 4 ++-- package.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a6c189bb..a5093741 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -39,8 +39,8 @@ jobs: - name: Create Docs run: | - yarn workspaces foreach --all --include "@apollo/*" run build - yarn workspaces foreach --all --include "@apollo/*" exec api-extractor run + yarn run build:libs + yarn run build:docmodel yarn workspace monorepo docs - name: Commit changes back diff --git a/package.json b/package.json index acbd825d..56eeb020 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "verify-package-shape": "node ./scripts/verify-package-shape.mjs", "matrix": "node ./scripts/test-matrix.js", "docs": "api-documenter markdown --input-folder temp --output-folder docs", - "build:libs": "yarn workspaces foreach --all --include \"@apollo/*\" run build" + "build:libs": "yarn workspaces foreach --all --include \"@apollo/*\" run build", + "build:docmodel": "yarn workspaces foreach --all --include \"@apollo/*\" exec api-extractor run" }, "resolutions": { "react@18.2.0": "18.3.0-canary-60a927d04-20240113",