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
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
{
"path": "/mise/shims"
},
{
"dest": "global.json",
"src": "global.json"
},
{
"customName": "create mise config",
"name": "generated-mise-toml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
],
"inputs": [
{
"image": "ghcr.io/railwayapp/railpack-builder:mise-2026.7.18"
"image": "ghcr.io/railwayapp/railpack-builder:mise-2026.8.0"
}
],
"name": "packages:mise",
Expand Down Expand Up @@ -175,7 +175,7 @@
],
"inputs": [
{
"image": "ghcr.io/railwayapp/railpack-runtime:mise-2026.7.18"
"image": "ghcr.io/railwayapp/railpack-runtime:mise-2026.8.0"
}
],
"name": "packages:apt:runtime"
Expand Down
2 changes: 1 addition & 1 deletion core/generate/__snapshots__/context_test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"steps": [
{
"assets": {
"generated-mise-toml": "[tools]\n go = \"1.23.5\"\n node = \"20.18.2\"\n python = \"3.13.1\"\n\n[settings]\n idiomatic_version_file_enable_tools = [\"python\", \"node\", \"ruby\", \"elixir\", \"go\", \"java\", \"yarn\", \"bun\", \"deno\"]\n minimum_release_age = \"14d\"\n paranoid = true\n trusted_config_paths = [\"/app\"]\n [settings.node]\n verify = false\n"
"generated-mise-toml": "[tools]\n go = \"1.23.5\"\n node = \"20.18.2\"\n python = \"3.13.1\"\n\n[settings]\n idiomatic_version_file_enable_tools = [\"python\", \"node\", \"ruby\", \"elixir\", \"go\", \"java\", \"yarn\", \"bun\", \"deno\", \"dotnet\"]\n minimum_release_age = \"14d\"\n paranoid = true\n trusted_config_paths = [\"/app\"]\n [settings.node]\n verify = false\n"
},
"commands": [
{
Expand Down
1 change: 1 addition & 0 deletions core/generate/mise_step_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ var miseIdiomaticFiles = []string{
// .bun-version is a community convention, not officially supported by Bun
".bun-version",
".yvmrc",
"global.json",
}

// https://mise.jdx.dev/configuration.html#configuration-hierarchy
Expand Down
2 changes: 1 addition & 1 deletion core/mise/mise.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
const (
InstallDir = "/tmp/railpack/mise"
TestInstallDir = "/tmp/railpack/mise-test"
IdiomaticVersionFileTools = "python,node,ruby,elixir,go,java,yarn,bun,deno"
IdiomaticVersionFileTools = "python,node,ruby,elixir,go,java,yarn,bun,deno,dotnet"
// applied only to the first GetLatestVersion check to skip very recent releases
MinimumReleaseAge = "14d"
)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/config/mise.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ into the build. This includes:
`.config/mise/conf.d/*.toml`
- **Idiomatic version files**: `.ruby-version`, `.python-version`,
`.python-versions`, `.node-version`, `.nvmrc`, `.go-version`,
`.java-version`, `.sdkmanrc`, `.bun-version`, `.yvmrc`
`.java-version`, `.sdkmanrc`, `.bun-version`, `.yvmrc`, `global.json`
- **Lock files**: `mise.lock` files co-located with any detected
`*.toml` config

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/languages/dotnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your project will be detected as a Dotnet application if a `*.csproj` file exist
The Dotnet version is determined in the following order:

- Read `TargetFramework` from the first `*.csproj` file found in the project
- Read `version` from the `global.json` file in the project root
- Read `sdk.version` from the `global.json` file in the project root
- Set via the `RAILPACK_DOTNET_VERSION` environment variable
- Defaults to `6.0.428`

Expand Down
Loading