This is a port of vercel/turborepo/examples/kitchen-sink to Devbox.
See Why Use Devbox?
- 1 command to run the project
devbox run all
- 1 command to access the env
devbox shell
- Import
.envinto the environment- ❌ Replaces dotenv
- TUI for service management & visibility, powered by process-compose
- ❌ Replaces concurrently & turborepo's TUI
- Shared, project-specific shell for all contributors
- 🙅♂️ No more fighting
$PATH
- 🙅♂️ No more fighting
- Isolate project dependencies from other projects
- Unlike Docker, no slowness from virtualization
⚠️ So you still need to use different ports for apps (e.g.:3000,:3001)
- Re-use of the same environment in CI
- If
devbox run lintworks locally, it works in CI 💪
- If
This Turborepo starter is maintained by the Turborepo core team.
This example also shows how to use Workspace Configurations.
Run the following command:
npx create-turbo@latest -e kitchen-sinkThis Turborepo includes the following packages and apps:
api: an Express serverstorefront: a Next.js appadmin: a Vite single page appblog: a Remix blog@repo/eslint-config: ESLint configurations used throughout the monorepo@repo/jest-presets: Jest configurations@repo/logger: isomorphic logger (a small wrapper around console.log)@repo/ui: a dummy React UI library (which contains<CounterButton>and<Link>components)@repo/typescript-config: tsconfig.json's used throughout the monorepo
Each package and app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Jest test runner for all things JavaScript
- Prettier for code formatting