Skip to content
Source
Sign inSign up
TanStack/cli

fix(create): bound optional package-manager version probes #553

Opentannerlinsleywants to merge 4 commits intomain fromtaren/factory-bound-version-probeopened

Showing 4 changed files with 85 additions and 5 deletions (loading 1).

x
0 of 4 viewed, 4 left
5 additions and 0 deletions.changeset/bounded-version-probe.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/create': patch
+---
+​
+Bound optional package-manager version detection and clean up owned subprocesses on timeout or cancellation, while retaining the unknown-version fallback.
14 additions and 0 deletions.github/workflows/pr.ymlModified
View file
@@ -29,6 +29,20 @@
run: pnpm build
- name: Test Unit
run: pnpm test:unit
+ test-version-probe-windows:
+ name: Test (Windows Version Probe)
+ runs-on: windows-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ persist-credentials: false
+ - name: Setup Tools
+ uses: tanstack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3 # main
+ - name: Build core
+ run: pnpm --filter @tanstack/create build
+ - name: Test actual package-manager shims
+ run: pnpm --filter @tanstack/create exec vitest run tests/environment-version-probe.test.ts
provenance:
name: Provenance
runs-on: ubuntu-latest