apps/docs
: a Next.js documentation site with Tailwind CSSapps/web
: a Next.js create-llama demo with Tailwind CSSpackages/chat-ui
: a stub React component library with Tailwind CSS shared by bothweb
anddocs
applicationspackages/eslint-config
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)packages/typescript-config
:tsconfig.json
s used throughout the monorepo
This project uses pnpm as the package manager and Turbo for managing the monorepo. Make sure you have Node.js version 18 or higher installed.
-
Setup:
- Install dependencies:
pnpm install
- Install dependencies:
-
Development:
- Start the development server:
pnpm dev
- This will run the dev script for all packages in the monorepo
- Start the development server:
-
Building:
- Build all packages:
pnpm build
- Build all packages:
-
Linting:
- Run linter on all packages:
pnpm lint
- Run linter on all packages:
-
Type Checking:
- Run type checks on all packages:
pnpm type-check
- Run type checks on all packages:
-
Cleaning:
- Clean build artifacts:
pnpm clean
- Clean build artifacts:
-
Formatting:
- Format all TypeScript, TSX, and Markdown files:
pnpm format
- Format all TypeScript, TSX, and Markdown files:
Remember to run these commands from the root of the monorepo. Turbo will handle running the commands across all relevant packages.