Files
portal/package.json
T
Дмитрий 7619ac0345 fix(schema+package): D-блок P0 — forward FK + битые partial-индексы + npm links
- schema.sql: forward FK saas_admin_sessions.impersonating_tenant_id и
  impersonation_tokens.tenant_id → tenants(id) вынесены в ALTER TABLE
  после CREATE TABLE tenants (миграция с нуля больше не падает на
  forward-reference).
- schema.sql: partial-индексы idx_saas_admin_sessions_expires и
  idx_sessions_expires переведены на полное поле expires_at — PostgreSQL
  не разрешает NOW() в предикате частичного индекса (STABLE, не IMMUTABLE).
- package.json:10 (links): lychee → bin\lychee.exe — Windows-cmd корректно
  резолвит относительный путь только через backslash.
- CHANGELOG_schema.md: запись Z.5 (hotfix v8.4) с метриками 53/86/33/34.

Метрики schema.sql v8.4 не меняются. Self-review §8 CLAUDE.md пройден.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 23:15:45 +07:00

32 lines
1.1 KiB
JSON

{
"name": "lidpotok",
"version": "0.1.0",
"private": true,
"description": "Лидпоток — SaaS CRM (фаза 0: документация и HTML-прототипы)",
"scripts": {
"lint:md": "markdownlint-cli2 \"docs/**/*.md\" \"db/**/*.md\" \"*.md\"",
"lint:md:fix": "markdownlint-cli2 --fix \"docs/**/*.md\" \"db/**/*.md\" \"*.md\"",
"spell": "cspell --no-progress --show-suggestions \"docs/**/*.md\" \"db/**/*.md\" \"*.md\" \"web/**/*.html\"",
"links": "bin\\lychee.exe --config .lychee.toml \"docs/**/*.md\" \"db/**/*.md\" \"*.md\" \"web/**/*.html\"",
"lint:css": "stylelint \"web/**/*.html\"",
"a11y": "pa11y-ci --config pa11y.config.json",
"check:docs": "run-p lint:md spell links a11y"
},
"devDependencies": {
"@cspell/dict-en_us": "^4.4.33",
"@cspell/dict-ru_ru": "^2.3.2",
"cspell": "^10.0.0",
"lefthook": "^2.1.6",
"markdownlint-cli2": "^0.22.1",
"npm-run-all2": "^8.0.4",
"pa11y": "^9.1.1",
"pa11y-ci": "^4.1.0",
"postcss-html": "^1.8.1",
"stylelint": "^17.11.0",
"stylelint-config-standard": "^40.0.0"
},
"engines": {
"node": ">=20.0.0"
}
}