A complete template for creating new TanStack libraries with all the tooling and infrastructure you need.
- ✅ Framework-agnostic core package
- ✅ React and Solid adapters (easy to add more)
- ✅ Devtools packages for debugging
- ✅ Full monorepo setup with pnpm + Nx
- ✅ TypeScript configuration
- ✅ Testing setup with Vitest
- ✅ Documentation structure with TypeDoc
- ✅ Example applications
- ✅ GitHub workflows (CI, release, autofix)
- ✅ Changesets for versioning
- ✅ ESLint + Prettier
- ✅ Issue and PR templates
- Clone or copy this template
- Follow the instructions in TEMPLATE_GUIDE.md
- Search and replace "template" with your library name
- Replace placeholder code with your implementation
- Update documentation
- Start building!
@tanstack/template- Core library@tanstack/react-template- React adapter@tanstack/solid-template- Solid adapter@tanstack/template-devtools- Base devtools@tanstack/react-template-devtools- React devtools@tanstack/solid-template-devtools- Solid devtools
pnpm install # Install dependencies
pnpm build:all # Build all packages
pnpm test:lib # Run tests
pnpm test:pr # Run PR checks
pnpm format # Format code
pnpm generate-docs # Generate documentation
pnpm watch # Watch modeSee TEMPLATE_GUIDE.md for detailed instructions on customizing this template.
MIT