This is the entry point for AI-assisted development. Read this first and follow links for details.
- Monorepo:
frontend/(React + TypeScript, yarn workspaces),pkg/- Go backend code,cmd/- Go CLI commands - Static plugins: dependencies listed in
frontend/packages/console-app/package.json - Key Packages:
@console/dynamic-plugin-sdk(public API),@console/shared(utils),@console/internal(core UI/k8s)
cd frontend && yarn install # Install frontend dependencies
cd frontend && yarn lint # ESLint / prettier linting (can specify file path)
cd frontend && yarn test # Run frontend tests (can specify test path)
cd frontend && yarn build # Production build
cd frontend && yarn dev-once # Development build (no watch mode)
cd frontend && yarn i18n # Update i18n keys
go mod vendor && go mod tidy # Update Go dependencies
./build-frontend.sh # Production build of frontend
./build-backend.sh # Build backend Go code
./test-backend.sh # Run backend tests
./build.sh # Full build (frontend + backend)- Backend dependency updates: Separate vendor folder changes into their own commit to isolate core logic changes
- Frontend i18n updates: Run
yarn i18nand commit updated keys alongside any code changes that affect i18n
- Feature work:
CONSOLE-####(Jira story number) - Bug fixes:
OCPBUGS-####(Jira bug number) - Base branch:
main
REQUIRED FOR ALL CODING AGENTS: Before generating or modifying code, always consult the relevant file(s) to ensure full compliance. These files are the single source of truth for architecture, coding standards, and testing.
- frontend/packages/console-dynamic-plugin-sdk/README.md - Comprehensive dynamic plugin SDK documentation