From: Jérôme Benoit Date: Sun, 11 Oct 2026 16:08:07 +0000 (+0200) Subject: chore: replace volta with mise for toolchain management X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3ba460446d4153c6172c04c481c445cabefdc77f;p=benchmarks-js.git chore: replace volta with mise for toolchain management Volta is unmaintained and its maintainers recommend mise. Declare the node and pnpm toolchain through mise, reading versions from package.json (via devEngines.runtime and packageManager), drop the volta block, and ignore personal mise overrides and lockfiles. CI is unchanged: it already provisions node and pnpm through actions/setup-node and pnpm/action-setup. Mirrors SAP/e-mobility-charging-stations-simulator commit 8b5bda42 (chore: replace volta with mise for toolchain management). --- diff --git a/.gitignore b/.gitignore index dca1656..ccf8ae4 100644 --- a/.gitignore +++ b/.gitignore @@ -275,3 +275,13 @@ package-lock.json *.orig benchmark/ + +# mise local overrides +mise.local.toml +mise.*.local.toml +.mise.local.toml +.mise.*.local.toml +mise.local.lock +mise.*.local.lock +.mise.local.lock +.mise.*.local.lock diff --git a/.mise.toml b/.mise.toml new file mode 100644 index 0000000..4ec1d0f --- /dev/null +++ b/.mise.toml @@ -0,0 +1,5 @@ +min_version = "2026.9.18" + +[settings] +# Read development tool versions from package.json. +idiomatic_version_file_enable_tools = ["node", "pnpm"] diff --git a/package.json b/package.json index a01a87d..2ce8e87 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,12 @@ "pnpm": ">=9.0.0" }, "type": "module", - "volta": { - "node": "24.21.0", - "pnpm": "12.10.1" + "devEngines": { + "runtime": { + "name": "node", + "version": "24.21.0", + "onFail": "ignore" + } }, "packageManager": "pnpm@12.10.1", "repository": {