{"id":20548471,"url":"https://github.com/react18-tools/turborepo-template","last_synced_at":"2025-04-14T10:53:07.398Z","repository":{"id":190965101,"uuid":"683576091","full_name":"react18-tools/turborepo-template","owner":"react18-tools","description":"Template for creating React 19 / Next.js 15 libraries","archived":false,"fork":false,"pushed_at":"2025-04-09T16:18:27.000Z","size":5909,"stargazers_count":62,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T17:32:13.331Z","etag":null,"topics":["automation","cicd","fork","fork-me","github-actions","mayank1513","nextjs","nextjs14","nextjs15","nodejs","react","react18","reactjs-libraries","server-components","template","tsup","turborepo","typescript","up-for-grabs","vitest"],"latest_commit_sha":null,"homepage":"https://turborepo-template-three.vercel.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/react18-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["mayank1513"],"polar":"mayank1513","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://pages.razorpay.com/mayank1513"]}},"created_at":"2023-08-27T02:45:50.000Z","updated_at":"2025-04-09T16:18:30.000Z","dependencies_parsed_at":"2023-08-30T21:24:27.080Z","dependency_job_id":"88a06aa7-54b7-4b68-8297-ddb7e4eede86","html_url":"https://github.com/react18-tools/turborepo-template","commit_stats":null,"previous_names":["mayank1513/turbo-template","mayank1513/turborepo-template"],"tags_count":17,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react18-tools%2Fturborepo-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react18-tools%2Fturborepo-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react18-tools%2Fturborepo-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react18-tools%2Fturborepo-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react18-tools","download_url":"https://codeload.github.com/react18-tools/turborepo-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868782,"owners_count":21174755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["automation","cicd","fork","fork-me","github-actions","mayank1513","nextjs","nextjs14","nextjs15","nodejs","react","react18","reactjs-libraries","server-components","template","tsup","turborepo","typescript","up-for-grabs","vitest"],"created_at":"2024-11-16T02:13:37.714Z","updated_at":"2025-04-14T10:53:07.392Z","avatar_url":"https://github.com/react18-tools.png","language":"JavaScript","funding_links":["https://github.com/sponsors/mayank1513","https://polar.sh/mayank1513","https://pages.razorpay.com/mayank1513"],"categories":[],"sub_categories":[],"readme":"# Turborepo Template \u003cimg src=\"https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png\" style=\"height: 40px\"/\u003e\n\n[![test](https://github.com/react18-tools/turborepo-template/actions/workflows/test.yml/badge.svg)](https://github.com/react18-tools/turborepo-template/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://codeclimate.com/github/react18-tools/turborepo-template/maintainability) [![codecov](https://codecov.io/gh/react18-tools/turborepo-template/graph/badge.svg)](https://codecov.io/gh/react18-tools/turborepo-template) [![Version](https://img.shields.io/npm/v/react18-loaders.svg?colorB=green)](https://www.npmjs.com/package/react18-loaders) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/react18-loaders.svg)](https://www.npmjs.com/package/react18-loaders) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/react18-loaders) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)\n\n\u003e [Explore featured packages built with this template.](./FEATURED.md)\n\n\u003e Exciting news! We've launched a new course to help you master this template: [Craft Next Gen UI Libraries for React 18 and Next.js 14](https://www.udemy.com/course/craft-next-gen-ui-libraries-for-react-18-and-nextjs-14/?referralCode=46B8C7845ECCEA99E0EF)\n\n\u003cdetails\u003e\n\u003csummary style=\"cursor:pointer\"\u003e\u003ch2 style=\"display:inline-block\"\u003eFeatures\u003c/h2\u003e\u003c/summary\u003e\n\nThis template offers the following pre-configured features. Additionally, your repository will automatically be rebranded with the help of workflows and post-install scripts.\n\n✅ Monorepo powered by Turborepo and GitHub actions for automating building, testing, and deploying your library\n\n✅ Examples with Next.js, and Vite to showcase how your library can be utilized\n\n✅ Examples pre-configured for Light/Dark theme based on user preference\n\n✅ Examples ready to be deployed to Vercel\n\n✅ Typedoc setup for automatic documentation generation based on tsdoc comments\n\n✅ Code of Conduct and contributing files, ready for customization\n\n✅ Prettier and linter configured according to modern best practices (Feel free to add your flavor)\n\n✅ Recommended VSCode extensions - Prettier and [Kanban board](https://github.com/mayank1513/vscode-extension-trello-kanban-board) for code formatting and project management directly within your IDE\n\n✅ Powerful code generators - try `yarn plop`\n\n✅ Test setup with Vitest - A modern and fast testing framework supporting Jest-like APIs\n\n✅ Workflows to automate testing on every pull-request or code push event\n\n✅ Workflow to automatically publish and create GitHub releases when you update your library's `package.json` file.\n\n✅ Workflow to automatically rebrand the entire template based on your repository name. (Refer [TODO.md](./TODO.md))\n\n✅ Plus, this readme file includes a quick checklist for configuring Codecov and other badges, setting up your docs website on GitHub pages, and more. See [Checklist](./TODO.md).\n\n### Creates a library that is\n\n✅ Fully Treeshakable (e.g., import {Bars1, Bars2} from `react18-loaders/dist/server/bars`)\n\n✅ Fully TypeScript Supported\n\n✅ Leverages the power of React 18 Server components\n\n✅ Compatible with all React 18 build systems/tools/frameworks\n\n✅ Documented with [Typedoc](https://react18-tools.github.io/turborepo-template) ([Docs](https://react18-tools.github.io/turborepo-template))\n\n\u003c/details\u003e\n\n## Getting Started:\n\nThis template is based on one of the official Turbo Repo starters but comes with a plethora of additional features specifically designed for developing and publishing JavaScript/TypeScript libraries, especially for React 18.\n\nTo get started, simply click on the `\"Use this template\"` button to create a new repository based on this template, \\*\\*update [`sripts/rebrand.config.json`](./scripts/rebrand.config.json) if required, and install dependencies(Will automatically trigger rebrand.js). Customize it according to your requirements for your next JavaScript/TypeScript/React/Next.js library or project.\n\nFor detailed instructions and a checklist, please refer to [TODO.md](./TODO.md).\n\n## What's Different from Turborepo official templates?\n\nCompared to the default scaffold from create-turbo, this template offers:\n\n- Unit tests with `vitest`\n- Build setup with `tsup` and `esbuild-plugin-react18` that supports React Server components out of the box\n- **Automatic file generation**\n  - Simply run `yarn plop` and follow the prompts to auto-generate your new component with test files and dependency linking, adhering to best practices automatically\n- GitHub actions/workflows to auto-publish your package when the version changes\n- GitHub action/workflow + pre-install scripts to automatically rebrand your repo on creation\n\n### 🤩 Don't forget to star [this repository](https://github.com/react18-tools/turborepo-template)!\n\nLooking for a hands-on course to get started with Turborepo? Check out [React and Next.js with TypeScript](https://mayank-chaudhari.vercel.app/courses/react-and-next-js-with-typescript) and [The Game of Chess with Next.js, React, and TypeScript](https://www.udemy.com/course/game-of-chess-with-nextjs-react-and-typescript/?referralCode=851A28F10B254A8523FE)\n\n![Repo Stats](https://repobeats.axiom.co/api/embed/2ef1a24385037998386148afe5a98ded6006f410.svg \"Repobeats analytics image\")\n\n## License\n\nLicensed under the MPL-2.0 open-source license.\n\n\u003e \u003cimg src=\"https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png\" style=\"height: 20px\"/\u003e Enrolling in [our courses](https://mayank-chaudhari.vercel.app/courses) or [sponsor](https://github.com/sponsors/mayank1513) our work.\n\n\u003chr /\u003e\n\n\u003cp align=\"center\" style=\"text-align:center\"\u003ewith 💖 by \u003ca href=\"https://mayank-chaudhari.vercel.app\" target=\"_blank\"\u003eMayank Kumar Chaudhari\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact18-tools%2Fturborepo-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact18-tools%2Fturborepo-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact18-tools%2Fturborepo-template/lists"}