Once you have cloned the repo. cd
to the repo directory and use following commands.
To build all apps and packages, run the following command:
pnpm build
To develop all apps and packages, run the following command:
pnpm dev
To run unit tests, run the following command:
pnpm test
Before creating PR make sure lint is passing and also run formatter to properly format the code.
pnpm lint
and
pnpm format
You can also contribute by
- Sponsoring
- Check out discussion for providing any feedback or sugestions.
- Report any issues or feature requests in issues tab
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
This Turborepo includes the following packages/examples:
You will find the core library code inside lib/r18gs
eslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monoreposhared-ui
: An internal UI package for shared UI code
Each package/example is 100% TypeScript.
- just run
yarn turbo gen
and follow the propts to auto generate your new component with test file and dependency linking - follow best practices automatically
Learn more about Turborepo and Next.js:
- React and Next.js with TypeScript - an interactive Next.js course.
- The Game of Chess with Next.js, React and TypeScrypt
- Tasks
- Caching
- Remote Caching
- Filtering
- Configuration Options
- CLI Usage
A quick tip: Delete all stale branches
git branch --merged main | grep -v '^[ *]*main$' | xargs git branch -d
🤩 Don't forger to star this repo!
with 💖 by Mayank Kumar Chaudhari