{"id":25428214,"url":"https://github.com/toyamarodrigo/monorepo-tanstack-router-template","last_synced_at":"2026-04-08T16:32:32.779Z","repository":{"id":269916660,"uuid":"908843183","full_name":"toyamarodrigo/monorepo-tanstack-router-template","owner":"toyamarodrigo","description":"Monorepo template with Tanstack Router \u0026 Query, Shadcn, React 19, React hook form, Typescript, TailwindCSS, Zod","archived":false,"fork":false,"pushed_at":"2025-01-31T04:03:20.000Z","size":98,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T12:33:38.998Z","etag":null,"topics":["monorepo","pnpm","pnpm-workspace","react","react-hook-form","shadcn","tailwindcss","tanstack-query","tanstack-router","typescript","zod"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toyamarodrigo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-27T05:28:27.000Z","updated_at":"2025-07-05T22:22:30.000Z","dependencies_parsed_at":"2024-12-27T06:26:44.322Z","dependency_job_id":"fc249be2-47cb-45fd-9a20-f93284028f85","html_url":"https://github.com/toyamarodrigo/monorepo-tanstack-router-template","commit_stats":null,"previous_names":["toyamarodrigo/monorepo-tanstack-router-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/toyamarodrigo/monorepo-tanstack-router-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyamarodrigo%2Fmonorepo-tanstack-router-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyamarodrigo%2Fmonorepo-tanstack-router-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyamarodrigo%2Fmonorepo-tanstack-router-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyamarodrigo%2Fmonorepo-tanstack-router-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toyamarodrigo","download_url":"https://codeload.github.com/toyamarodrigo/monorepo-tanstack-router-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyamarodrigo%2Fmonorepo-tanstack-router-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31564900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["monorepo","pnpm","pnpm-workspace","react","react-hook-form","shadcn","tailwindcss","tanstack-query","tanstack-router","typescript","zod"],"created_at":"2025-02-17T01:38:14.961Z","updated_at":"2026-04-08T16:32:32.754Z","avatar_url":"https://github.com/toyamarodrigo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monorepo with Tanstack Router\n\nThis monorepo is a template for a monorepo with Tanstack Router.\n\n![image](https://github.com/user-attachments/assets/11b502ef-ae70-4002-a05a-f08d695681e4)\n\n## Stack\n\n- [React 19](https://react.dev/)\n- [React Compiler Beta](https://github.com/react-compiler/react-compiler)\n- [Tanstack Router](https://tanstack.com/router)\n- [Tanstack Query](https://tanstack.com/query)\n- [React Hook Form](https://react-hook-form.com/)\n- [TypeScript](https://www.typescriptlang.org/)\n- [Tailwind CSS](https://tailwindcss.com/)\n- [Shadcn UI](https://ui.shadcn.com/)\n- [Lucide Icons](https://lucide.dev/)\n- [Zod](https://zod.dev/)\n- [pnpm](https://pnpm.io/)\n- [ESLint](https://eslint.org/)\n\n## How to use\n\n```bash\n# Clone the repo\ngit clone https://github.com/toyamarodrigo/monorepo-tanstack-router-template\n\n# or\n\ngh repo clone toyamarodrigo/monorepo-tanstack-router-template\n```\n\n```bash\n# Install dependencies\npnpm install\n```\n\n```bash\n# Run the development server\npnpm dev\n```\n\n## Structure\n\n- `apps/web`: The main application\n- `packages/ui`: The UI library\n- `packages/eslint-config`: The ESLint configuration\n- `packages/typescript-config`: The TypeScript configuration\n\n```bash\nrepo/\n├── apps/\n│       ├── web/ # (main application)\n│       │       ├── src/ # (components, styles, etc.)\n│       │       ├── lib/ # (utils, hooks, etc.)\n│       │       ├── routes/ # (Tanstack Router routes)\n│       │       │       ├── __root.tsx\n│       │       │       ├── about.tsx\n│       │       │       ├── index.tsx\n│       │       │       └── ...\n│       │       ├── .gitignore\n│       │       ├── components.json\n│       │       ├── eslint.config.mjs\n│       │       ├── index.html\n│       │       ├── package.json\n│       │       ├── postcss.config.js\n│       │       ├── tailwind.config.js\n│       │       ├── tsconfig.app.json\n│       │       ├── tsconfig.json\n│       │       ├── tsconfig.node.json\n│       │       └── vite.config.js\n│       └── many_apps/ # (other apps)\n│               └── ...\n│\n├── packages/ # (shared libraries)\n│       ├── ui/ # (shadcn/ui)\n│       │       ├── src/ # (components, styles, etc.)\n│       │       ├── components.json\n│       │       ├── eslint.config.js\n│       │       ├── package.json\n│       │       ├── postcss.config.js\n│       │       ├── tailwind.config.js\n│       │       ├── tsconfig.json\n│       │       └── tsconfig.lint.json\n│       │\n│       ├── eslint-config/ # (ESLint configuration)\n│       │       ├── create-config.d.ts\n│       │       ├── eslint.config.js\n│       │       ├── package.json\n│       │       └── tsconfig.json\n│       │\n│       ├── typescript-config/ # (TypeScript configuration)\n│       │       ├── base.json\n│       │       ├── package.json\n│       │       └── react-library.json\n│       │\n│       └── many_packages/ # (other packages)\n│               └── ...\n├── .gitignore\n├── eslint.config.mjs\n├── package.json\n├── pnpm-lock.yaml\n├── pnpm-workspace.yaml # (pnpm workspace configuration)\n├── README.md\n└── tsconfig.json\n```\n\n## Installing Shadcn UI Components\n\n```bash\n# Go to the packages/ui directory\ncd packages/ui\n```\n\n```bash\n# Install the component\npnpm dlx shadcn@2.1.6 add [COMPONENT]\n```\n\n```bash\n# Example\npnpm dlx shadcn@2.1.6 add label\n```\n\n\u003e [!IMPORTANT]\n\u003e FOR NOW USE @2.1.6 VERSION OF SHADCN CLI BECAUSE THERE IS A BUG IN THE CANARY VERSION THAT IMPORTS THE WRONG PATH FOR THE UTILS\n\n---\n\n\u003e [!NOTE]\n\u003e IF USING CANARY VERSION OF SHADCN CLI\n\u003e\n\u003e - There is a bug in Shadcn CLI that imports the wrong path for the utils\n\u003e - The correct path is `@app/ui/lib/utils` instead of `@app/lib/utils` which is the default path. For now you must manually change the path when adding a new component.\n\u003e\n\u003e \u003chttps://github.com/shadcn-ui/ui/discussions/6162\u003e\n\n## Use it in the web app\n\n```tsx\n// apps/web...\nimport { Label } from \"@app/ui/components/label\";\n\nfunction MyComponent() {\n  return \u003cLabel\u003eHello World\u003c/Label\u003e;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoyamarodrigo%2Fmonorepo-tanstack-router-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoyamarodrigo%2Fmonorepo-tanstack-router-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoyamarodrigo%2Fmonorepo-tanstack-router-template/lists"}