Удалены экраны и моки старого АРМ (FileViewer, FilesList, FileUploaderModel, PDFResultViewer, mocks.ts), рендер PDF перенесён в widgets/DocumentReview/PdfPages.tsx. Подключён vitest (npm test, make test, в make check). Исправлены все ошибки tsc и biome: типизированы ответы api.get, слайсы и thunks, убраны console.log и пустые catch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EAKRDNzXtRrwmWz9z6PZu3
23 lines
316 B
Makefile
23 lines
316 B
Makefile
.PHONY: install lint typecheck test build check start
|
|
|
|
install:
|
|
npm install
|
|
|
|
lint:
|
|
npx biome check src
|
|
|
|
typecheck:
|
|
npx tsc --noEmit
|
|
|
|
test:
|
|
npm test
|
|
|
|
build:
|
|
npm run build
|
|
|
|
# Перед PR: всё вместе, вывод — в описание PR
|
|
check: install lint typecheck test build
|
|
|
|
start:
|
|
npm run start
|