- pre-deploy suite now runs tsc --noEmit and eslint; any failure aborts
the release
- fix all TypeScript errors (FooterConfig.copyright removed after the CMS
move; test guards/casts)
- fix all ESLint errors: <a>→<Link> and <img>→<Image> in Header/Footer,
remove unused imports and explicit any in src
- eslint config relaxes no-explicit-any/no-require-imports/no-unused-vars
for test and CommonJS config files (legitimate usage)
Closes MITHOME-81
scripts/pre-deploy-tests.sh runs every local test group before a deploy:
proto unit (jest), content schema validation, all CMS integration suites
(security, serializer, save, optimistic lock, versions, logo, login, logout,
guide, bottom bar), publish command/integration and plane sync unit tests.
Per-group PASS/FAIL summary; non-zero exit on any failure.
deploy_to_stage_on_local.sh now runs the full suite as step 1 — a failing
group aborts the release before push. Deploy workflow docs updated.
Closes MITHOME-70