This is a monorepo containing the Kierunek Dzierganie platform consisting of:
kierunek-dzierganie/
├── next/ # Next.js frontend application
│ ├── src/ # Source code
│ ├── public/ # Static assets
│ └── package.json # Frontend dependencies
├── sanity/ # Sanity CMS (to be added)
└── package.json # Root package with workspaces
- Bun installed
- Node.js 18+
# Install all dependencies
bun install
# Install dependencies for specific workspace
bun install --filter next
bun install --filter sanity
# Run frontend only
bun dev
# Run Sanity CMS only (when added)
bun dev:sanity
# Run both simultaneously
bun dev:all
# Build frontend
bun build
# Build Sanity (when added)
bun build:sanity
# Build all
bun build:all
This project uses Bun workspaces to manage multiple packages:
- next/: Next.js frontend application
- sanity/: Sanity CMS project (to be added)
bun dev
- Start Next.js development serverbun dev:sanity
- Start Sanity development serverbun dev:all
- Start both development serversbun build
- Build Next.js applicationbun build:sanity
- Build Sanity projectbun build:all
- Build all projectsbun lint
- Run ESLint on Next.js projectbun template
- Generate component templates
- Work in the appropriate workspace directory
- Follow the existing code style
- Run tests before committing
- Create pull requests for review
Private project - All rights reserved.