<!-- entire-trail-link-start -->
https://entire.io/gh/jdx/mise/trails/266
<!-- entire-trail-link-end -->
mise's own repository tooling now uses aube and Node instead of Bun.
Contributors no longer need Bun to build the docs or run `mise run
render`. Nothing changes for mise users: the `bun` core plugin and
`npm.package_manager = "bun"` are unaffected.
- **Docs dependencies:** `mise run docs:setup` and CI run `aube install`
in place of `bun i`. `aube-lock.yaml` replaces `bun.lock`, and `bun` is
removed from `mise.toml`.
- **TypeScript scripts:** `docs/.vitepress/llms.ts`,
`docs/.vitepress/cli-reference.ts`, and `xtasks/render/schema.ts` now
run on Node 24, which strips types natively. The CLI reference test runs
with `node --test`. Node requires explicit `.ts` extensions and `import
type` for type-only imports, so three imports changed to match.
- **Renovate:** added the shared `aube-lock` workflow (the same one hk
and usage use). Renovate's npm manager doesn't update `aube-lock.yaml`,
so this workflow regenerates it on Renovate branches.
- **mr-boxington:** bumped to 1.19.0 in `mise.lock`.
## Lockfile migration
`aube import` can't read `bun.lock` (it rejects lockfile version 2,
which Bun 1.4 writes). Setting the version to 1 lets the import finish,
and it pins the same 331 package versions, but the result can't satisfy
peer dependencies: `bun.lock` doesn't record which copy fills each peer,
so `vitepress-plugin-mermaid` never gets its `mermaid` peer and
`vitepress build` fails. This lockfile is a fresh `aube install` resolve
instead. It stays within the existing `package.json` ranges, but about
70 packages move by a patch or minor version (for example vue 3.5.42 →
3.5.43, rollup 4.63.1 → 4.63.5). `aube-workspace.yaml` marks
`core-js-pure`'s build script as not allowed. That script only prints a
funding banner, and Bun didn't run it either.
## Validation
- `mise run docs:build` passes: 414 pages, social image checks included.
- `node docs/.vitepress/llms.ts` writes a `docs/public/llms.txt`
identical to the one Bun wrote.
- `node docs/.vitepress/cli-reference.ts` gives the same output as `bun`
on the same input.
- `node xtasks/render/schema.ts` leaves `schema/` unchanged.
- The CLI reference tests pass (3 of 3) under `node --test`.
- `mise run lint` passes, including `cargo check` with mbx 1.19.0.
The `aube-lock` workflow depends on the `AUBE_LOCK_APP_ID` and
`AUBE_LOCK_APP_PRIVATE_KEY` secrets being available to this repo.
Without them it falls back to `GITHUB_TOKEN`: that still fixes the
lockfile, but the fix-up commit won't re-trigger CI.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
*AI-assisted — Tool: Claude Code; model: anthropic/claude-opus-5-5;
version: 2.1.281.*
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Wide CI and lockfile churn (~70 patch/minor package moves) could break
docs builds or Renovate flows if `AUBE_LOCK_*` secrets are missing;
scope is repo tooling only, not mise runtime behavior.
>
> **Overview**
> **Replaces Bun with aube and Node 24** for this repository’s docs
site, render scripts, and contributor workflows. `bun.lock` is removed
in favor of `aube-lock.yaml` and a small `aube-workspace.yaml`
(disabling `core-js-pure` postinstall). `bun` is dropped from
`mise.toml` / `mise.lock`; end-user `bun` support in mise is unchanged.
>
> **CI and automation:** docs, release-plz, test-impl, and coverage jobs
install deps with `aube install` and mise installs `aube` + `node`
instead of `bun`. The docs workflow watches `aube-lock.yaml` /
`aube-workspace.yaml`. A new **`aube-lock`** workflow on `renovate/**`
branches regenerates the lockfile when Renovate updates `package.json`.
>
> **Scripts and tasks:** `mise run docs:*` and `docs/.mise.toml` use
`aube run` / `aube install`. Render and llms tasks run TypeScript via
**Node** (`node --test` for CLI reference tests). Imports gain explicit
`.ts` extensions and `import type` where needed; `tsconfig` uses Node
types instead of Bun.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
b0b365a078. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Switched documentation, build, and test workflows to use Aube for
dependency installation and package tasks.
* Updated supporting scripts and tooling to use Node.js where
applicable.
* Added an automated lockfile update workflow and updated lockfile
tracking.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
179 B
JSON
10 lines
179 B
JSON
{
|
|
"extends": "@tsconfig/node24/tsconfig.json",
|
|
"include": ["**/*"],
|
|
"exclude": ["node_modules"],
|
|
"compilerOptions": {
|
|
"outDir": "./build",
|
|
"types": ["node"]
|
|
}
|
|
}
|