Skip to content

devades/turbo-next-web-app

Repository files navigation

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
  • @devades/eslint-config: (turbo-config repo) ESLint configurations used throughout the monorepo
  • @devades/jest-presets: (turbo-config repo) Jest configurations
  • @devades/logger: (turbo-config repo) isomorphic logger (a small wrapper around console.log)
  • @repo/ui: a dummy React UI library (which contains <CounterButton> and <Link> components)
  • @devades/typescript-config: (turbo-config repo) 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:

Notes:

Design System @devade/design-system-ui pkg & Tailwind Safelist

Where its installed you may need to add a safelist to tailwind.config.js Because if styles are used in imported component that weren't used on the source page tailwind won't have loaded them for performance / just-in-time reasons, the safelist ensures they're available Possibly some of the styles in the safelist that are theme based need to be moved to tailwind-config pkg or a new config package in design system for theme

  safelist: [
    'bg-zinc-900',
    'border-zinc-900',
    'text-3xl',
    'lg:text-4xl',
  ],

Instructions for installing packages or releasing from command line to devades github organisation as lari-ks github user (Admin user on devades org)

github set email on repo (assuming user has multiple Github users on local machine)

git config user.email "email"

npm login for Github packages / Github npm registry

npm login --scope=@NAMESPACE --auth-type=legacy --registry=https://npm.pkg.github.com

npm login --registry=https://npm.pkg.github.com
lari-ks as username
new personal access token as password, added as secret to repo settings secrets

About

Devades Turborepo Fullstack Web Apps Monorepo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published