inat/openspec/changes/ina-2-business-card-site/tasks.md
2026-11-21 14:02:32 +00:00

21 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 1. Каркас проекта и проверки
- [x] 1.1 `package.json` (pnpm), TypeScript, Biome, `tsconfig.json`/`tsconfig.build.json`, `.gitignore`
- [x] 1.2 `.peppa/project.json` → `checks` (install, lint, typecheck, test, build) и `deploy`
## 2. Переводы и страница
- [x] 2.1 `locales/ru.json`, `kk.json`, `en.json` с заглушками и одинаковыми ключами; загрузка и проверка ключей
- [x] 2.2 Рендер HTML главной: три блока, title, description, адаптивный CSS, экранирование
- [x] 2.3 HTTP-сервер: `/`, `/healthz`, 404, 405, порт из `$PORT`
## 3. Деплой и документация
- [x] 3.1 `Dockerfile`; docker в среде агента нет — раскладка образа (dist + locales) проверена запуском `node dist/index.js` и `curl /healthz`
- [x] 3.2 `docs/glossary.md` — понятия сайта; README — как запустить
## 4. Тесты и проверка
- [x] 4.1 Тесты по сценариям спеки (страница, заглушки, переводы, healthz, 404/405, вёрстка)
- [x] 4.2 Все проверки `bash .gitea/peppa-check.sh <check>` зелёные, `openspec validate ina-2-business-card-site`