Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .miserc.toml

This file was deleted.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ needs a version, which would override `rust-toolchain.toml` (the sole owner of t
So plain `cargo` is not routed through `mbx`; call `mbx` explicitly. Set
`CARGO_INCREMENTAL=0` for the best hit rate.

There is no prebuilt `mbx` for Intel macOS, so `mise.macos-x64.toml` (loaded through `auto_env` in
`.miserc.toml`) builds it from crates.io via the `cargo:mbx` backend (Rust 1.91 or newer). Without
There is no prebuilt `mbx` for Intel macOS, so `mise.toml` limits `mr-boxington` to the other
platforms and builds `mbx` there from crates.io via the `cargo:mbx` backend (Rust 1.91 or newer). Without
mise, run `cargo install mbx --version 1.29.2 --locked`.

`mbx` wraps `rustc` itself, so it **defers to any `RUSTC_WRAPPER` already set** (for example
Expand Down
23 changes: 23 additions & 0 deletions mise.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions mise.macos-x64.lock

This file was deleted.

6 changes: 0 additions & 6 deletions mise.macos-x64.toml

This file was deleted.

24 changes: 15 additions & 9 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
# mise.lock is lockfile_version 4, which mise 2026.11.1+ writes and reads.
min_version = "2026.11.1"

[vars]
mbx = "1.29.2"

[tools]
node = "24"
bun = "1.3.14" # matches package.json packageManager
Expand All @@ -20,7 +23,18 @@ bun = "1.3.14" # matches package.json packageManager
# Pinned to match the v1.48.0 hk.pkl amends — keep the two in sync on upgrades.
# Details: dev-tooling → references/git-hooks.md
"cargo:hk" = "1.48.0"
mr-boxington = "1.29.2"

# mr-boxington ships no darwin/x86_64 release archive, so Intel macOS builds the same mbx
# from crates.io.
mr-boxington.version = "{{vars.mbx}}"
mr-boxington.os = [
"linux",
"macos/arm64",
"windows",
]

"cargo:mbx".version = "{{vars.mbx}}"
"cargo:mbx".os = [ "macos/x64" ]

[env]
# Wrap hooks in `mise x` so the mise-managed node/bun are on PATH
Expand All @@ -34,14 +48,6 @@ HK_MISE = "1"
# to avoid a noisy "hk: not found" postinstall warning where git hooks aren't wanted.
postinstall = "command -v hk >/dev/null 2>&1 && hk install --mise || true"

[tasks.lock]
description = "Refresh mise.lock checksums without the macos-x64 cargo:mbx alias"
env = { MISE_AUTO_ENV = "false" }
run = [
"mise lock node bun cargo:hk",
"mise lock mr-boxington --platform linux-x64,linux-arm64,linux-x64-musl,linux-arm64-musl,macos-arm64,windows-x64"
]

[tasks.lint]
description = "Lint JS/TS (eslint)"
run = "bun run lint"
Expand Down
Loading