The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
DEV-2270: add .bun-version file, configure setup-bun to use version file (#77208)
Chris Vandoodewaardeca47dd2dc96
diff --git a/.github/actions/prepare-node-bun/action.yml b/.github/actions/prepare-node-bun/action.ymlindex eb2dd06747f..0d335c50e28 100644--- a/.github/actions/prepare-node-bun/action.yml+++ b/.github/actions/prepare-node-bun/action.yml@@ -16,5 +16,5 @@ runs:- name: Install bunuses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0with:- bun-version: "1.3.14"+ bun-version-file: 'package.json'token: ${{ github.token }}diff --git a/.github/actions/prepare-release-scripts/action.yml b/.github/actions/prepare-release-scripts/action.ymlindex 040810e285e..d5d1f7f7e8c 100644--- a/.github/actions/prepare-release-scripts/action.yml+++ b/.github/actions/prepare-release-scripts/action.yml@@ -6,7 +6,7 @@ runs:steps:- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0with:- bun-version: "1.3.14"+ bun-version-file: 'package.json'token: ${{ github.token }}- name: Build release scriptsdiff --git a/.github/actions/quarantine-gate/action.yml b/.github/actions/quarantine-gate/action.ymlindex 7abf517a78b..c4e94aae2ce 100644--- a/.github/actions/quarantine-gate/action.yml+++ b/.github/actions/quarantine-gate/action.yml@@ -30,7 +30,7 @@ runs:if: steps.bun.outputs.present != 'true'uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0with:- bun-version: "1.3.14"+ bun-version-file: 'package.json'token: ${{ github.token }}- name: Check failures against the quarantine listshell: bashdiff --git a/.github/actions/report-failures-to-ci-conductor/action.yml b/.github/actions/report-failures-to-ci-conductor/action.ymlindex 6124fa3b5c0..d2bd1cc5b02 100644--- a/.github/actions/report-failures-to-ci-conductor/action.yml+++ b/.github/actions/report-failures-to-ci-conductor/action.yml@@ -28,7 +28,7 @@ runs:if: steps.bun.outputs.present != 'true'uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0with:- bun-version: "1.3.14"+ bun-version-file: 'package.json'token: ${{ github.token }}- name: Report failed tests to ci-conductorshell: bashdiff --git a/.github/workflows/module-boundaries-stats.yml b/.github/workflows/module-boundaries-stats.ymlindex 4286d4aaf1d..6a3784487d7 100644--- a/.github/workflows/module-boundaries-stats.yml+++ b/.github/workflows/module-boundaries-stats.yml@@ -13,6 +13,8 @@ jobs:steps:- uses: actions/checkout@v6- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0+ with:+ bun-version-file: 'package.json'- name: Install dependenciesrun: bun install --frozen-lockfile- name: get module boundary statsdiff --git a/.github/workflows/release-milestone-check.yml b/.github/workflows/release-milestone-check.ymlindex ce202e82838..aa5f512c1f2 100644--- a/.github/workflows/release-milestone-check.yml+++ b/.github/workflows/release-milestone-check.yml@@ -33,7 +33,7 @@ jobs:- name: Install bunuses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0with:- bun-version: "1.3.14"+ bun-version-file: 'package.json'token: ${{ secrets.GITHUB_TOKEN }}- name: Prepare build scriptsrun: bun install --cwd release --frozen-lockfile && bun run --cwd release builddiff --git a/.github/workflows/release-tests.yml b/.github/workflows/release-tests.ymlindex 0fcef7f1397..d045eb2ceb6 100644--- a/.github/workflows/release-tests.yml+++ b/.github/workflows/release-tests.yml@@ -39,7 +39,7 @@ jobs:- name: Install bunuses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0with:- bun-version: "1.3.14"+ bun-version-file: 'package.json'token: ${{ secrets.GITHUB_TOKEN }}- name: prepare dependencies in release directoryrun: bun install --cwd release --frozen-lockfile@@ -58,7 +58,7 @@ jobs:- name: Install bunuses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0with:- bun-version: "1.3.14"+ bun-version-file: 'package.json'token: ${{ secrets.GITHUB_TOKEN }}- name: prepare dependencies in release directoryrun: bun install --cwd release --frozen-lockfile@@ -77,7 +77,7 @@ jobs:- name: Install bunuses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0with:- bun-version: "1.3.14"+ bun-version-file: 'package.json'token: ${{ secrets.GITHUB_TOKEN }}- name: Install ci-conductor dependenciesrun: bun install --cwd release/ci-conductor --frozen-lockfile@@ -98,7 +98,7 @@ jobs:- name: Install bunuses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0with:- bun-version: "1.3.14"+ bun-version-file: 'package.json'token: ${{ secrets.GITHUB_TOKEN }}- name: prepare dependencies in release directoryrun: bun install --cwd release --frozen-lockfilediff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.ymlindex 4b55e93ba89..a97902fe347 100644--- a/.github/workflows/snyk.yml+++ b/.github/workflows/snyk.yml@@ -53,7 +53,7 @@ jobs:- uses: actions/checkout@v6- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0with:- bun-version: "1.3.14"+ bun-version-file: 'package.json'token: ${{ secrets.GITHUB_TOKEN }}# Snyk doesn't support bun.lock yet, so we generate yarn.lock and scan that.# Bun has a bug where it normalizes "< 3.0.0" to "< 3" in alias entriesdiff --git a/mise.toml b/mise.tomlindex 5f2e57f1a7d..5b97ae845d4 100644--- a/mise.toml+++ b/mise.toml@@ -35,6 +35,9 @@# Automatically install tools when entering the project directoryauto_install = true+# Uses the version in the tool's version file when installing+idiomatic_version_file_enable_tools = ["bun"]+[env]# Add bin/ to PATH so mage and other project scripts are available_.path = ["{{ config_root }}/bin"]@@ -52,8 +55,7 @@ COREPACK_ENABLE_AUTO_PIN = "0"# This should match .nvmrc for compatibility with other version managers.node = "22.13.1"-# Bun - for package management and running scripts-bun = "1.3.14"+# Bun - for package management and running scripts, installed with the version specified in package.json# Java - for Clojure backend# We require Eclipse *Temurin* (AdoptOpenJDK successor) for consistency.