Commit Graph

8 Commits

Author SHA1 Message Date
Sebastian Poxhofer 3ecf71589b docs(docs): remove usage of prettier-ignore in site generation (#43632) 2026-05-27 17:03:44 +00:00
Jamie Tanna 33e857e04a docs: migrate all admonitions and lists to using 2-space indents (#43607)
* docs: ensure 2 spaces used for generated admonitions

As a follow-up to 4b0146ab7b and
1844916259b6dc17f532e491eb93f6116327c324., this correctly renders
admonitions with 2 spaces (1 indent).

* fixup! docs: use 2-space indentation for Markdown (#43537)

Plus using 3-space for mixed-style `<ul>` and `<ol>`s.

* fixup! docs: use 2-space indentation for Markdown (#43537)

As otherwise it breaks the rendering of the table.
2026-05-26 20:03:23 +00:00
Jamie Tanna 638c884bfc docs(manager/mise): note when short tool name is no longer supported (#43421)
At some point in the past, mise's support for the short name `kafka` was
removed.

We can warn our users that this is no longer supported, but keep our
custom logic for it, in case it returns in the future.
2026-05-19 07:52:03 +00:00
Jamie Tanna f9486a0a69 docs: add the mise version into docs (#43420)
As a way of indicating how fresh our list of supported tools in the
registry is, we can make sure we populate the version into a note above
the table.

We can extract a type to make it easier to reference the parsed JSON
file.

This requires a small tweak to handle `content`'s table insertion.
2026-05-18 15:31:49 +00:00
Jamie Tanna 2bd478fff4 feat(mise): automagically support all tools through Mise Registry (#42783)
* feat(mise): automagically support all tools through Mise Registry

As noted in #42250, we should try and auto-support tools from Mise where
possible.

Similar to other areas of the codebase, we should use the "static data"
pattern, and periodically sync the `mise registry --json` output with
`lib/data/mise-registry.json`, and then auto-detect the tools that we
support through the known backends the tools support.

This takes lower precedence than existing in-code tool definitions, so
we can still provide an "override" if we can support lookups or version
extraction more appropriately.

Because we now have many more tools we (mostly) support out-of-the-box,
we need to provide an improved documentation page, and:

- only link to tools we have an explicit tools URL for
- note where a backend may not be supported

To automate the updating of this data, we:

- make sure we have `mise` in GitHub Actions, before we run
- don't pin the `mise` version to make sure that we're always seeing the
  latest supported tools
- make sure the commits generated are now `feat(...)`, as they introduce
  functionality changes (in the case new tool(s) are supported)

This improves support from ~170 tool short names to just over 1000.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* refactor: use Typescript

As we can now, we should.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* refactor(tools/static-data): use Zod schemas for parsing

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* refactor(mise): use Zod for types

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* chore(mise): prefer the GitHub backend over other sources

As we generally prefer it as a project, we should automagically use that
when looking at a mise registry entry.

With help from GPT-4.1 to write the `sortBackend` function.

Co-authored-by: gpt-4.1 <jamie.tanna+github-copilot@mend.io>

* test: ignore else coverage

* docs(mise): preference of `github` backend

* docs(mise): auto-link autogenerated tools

* perf(mise): sort registry only once

* refactor(mise): transform when parsing

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>

* refactor: use `execa`

* perf(mise): read the Mise registry once

* perf(mise): pre-transform

---------

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
Co-authored-by: gpt-4.1 <jamie.tanna+github-copilot@mend.io>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2026-04-28 08:56:09 +00:00
Jamie Tanna 5a1f58766a docs(mise): render sorted table of short-names for tools (#42789)
* docs(mise): render sorted table of short-names for tools

As a way to improve the rendering of the large list of tools that we
support for mise-en-place, we can render them as a table.

This allows us to sort them by tool name, as well as make it clearer
which source the tool is from.

As part of future changes, we'll introduce more information and sources
of the table, so rendering them as a table will be more readable.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* docs(mise): wrap tool names in code tags

As they're generally a command.

---------

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-04-21 12:46:07 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
James Brookes 4a304b8e6d feat(manager): add mise package manager (#29950) 2024-07-08 14:27:31 +00:00