This is an official starter Turborepo.
Run the following command:
npx create-turbo@latest
This Turborepo includes the following packages/apps:
docs
: a Next.js appweb
: another Next.js appui
: a stub React component library shared by bothweb
anddocs
applicationseslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
To build all apps and packages, run the following command:
cd my-turborepo
pnpm build
To develop all apps and packages, run the following command:
cd my-turborepo
pnpm dev
Turborepo can use a technique known as Remote Caching to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.
By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can create one, then enter the following commands:
cd my-turborepo
npx turbo login
This will authenticate the Turborepo CLI with your Vercel account.
Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your Turborepo:
npx turbo link
Learn more about the power of Turborepo:
Turbo is a next-generation toolchain for frontend development, written in Rust. It consists of 3 major parts:
- Turbopack: an incremental bundler (the successor to Webpack)
- Turborepo: an incremental build system
- The Turbo engine: a low-level incremental computation and memoization engine
Visit https://turbo.build to get started with Turbopack and Turborepo.
See CONTRIBUTING.md for more information.
The Turbo community can be found on GitHub Discussions, where you can ask questions, voice ideas, and share your projects.
To chat with other community members, you can join the Turbo Discord.
Our Code of Conduct applies to all Turbo community channels.
Turbo is used by the world's leading companies. Check out the Turbo Showcase to learn more.
Follow @turborepo on Twitter and for project updates.
Turborepo
- Jared Palmer (@jaredpalmer)
Turbopack and the Turbo engine
If you believe you have found a security vulnerability in Turbo, we encourage you to responsibly disclose this and not open a public issue. We will investigate all legitimate reports. Email security@vercel.com
to disclose any security vulnerabilities.
https://vercel.com/security...... #1 deploy-hoteldb-2/2/24 #2 deploy-hoteldb-2/2/24 #3 deploy-hoteldb-2/2/24 #4 deploy-hoteldb-2/2/24 #5 deploy-hoteldb-2/2/24 #1 deploy-hoteldb-3/2/24 #1 deploy-hoteldb-3/2/24 #2 deploy-hoteldb-3/2/24