Skip to content

Manage the dev environment with mise - #74

Merged
j1philli merged 1 commit into
mainfrom
t3/mise-dev-env
Oct 26, 2026
Merged

j1philli merged 1 commit into
mainfrom
t3/mise-dev-env

Conversation

@j1philli

Copy link
Copy Markdown
Owner

Replaces just, direnv, the Brewfile and .nvmrc with mise, so a new contributor goes from clone to running app with:

curl https://mise.run | sh
git clone https://github.com/j1philli/shilling.git && cd shilling
mise trust && mise install
mise run desktop

What changed

  • Tools: mise.toml pins Node 22.23.4, Temurin 25.0.5, Rust 1.99.1 and tauri-cli 2.12.4. mise.lock records checksums for macOS and Linux (x64/arm64).
  • npm deps: [deps.npm] (experimental in mise) runs npm ci before tasks whenever package-lock.json changes.
  • Tasks: every just recipe is now a mise task, inline in mise.toml or as a script in mise-tasks/. Tools that only one task needs (Python, Caddy, mkcert, ImageMagick) are fetched when that task runs.
  • mise run sync-proxy (new): serves the signaling server over HTTPS on :8443 with a mkcert certificate. The certificate is trusted on the Mac and in a booted iOS Simulator. homelab starts it too.
  • mise doctor project: checks for Xcode, an iOS Simulator runtime and the Android SDK 37 platform. Android tasks now respect ANDROID_HOME.
  • CI: agents need neither mise nor just. TeamCity calls scripts/ensure-plugin.sh and scripts/ci/test-glib-security.sh directly, and the Linux agent setup no longer installs just.
  • Docs: README, CLAUDE.md, CONTRIBUTING and the living docs now use mise run …. Dated reports in docs/ and plans/ are left as historical records.

Verification

I ran these from a fresh clone with empty mise, rustup and cargo homes, and with Homebrew's Node 26 still on PATH:

  • mise install
  • mise run build-web, test, test-glib-security, check-version and generate-icons
  • set-version with and without --android
  • the Tauri cargo build, plus a mise run desktop launch
  • the server, iOS Simulator and Android builds, plus a mise run ios launch
  • mise doctor project, both passing and failing

sync-proxy returned 200 over trusted TLS on localhost and on the LAN address against a stand-in upstream.

Not covered: Linux, cold Kotlin Toolchain caches, and the TeamCity changes, which this PR's checks will exercise.

Known limitations

  • generate-icons gets ImageMagick through mise exec rather than the lockfile, because mise 2026.10 fails to install locked conda dependencies for task tools.
  • tauri-cli has no prebuilt binary for linux-arm64.

🤖 Generated with Claude Code

Replace just, direnv, the Brewfile and .nvmrc with mise:

- mise.toml pins Node 22.23.4, Temurin 25.0.5, Rust 1.99.1 and tauri-cli
  2.12.4; mise.lock records checksums for macOS and Linux.
- [deps.npm] reinstalls node_modules before tasks when the lockfile changes.
- Every just recipe is a mise task (inline or in mise-tasks/); tools needed
  by a single task (Python, Caddy, mkcert, ImageMagick) are fetched on demand.
- New sync-proxy task terminates TLS for local signaling with a mkcert
  certificate, trusted on the Mac and in a booted iOS Simulator; homelab
  starts it too.
- mise doctor project checks Xcode, the iOS Simulator and the Android SDK.
  Android tasks honour ANDROID_HOME.

CI agents don't need mise or just: TeamCity calls scripts/ensure-plugin.sh
and scripts/ci/test-glib-security.sh directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@j1philli
j1philli merged commit 16fde6e into main Oct 26, 2026
1 check passed
@j1philli
j1philli deleted the t3/mise-dev-env branch October 26, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant