Files
EvoBGP/apps/web
Denozordec a37c931ee7
CI / changes (push) Successful in 10s
CI / commitlint (push) Has been skipped
CI / openapi (push) Successful in 27s
CI / web (push) Successful in 38s
CI / go (push) Successful in 2m36s
CI / bird2 (push) Successful in 15s
CI / release (push) Failing after 3m7s
feat(monorepo): restructure web components and update configurations
Refactored the project structure to support a monorepo setup, moving the web application to `apps/web/` and updating related configurations. Adjusted pre-commit hooks to use `pnpm` for linting and formatting. Updated CI workflows to reflect the new directory structure and dependencies. Removed legacy files and configurations from the previous `web/` directory, streamlining the project for better maintainability and clarity.
2026-06-30 23:54:28 +07:00
..

EvoBGP WebUI (@evobgp/web)

SvelteKit-панель управления EvoBGP. Monorepo: apps/web + packages/ui + packages/shared.

Правила: .cursor/rules/web-shadcn.mdc, frontend-monorepo.mdc.

Структура

Путь Назначение
packages/ui/src/components/ shadcn-svelte примитивы (@evobgp/ui)
src/lib/components/ PageShell, QueryState, SectionCards, domain
src/lib/components/patterns/ AppDataTable, FormField, ConfirmDialog
src/lib/ui/app/ PageHeader, nav, toast
src/lib/queries/ TanStack Query factories
packages/shared/ API types + Zod contracts

Разработка

Из корня репозитория:

pnpm install
pnpm --filter @evobgp/web dev
pnpm --filter @evobgp/web check
pnpm --filter @evobgp/web lint
pnpm --filter @evobgp/web build

Добавление shadcn-svelte (из apps/web/):

pnpm dlx shadcn-svelte@latest add <component> -y -o

Тема: packages/ui/src/styles/globals.css → импорт в src/routes/layout.css.

Проверка перед PR

pnpm --filter @evobgp/web check и lint — exit 0 (WEB-19).