See the migration guide for 0.1.0 for the full
steps and behaviour changes. In short, a repository that already carries a
vendored generator, a phrase-check script and test, and a Makefile block naming
a Typos version and a builder commit can replace all of it with the gate
command:
- Delete the vendored generator script, the vendored phrase-check script, and their tests.
- Drop the
TYPOS_VERSION,PATHSPEC_VERSION, and builder-commit Makefile variables, and any helper targets that existed only to invoke them (for example aspelling-helper-testtarget). - Replace the spelling Makefile target with a single call to
gate, pinned tov0.1.0:
uvx --from "git+https://github.com/leynos/[email protected]" \
typos-config-builder gate
- Add the two
.gitignorelines for the untracked cache, if they are not already present. - Regenerate
typos.tomlonce by running the command above, and review the diff. - Remove any local overlay entries added only to protect the Azure or
GitHub-flavoured Markdown (GFM) style-guide product names once the shared
dictionary carries them; check the regenerated
typos.tomlfor the corresponding entries before deleting the overlay lines.