Compare commits

1 Commits

Author SHA1 Message Date
a56b3d044a fix: остатки infrastructure => infra 2026-05-08 09:41:57 +03:00
3 changed files with 4 additions and 4 deletions

View File

@@ -24,12 +24,12 @@ src/
├── screens/ # Контент конкретных страниц
├── widgets/ # Составные блоки интерфейса, не привязанные к домену
├── business/ # Бизнес-домены (auth, catalog, orders)
├── infrastructure/ # Техсервисы (theme, i18n, API-адаптеры)
├── infra/ # Техсервисы (theme, i18n, API-адаптеры)
├── ui/ # UI-кит без бизнес-логики
└── shared/ # Общие ресурсы (утилиты, типы, стили, спрайты)
```
Зависимости идут строго сверху вниз: `app``[layouts | screens]``widgets``business``infrastructure``ui``shared`.
Зависимости идут строго сверху вниз: `app``[layouts | screens]``widgets``business``infra``ui``shared`.
Подробнее: [Архитектура SLM](./ai/nextjs-style-guide/basics/architecture/index.md).

View File

@@ -14,7 +14,7 @@
"!dist",
"!build",
"!.templates",
"!src/infrastructure/**/generated"
"!src/infra/**/generated"
]
},
"formatter": {

View File

@@ -9,7 +9,7 @@
"lint": "biome check",
"format": "biome format --write",
"sprite": "svg-sprites",
"codegen:pet-store-api": "npx @gromlab/api-codegen@latest -i http://localhost:8080/api/v3/openapi.json -o src/infrastructure/pet-store-api/generated -n pet-store-api.generated",
"codegen:pet-store-api": "npx @gromlab/api-codegen@latest -i http://localhost:8080/api/v3/openapi.json -o src/infra/pet-store-api/generated -n pet-store-api.generated",
"predev": "svg-sprites",
"prebuild": "svg-sprites"
},