Set up mise for toolchain management - #11444
Open
timotheeguerin wants to merge 3 commits into
Open
Conversation
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.
Contributor
|
No changes needing a change description found. |
|
You can try these changes here
|
timotheeguerin
marked this pull request as ready for review
July 29, 2026 18:08
timotheeguerin
requested review from
catalinaperalta,
iscai-msft,
markcowl and
xirzec
as code owners
July 29, 2026 18:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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) — pinsnode = "26"and enables the idiomatic version file forpnpm, so the pnpm version is read from thepackageManagerfield inpackage.json.mise.lock(new) — cross-platform checksums/URLs for Node.js 26.5.1 and pnpm 11.10.0..devcontainer/Dockerfile— switches to thebase:ubuntuimage, installs mise viacurl 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 runsmise trust && pnpm installon 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
)