Skip to content

ericclemmons/devbox-kitchen-sink

Repository files navigation

Devbox + Turborepo Kitchen-Sink Starter

Built with Devbox

This is a port of vercel/turborepo/examples/kitchen-sink to Devbox.

Why?

See Why Use Devbox?

  • 1 command to run the project
    • devbox run all
  • 1 command to access the env
    • devbox shell
  • Import .env into the environment
  • TUI for service management & visibility, powered by process-compose
  • Shared, project-specific shell for all contributors
    • 🙅‍♂️ No more fighting $PATH
  • Isolate project dependencies from other projects
    • ❌ Replaces n, nvm, conflicting package managers, etc.
  • 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 lint works locally, it works in CI 💪

Turborepo kitchen sink starter

This Turborepo starter is maintained by the Turborepo core team.

This example also shows how to use Workspace Configurations.

Using this example

Run the following command:

npx create-turbo@latest -e kitchen-sink

What's inside?

This Turborepo includes the following packages and apps:

Apps and Packages

  • api: an Express server
  • storefront: a Next.js app
  • admin: a Vite single page app
  • blog: 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.

Utilities

This Turborepo has some additional tools already setup for you:

Releases

No releases published

Packages

 
 
 

Contributors