Przejdź do głównej zawartości

Monorepo Workspace Guide

Navigate and work within the Gauzy NX monorepo.

Workspace Layout

ever-gauzy/
├── apps/
│ ├── gauzy/ ← Angular web app
│ ├── api/ ← NestJS API server
│ ├── desktop/ ← Electron desktop app
│ ├── desktop-timer/ ← Desktop timer variant
│ └── server/ ← Electron server
├── packages/
│ ├── core/ ← Core API library
│ ├── auth/ ← Authentication
│ ├── common/ ← Shared types & utils
│ ├── config/ ← Configuration
│ ├── contracts/ ← TypeScript interfaces
│ └── plugins/ ← Plugin packages
│ ├── integration-ai/
│ ├── integration-github/
│ └── ...
├── libs/
│ ├── ui-core/ ← Angular shared UI
│ └── desktop-libs/ ← Desktop shared libs
├── nx.json
├── workspace.json
└── package.json

Key Commands

CommandDescription
yarn start:apiStart API (dev)
yarn startStart web app (dev)
yarn build:apiBuild API
yarn buildBuild web app
yarn testRun all tests
yarn lintLint all packages

NX Commands

# Run specific project target
npx nx run api:build

# Affected builds (only changed)
npx nx affected:build

# Dependency graph
npx nx graph

# List all projects
npx nx show projects

Package Dependencies