Skip to content
Source
Sign inSign up
TanStack/schemas

Post-transfer: reconnect deploys, npm publishing, repo links; switch to Renovate #553

Closedtombeckenham opened this issue 1 comment
tombeckenhamcommented

The repo moved from modelschemas/modelschemas to TanStack/modelschemas. The live Worker (openstory Cloudflare account, modelschemas.com) is unaffected and still runs the last deployed version, but these links to the old repo need updating.

Deploys (blocked until done)

Pushes to main deployed through Cloudflare Workers Builds (README, "Continuous deploys"). That connection was to the old repo, so merges no longer ship.

  • A TanStack org admin installs the Cloudflare Workers & Pages GitHub App on the org with access to this repo.
  • Cloudflare dashboard → Workers & Pages → modelschemas → Settings → Build: disconnect the old repo and connect TanStack/modelschemas. Same settings as before: build bun run build, deploy bun run deploy:ci, non-production branches npx wrangler versions upload.
  • Confirm with a trivial merge that the push to main deploys.

bun run deploy from a laptop still works as the manual path.

npm publishing

publish.yml uses npm trusted publishing (OIDC), which is tied to the repo path.

  • Update the trusted publisher to TanStack/modelschemas / publish.yml on every @modelschemas/* package and on unscoped modelschemas.

GitHub redirects these, but they should point at the new path:

  • repository / bugs URLs in packages/*/package.json (needs a changeset, or --empty)
  • src/lib/examples.ts, src/routes/examples.tsx
  • src/components/site.tsx, which still points at tombeckenham/modelschemas

Dependabot → Renovate

TanStack repos use Renovate (.github/renovate.json in TanStack/query, TanStack/ai, TanStack/router). Replace .github/dependabot.yml with a Renovate config on the same base as those, and keep what the Dependabot config does today:

  • A TanStack org admin gives the Renovate app access to this repo.
  • Add .github/renovate.json extending the org's usual presets (config:recommended, helpers:pinGitHubActionDigests, group:allNonMajor, schedule:weekly, :approveMajorUpdates, :semanticCommits, …), plus:
    • minimumReleaseAge: "7 days" (Dependabot cooldown: 7; TanStack/query uses security:minimumReleaseAgeNpm for this)
    • @types/node majors held back (tracks the Node major the workflows run, 24); minors and patches still come through
    • @hey-api/openapi-ts in its own PR: it's pre-1.0 and changes the generated client, so a failing check:client shouldn't block the group
    • GitHub Actions grouped in one PR
  • Remove .github/dependabot.yml.
  • ci.yml:54: the changeset check skips dependabot[bot]. Change it to renovate[bot], or have Renovate add an empty changeset to its PRs.
  1. tombeckenham added labelsenhancement

  2. tombeckenham changed the title

  3. Another post-transfer reconnect: the daily Claude triage routine still targets modelschemas/modelschemas. Creating issues returns "Resource not accessible by integration" and git push is refused. Point the routine at TanStack/modelschemas and make sure the Claude GitHub App is installed on the TanStack org with write access to this repo.

  4. tombeckenham closed this

Sign in to join this conversation.