From 512a624bf8297c438dc3adbe7822d038e3d69073 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Mon, 11 Nov 2024 11:47:14 +0900 Subject: [PATCH] chore(mise.toml): enable npm.bun to use bun in npm backend (#818) --- .github/workflows/scripts/list-mise-tasks.ts | 2 +- mise.toml | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/scripts/list-mise-tasks.ts b/.github/workflows/scripts/list-mise-tasks.ts index 4f44f765..0e162200 100644 --- a/.github/workflows/scripts/list-mise-tasks.ts +++ b/.github/workflows/scripts/list-mise-tasks.ts @@ -108,7 +108,7 @@ const tasks: { : undefined; switch (backend) { case "npm": { - tools.push("node"); + tools.push("bun", "node"); break; } case "cargo": { diff --git a/mise.toml b/mise.toml index 95e030d2..a69f4439 100644 --- a/mise.toml +++ b/mise.toml @@ -3,9 +3,6 @@ min_version = "2024.11.5" -[settings] -experimental = true - [tools] bun = "1.1.34" node = "23.1.0" @@ -32,6 +29,12 @@ yamllint = "1.35.1" "cargo:lychee" = "0.17.0" typos = "1.27.3" +[settings] +experimental = true + +[settings.npm] +bun = true + [tasks.commit] depends = ["buni:root"] run = ["git add .", "bun run git-cz"]