Skip to content

Commit 5ace58d

Browse files
committed
Rebrand 💖 <a href="https://mayank-chaudhari.vercel.app" target="_blank">Mayank Kumar Chaudhari</a> [skip ci]
1 parent 36626cd commit 5ace58d

24 files changed

Lines changed: 72 additions & 396 deletions

‎.github/workflows/setup.yml‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

‎README.md‎

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Turborepo template
1+
# fork-me
22

3-
[![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/@mayank1513/fork-me.svg?colorB=green)](https://www.npmjs.com/package/@mayank1513/fork-me) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/@mayank1513/fork-me.svg)](https://www.npmjs.com/package/@mayank1513/fork-me) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@mayank1513/fork-me) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)
3+
[![test](https://github.com/react18-tools/fork-me/actions/workflows/test.yml/badge.svg)](https://github.com/react18-tools/fork-me/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://codeclimate.com/github/react18-tools/fork-me/maintainability) [![codecov](https://codecov.io/gh/react18-tools/fork-me/graph/badge.svg)](https://codecov.io/gh/react18-tools/fork-me) [![Version](https://img.shields.io/npm/v/fork-me.svg?colorB=green)](https://www.npmjs.com/package/fork-me) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/fork-me.svg)](https://www.npmjs.com/package/fork-me) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/fork-me) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)
44

55
> [Featured packages built with this template.](./FEATURED.md)
66
@@ -34,25 +34,42 @@ This template offers following pre-configured features. Additionally, your repo
3434

3535
✅ Workflow to automatically publish and create a GitHub release when you update your librari's `package.json` file.
3636

37-
✅ Workflow to automatically rebrand entire template based on the name of the repo you create from this template. (As soon as you create a repo from this template, setup workflow is triggered which renames @mayank1513/fork-me to your repo name and does lots of other fixes to set you up and running.)
37+
✅ Workflow to automatically rebrand entire template based on the name of the repo you create from this template. (As soon as you create a repo from this template, setup workflow is triggered which renames fork-me to your repo name and does lots of other fixes to set you up and running.)
3838

3939
✅ With all these features, this readme file contains a quick checklist for you to configure Codecov and other badges, setup your docs website on GitHub pages, etc. See [Checklist](#step-by-step-instructions-and-checklist).
4040

4141
#### Create a library that is
4242

43-
✅ Fully Treeshakable (import from @mayank1513/fork-me/client/component)
43+
✅ Fully Treeshakable (import from fork-me/client/component)
4444

4545
✅ Full TypeScript Support
4646

4747
✅ Unleash the full power of React18 Server components
4848

4949
✅ Works with all build systems/tools/frameworks for React18
5050

51-
✅ Doccumented with [Typedoc](https://react18-tools.github.io/turborepo-template) ([Docs](https://react18-tools.github.io/turborepo-template))
51+
✅ Doccumented with [Typedoc](https://react18-tools.github.io/fork-me) ([Docs](https://react18-tools.github.io/fork-me))
52+
53+
## Install
54+
55+
```bash
56+
$ pnpm add fork-me
57+
```
58+
59+
or
60+
61+
```bash
62+
$ npm install fork-me
63+
```
64+
65+
or
66+
67+
```bash
68+
$ yarn add fork-me
69+
```
70+
5271

53-
## Introduction
5472

55-
This template is based on the official starter Turborepo but with additional features tailored for creating and publishing JavaScript/TypeScript and specifically React18 libraries.
5673

5774
## Getting started:
5875

@@ -72,11 +89,11 @@ Compared to the default scaffold from create-turbo, this template offers:
7289

7390
## Step by Step Instructions and Checklist
7491

75-
- [ ] Star [this repo](https://github.com/react18-tools/turborepo-template/) so that you and others can find it more easily for your next projects. It also helps me understand that people are using this repo so that I can maintain the repo and the documentation well.
76-
- [ ] Craete new GitHub repository using this template.
77-
- [ ] Click `Use this template` button on top right -> `Create a new repository`
78-
- [ ] Set your library name as repository name (This template has automation workflows to customize your repo assuming repo name as library name.)
79-
- [ ] Click `Create repository` and wait for the setup workflow to finish rebranding your repo.
92+
- [ ] Star [this repo](https://github.com/react18-tools/fork-me/) so that you and others can find it more easily for your next projects. It also helps me understand that people are using this repo so that I can maintain the repo and the documentation well.
93+
94+
95+
96+
8097
- [ ] Install and setup Node.js and IDE (I prefer VSCode)
8198
- [ ] Install the recommended VSCode extensions - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode), [Trello Kanban](https://marketplace.visualstudio.com/items?itemName=mayank1513.trello-kanban-task-board)
8299
- [ ] Install dependencies using `pnpm`
@@ -91,27 +108,27 @@ Compared to the default scaffold from create-turbo, this template offers:
91108
- [ ] Please make sure `owner` is set to your <npmjs.com> username before running the above command.
92109
- [ ] Set up `CodeCov`
93110
- [ ] Visit codecov and setup your repo
94-
- [ ] Create [repository secret](https://github.com/react18-tools/turborepo-template/settings/secrets/actions) for `CODECOV_TOKEN`
111+
- [ ] Create [repository secret](https://github.com/react18-tools/fork-me/settings/secrets/actions) for `CODECOV_TOKEN`
95112
- [ ] Set up `CodeClimate`
96113
- [ ] Visit CodeClimate and setup your repo
97-
- [ ] Create [repository secret](https://github.com/react18-tools/turborepo-template/settings/secrets/actions) for `CC_TEST_REPORTER_ID`
114+
- [ ] Create [repository secret](https://github.com/react18-tools/fork-me/settings/secrets/actions) for `CC_TEST_REPORTER_ID`
98115
- [ ] add `*.test.*` to ignore patterns on the website
99116
- [ ] update code climate badge
100117
- [ ] Add `NPM_AUTH_TOKEN` to repository secrets to automate publishing package
101118
- [ ] login to your [`npm` account](https://www.npmjs.com/login) and create automation token
102119
- [ ] Create a new repository secrets `NPM_AUTH_TOKEN`
103-
- [ ] Update description in `lib/@mayank1513/fork-me/package.json`
120+
- [ ] Update description in `lib/fork-me/package.json`
104121
- [ ] Update Repo Stats by visiting and setting up [repobeats](https://repobeats.axiom.co/)
105122
- [ ] Create your library and update examples
106123
- [ ] Update README
107124
- [ ] Setup GitHub pages to deploy docs
108-
- [ ] Go to [repo settings](https://github.com/react18-tools/turborepo-template/settings/pages) -> pages (On left panel); Select deploy from a branch; Then Select `main` and `/docs`
125+
- [ ] Go to [repo settings](https://github.com/react18-tools/fork-me/settings/pages) -> pages (On left panel); Select deploy from a branch; Then Select `main` and `/docs`
109126
- [ ] (Optional) Set up [Deepsource](https://app.deepsource.com/login) for static code analysis
110127
- [ ] Push your changes/Create PR and see your library being automatically tested and published
111128
- [ ] Optionally deploy your example(s) to Vercel.
112129
- [ ] Update sponsorship urls.
113-
- [ ] You are most welcome to star this template, contribute, and/or sponsor the `terbo-repo-template` project or my other open-source work
114-
- [ ] You can also fork the [`terbo-repo-template`](https://github.com/react18-tools/turbo-repo-template/fork) and add your package to `packages/shared-ui/src/examples/featured.json`
130+
- [ ] You are most welcome to star this template, contribute, and/or sponsor the `terborepo-template` project or my other open-source work
131+
- [ ] You can also fork the [`terborepo-template`](https://github.com/react18-tools/turbo-repo-template/fork) and add your package to `packages/shared-ui/src/examples/featured.json`
115132
- [ ] If approved your package will be automatically added to FEATURED.md and also published on the home page of this repo.
116133

117134
## What's inside?
@@ -143,7 +160,7 @@ Each package/example is 100% [TypeScript](https://www.typescriptlang.org/).
143160
To build all apps and packages, run the following command:
144161

145162
```
146-
cd my-turborepo
163+
cd fork-me
147164
pnpm build
148165
```
149166

@@ -152,7 +169,7 @@ pnpm build
152169
To develop all apps and packages, run the following command:
153170

154171
```
155-
cd my-turborepo
172+
cd fork-me
156173
pnpm dev
157174
```
158175

@@ -167,7 +184,7 @@ Learn more about the power of Turborepo:
167184
- [Configuration Options](https://turbo.build/repo/docs/reference/configuration)
168185
- [CLI Usage](https://turbo.build/repo/docs/reference/command-line-reference)
169186

170-
### 🤩 Don't forger to star [this repo](https://github.com/mayank1513/turborepo-template)!
187+
### 🤩 Don't forger to star [this repo](https://github.com/react18-tools/fork-me)!
171188

172189
Want hands-on course for getting 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 TypeScrypt](https://www.udemy.com/course/game-of-chess-with-nextjs-react-and-typescrypt/?referralCode=851A28F10B254A8523FE)
173190

‎contributing.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Each package/example is 100% [TypeScript](https://www.typescriptlang.org/).
3535
To build all apps and packages, run the following command:
3636

3737
```bash
38-
cd my-turborepo
38+
cd fork-me
3939
pnpm build
4040
```
4141

@@ -44,7 +44,7 @@ pnpm build
4444
To develop all apps and packages, run the following command:
4545

4646
```bash
47-
cd my-turborepo
47+
cd fork-me
4848
pnpm dev
4949
```
5050

@@ -53,7 +53,7 @@ pnpm dev
5353
To run unit tests, run the following command:
5454

5555
```bash
56-
cd my-turborepo
56+
cd fork-me
5757
pnpm test
5858
```
5959

@@ -62,7 +62,7 @@ pnpm test
6262
Before creating PR make sure lint is passing and also run formatter to properly format the code.
6363

6464
```bash
65-
cd my-turborepo
65+
cd fork-me
6666
pnpm lint
6767
```
6868

‎examples/nextjs/CHANGELOG.md‎

Lines changed: 0 additions & 47 deletions
This file was deleted.

‎examples/nextjs/package.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextjs-example",
3-
"version": "1.0.6",
3+
"version": "0.0.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
@@ -10,7 +10,8 @@
1010
"postinstall": "next telemetry disable"
1111
},
1212
"dependencies": {
13-
"@mayank1513/fork-me": "workspace:*",
13+
"@mayank1513/fork-me": "latest",
14+
"fork-me": "workspace:*",
1415
"next": "^14.1.4",
1516
"nextjs-themes": "^3.1.0",
1617
"react": "^18.2.0",

‎examples/remix/CHANGELOG.md‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎examples/remix/package.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "remix-example",
3-
"version": "0.0.1",
3+
"version": "0.0.0",
44
"private": true,
55
"sideEffects": false,
66
"type": "module",
@@ -11,7 +11,8 @@
1111
"typecheck": "tsc"
1212
},
1313
"dependencies": {
14-
"@mayank1513/fork-me": "workspace:*",
14+
"@mayank1513/fork-me": "latest",
15+
"fork-me": "workspace:*",
1516
"@remix-run/css-bundle": "^2.8.1",
1617
"@remix-run/node": "^2.8.1",
1718
"@remix-run/react": "^2.8.1",

‎examples/vite/CHANGELOG.md‎

Lines changed: 0 additions & 46 deletions
This file was deleted.

‎examples/vite/package.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vite-example",
33
"private": true,
4-
"version": "0.0.6",
4+
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite --port 3001",
@@ -10,7 +10,8 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@mayank1513/fork-me": "workspace:*",
13+
"@mayank1513/fork-me": "latest",
14+
"fork-me": "workspace:*",
1415
"nextjs-themes": "^3.1.0",
1516
"react": "^18.2.0",
1617
"react-dom": "^18.2.0",

0 commit comments

Comments
 (0)