mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-01 21:24:01 -04:00
1.4 KiB
1.4 KiB
Apps and Packages
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 bothwebanddocsapplicationspackages/eslint-config:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)packages/typescript-config:tsconfig.jsons used throughout the monorepo
Development Guide:
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.