cc6e1cba72
Закрытие аудита 2026-05-09 (b6ae8dd):
- P0-03: format:sql:check заменён /tmp/ на db/.schema-formatted.tmp.sql (Windows-совместимо).
+ .gitignore: добавлен db/.schema-formatted.tmp.sql.
+ дополнительно: web/**/*.html убран из npm run links — статические концепты
web/v8/*.html используют root-relative ссылки на будущие маршруты Vue, lychee
не резолвит их без --root-dir; они уже в exclude_path. Lychee с 20 → 1 error
(оставшийся 1 — pre-existing битая ссылка в docs/superpowers/specs/, вне scope).
- P1-02: .lychee.toml exclude root-relative для web/v8/*.html — добавлен regex
паттерн для будущих маршрутов (login/register/legal/dashboard/deals/admin/...).
- P1-12: pa11y.config.json пути обновлены на liderra_v8_handoff/concepts/v8_*.html
(login/dashboard/deals).
- P1-07: composer audit-offline скрипт (composer audit --locked) для офлайн-режима.
- O-refactor-05: ESLint no-restricted-imports запрещает явный import из 'vuetify/components'.
- O-stack-08: .github/workflows/dependency-check.yml — еженедельный (Mon 09:00 UTC) npm outdated с авто-issue.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
35 lines
1.6 KiB
JSON
35 lines
1.6 KiB
JSON
{
|
|
"name": "liderra",
|
|
"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\"",
|
|
"lint:css": "stylelint \"web/**/*.html\"",
|
|
"lint:sql": "bin\\squawk.exe db/schema.sql",
|
|
"format:sql:check": "perl -I bin/pgFormatter/lib bin/pgFormatter/pg_format db/schema.sql > db/.schema-formatted.tmp.sql && diff -q db/schema.sql db/.schema-formatted.tmp.sql || echo \"pgFormatter would reformat — run npm run format:sql to apply\"",
|
|
"format:sql": "perl -I bin/pgFormatter/lib bin/pgFormatter/pg_format -o db/schema.sql.formatted db/schema.sql && echo \"Wrote db/schema.sql.formatted — review diff before replacing source\"",
|
|
"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"
|
|
}
|
|
}
|