Skip to content

Set up mise for toolchain management - #11444

Open
timotheeguerin wants to merge 3 commits into
microsoft:mainfrom
timotheeguerin:mise-setup
Open

Set up mise for toolchain management#11444
timotheeguerin wants to merge 3 commits into
microsoft:mainfrom
timotheeguerin:mise-setup

Conversation

@timotheeguerin

Copy link
Copy Markdown
Member

Summary

Introduces mise to pin and install the repo's core development tools (Node.js and pnpm) consistently across platforms, mirroring the setup already in Azure/typespec-azure.

Scope is limited to the core toolchain — the standalone emitters (http-client-csharp, http-client-java, http-client-python) are excluded from the pnpm workspace, so their toolchains (python/uv, go, java/maven, dotnet) are intentionally not added here.

Changes

  • mise.toml (new) — pins node = "26" and enables the idiomatic version file for pnpm, so the pnpm version is read from the packageManager field in package.json.
  • mise.lock (new) — cross-platform checksums/URLs for Node.js 26.5.1 and pnpm 11.10.0.
  • .devcontainer/Dockerfile — switches to the base:ubuntu image, installs mise via curl https://mise.run, activates it for bash/zsh, and pre-bakes the pinned tool versions into the image.
  • .devcontainer/devcontainer.json — sets the build context to the repo root and runs mise trust && pnpm install on create.
  • CONTRIBUTING.md — documents mise as the recommended setup path (mise install && pnpm install), with a non-mise fallback.

CI workflows are intentionally left on actions/setup-node (matches Azure's core scope.

Validation

With a current mise, resolves and installs the pinned tools:

No changelog entry: only root-level infra files change (no packages).
EOF
)

Add mise to pin and install the repo's core development tools (Node.js and
pnpm) consistently across platforms, mirroring the setup in Azure/typespec-azure.

- Add mise.toml (node 26, pnpm via packageManager idiomatic version file) and
  mise.lock with cross-platform checksums.
- Update the devcontainer to install mise and pre-bake pinned tool versions.
- Document mise as the recommended setup path in CONTRIBUTING.md.
@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@azure-sdk-automation

azure-sdk-automation Bot commented Jul 29, 2026

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@timotheeguerin
timotheeguerin marked this pull request as ready for review July 29, 2026 18:08
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