chore(ci): sincroniza templates e declara divergências deliberadas - #32
Merged
Conversation
rlueder
force-pushed
the
chore/sync-templates
branch
from
August 3, 2026 22:17
5f15ef2 to
d6357ee
Compare
Converge com os templates canônicos do @precisa-saude/cli 1.13.0. O precisa doctor deste repo passa a sair 0. ignoreTemplates: .commitlintrc.cjs, .github/workflows/_checks.yml, .github/workflows/ci.yml Os workflows entram na lista porque a estrutura deste repo não bate com a do template — sincronizá-los quebrou o CI. Ver Precisa-Saude/tooling#44.
rlueder
force-pushed
the
chore/sync-templates
branch
from
August 3, 2026 22:20
d6357ee to
29ac3f6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Converge este repo com os templates canônicos do
@precisa-saude/cli1.13.0.Contexto
As issues mensais de "template drift" eram falso-positivo: o CLI não era devDependency de repo nenhum, então
pnpm exec precisa doctorsaía não-zero por command not found — indistinguível de drift. E mesmo instalado, odoctorsó falhava em arquivo ausente; drift de conteúdo saía 0. Corrigido em Precisa-Saude/tooling#42, #43 e #44.Resultado
precisa doctoragora sai 0 aqui. A auditoria mensal só volta a abrir issue se algo divergir sem querer.O que este repo mantém divergente de propósito está declarado em
ignoreTemplatesno.precisa.json— campo novo (tooling#44) que faz osyncnão sobrescrever e odoctornão acusar. Antes, customização deliberada virava drift permanente e umsynca descartava sem backup.Verificação
pnpm turbo run build typecheck lint testeprettier --checkpassam, eprecisa doctorsai 0 — rodados antes de commitar.