fork of hey-api/openapi-ts because I need some additional things

chore: run openapi-ts with exec

Lubos f651e5d3 bf567577

+7 -6
+4 -4
.github/workflows/ci.yml
··· 37 37 - name: Build packages 38 38 run: pnpm build --filter="@hey-api/**" 39 39 40 - - name: Build examples 41 - if: matrix.node-version == '24.10.0' && matrix.os == 'ubuntu-latest' 42 - run: pnpm build --filter="@example/**" 43 - 44 40 - name: Check examples generated code 45 41 if: matrix.node-version == '24.10.0' && matrix.os == 'ubuntu-latest' 46 42 run: pnpm examples:check 43 + 44 + - name: Build examples 45 + if: matrix.node-version == '24.10.0' && matrix.os == 'ubuntu-latest' 46 + run: pnpm build --filter="@example/**" 47 47 48 48 - name: Run linter 49 49 run: pnpm lint
+3 -2
scripts/examples-generate.sh
··· 44 44 echo "Generating: $example_name" 45 45 set -e 46 46 cd "$dir" 47 - echo "-> Running pnpm openapi-ts" 48 - pnpm openapi-ts 47 + echo "-> Running pnpm -s exec openapi-ts" 48 + # Use `pnpm exec` so the CLI binary from the workspace is resolved in CI 49 + pnpm -s exec openapi-ts 49 50 50 51 # Format generated files in this example only to keep the step fast 51 52 if command -v pnpm >/dev/null 2>&1 && pnpm -w -s --version >/dev/null 2>&1; then