https://github.com/exodes/turbo-generator
Next.js 13 generator for Turborepo
https://github.com/exodes/turbo-generator
generator nextjs13 plop-generators reactjs turborepo
Last synced: 14 days ago
JSON representation
Next.js 13 generator for Turborepo
- Host: GitHub
- URL: https://github.com/exodes/turbo-generator
- Owner: eXodes
- Created: 2024-01-13T07:29:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-13T17:53:33.000Z (over 2 years ago)
- Last Synced: 2025-10-24T12:44:07.806Z (7 months ago)
- Topics: generator, nextjs13, plop-generators, reactjs, turborepo
- Language: TypeScript
- Homepage:
- Size: 566 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Turborepo Generator
## What's inside?
This is a template repository for Turborepo. It contains a generator script that will create NextJS 13 boilerplate files for you to get started with Turborepo.
## Getting Started
1. Use the following command to download the generator script:
```bash
npx degit eXodes/turbo-generator/turbo ./turbo --force
```
2. Update `./turbo/generators/_utils/_prompts` according to your project needs.
### Supported Commands
`turbo gen api ` - Generates a new API route
`turbo gen page ` - Generates a new Next page component
`turbo gen layout ` - Generates a new Next layout component
`turbo gen component ` - Generates a new React component
`turbo gen hook ` - Generates a new React hook
`turbo gen context ` - Generates a new React context
`turbo gen function ` - Generates a new utility function
## Useful Links
Learn more about the power of Turborepo:
- [Tasks](https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks)
- [Caching](https://turbo.build/repo/docs/core-concepts/caching)
- [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching)
- [Filtering](https://turbo.build/repo/docs/core-concepts/monorepos/filtering)
- [Configuration Options](https://turbo.build/repo/docs/reference/configuration)
- [CLI Usage](https://turbo.build/repo/docs/reference/command-line-reference)