From 8aa2c9461a11828ee7a01b5e85fa222634450b57 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Wed, 13 May 2026 19:19:46 -0300 Subject: [PATCH] chore(scripts): encadear check:doc-links em check:docs-all Expose `npm run check:doc-links` and add it to the end of `check:docs-all` so the new internal-link gate runs alongside the other documentation sync checks. Pre-existing broken links (272) will be tracked and fixed under FASE 9; the CI strict gate added in this phase makes the debt visible without blocking pre-commit (which still runs only check:docs-sync). Co-Authored-By: Claude Opus 4.7 (1M context) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6dbc2bb21e..d639f8853e 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,8 @@ "check:env-doc-sync": "node scripts/check/check-env-doc-sync.mjs", "check:docs-counts": "node scripts/check/check-docs-counts-sync.mjs", "check:deprecated-versions": "node scripts/check/check-deprecated-versions.mjs", - "check:docs-all": "npm run check:docs-sync && npm run check:docs-counts && npm run check:env-doc-sync && npm run check:deprecated-versions", + "check:doc-links": "node scripts/check/check-doc-links.mjs", + "check:docs-all": "npm run check:docs-sync && npm run check:docs-counts && npm run check:env-doc-sync && npm run check:deprecated-versions && npm run check:doc-links", "docs:render-diagrams": "node scripts/docs/render-diagrams.mjs", "i18n:run": "node scripts/i18n/run-translation.mjs", "i18n:run:dry": "node scripts/i18n/run-translation.mjs --dry-run",