Developer Info
This page briefly summarizes the development workflow for the tanstack-head-controller monorepo.
Prerequisites
- Node.js 22+
- pnpm 10.x
Setup
sh
nish
npm installsh
pnpm installBuild
Run the following from the repository root.
sh
nr buildsh
npm buildsh
pnpm buildInternally, scripts/build.ts does the following for each package.
- Generates JavaScript with SWC
- Generates declaration files (
d.ts) with TypeScript
To build individual packages:
sh
node ./scripts/build.ts core
node ./scripts/build.ts react
node ./scripts/build.ts solid
node ./scripts/build.ts thc-plugin-mergeMain packages
packages/core: core librarypackages/react: React adapterpackages/solid: Solid adapterpackages/thc-plugin-merge: head merge pluginexamples/tanstack-react: React integration exampleexamples/tanstack-solid: Solid integration example
Docs update checklist
- If you update Japanese pages, keep English pages in the same structure.
- Keep code block language/file labels aligned (for example,
tsx [router.tsx]). - Verify that all referenced links resolve correctly.
When needed, also see Quick Start and Usage.