We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 948d795 commit a9ae5cdCopy full SHA for a9ae5cd
scripts/examples-generate.sh
@@ -10,6 +10,14 @@ SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
10
ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
11
12
echo "⏳ Generating client code for all examples..."
13
+# Build the CLI package so its bin is available to examples in the workspace.
14
+echo "Building @hey-api/openapi-ts (required for example generation)..."
15
+if pnpm -w -s --version >/dev/null 2>&1; then
16
+ pnpm -w -s --filter "@hey-api/openapi-ts" build
17
+else
18
+ pnpm -s --filter "@hey-api/openapi-ts" build
19
+fi
20
+
21
# Find all examples with openapi-ts script and generate code in parallel
22
# Concurrency control: adjust this number depending on CI machine resources
23
CONCURRENCY=${CONCURRENCY:-4}
0 commit comments