From 57154fcdb42628601acbc5af833d16dc19d89385 Mon Sep 17 00:00:00 2001 From: Ross Stenersen Date: Fri, 23 Oct 2026 21:01:07 -0500 Subject: [PATCH] chore: update Node to 24.22.1 --- .changeset/tidy-nodes-rise.md | 5 +++++ .github/workflows/cd.yaml | 6 +++--- .github/workflows/ci.yaml | 4 ++-- README.md | 2 +- package-lock.json | 2 +- package.json | 2 +- src/build-tools/build-binaries.ts | 3 +-- 7 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 .changeset/tidy-nodes-rise.md diff --git a/.changeset/tidy-nodes-rise.md b/.changeset/tidy-nodes-rise.md new file mode 100644 index 000000000..55cf5e955 --- /dev/null +++ b/.changeset/tidy-nodes-rise.md @@ -0,0 +1,5 @@ +--- +"@smartthings/cli": patch +--- + +Update to Node 24.22.1. Intel (x64) MacOS binaries are no longer provided. diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 7a3ecfe81..bc6a56833 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -28,7 +28,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6.1.0 with: - node-version: 24.8.0 + node-version: 24.22.1 - name: Install Dependencies run: npm ci @@ -76,7 +76,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6.1.0 with: - node-version: 24.8.0 + node-version: 24.22.1 - run: npm ci - run: npm run build @@ -197,7 +197,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6.1.0 with: - node-version: 24.8.0 + node-version: 24.22.1 - name: Create Github Release uses: softprops/action-gh-release@v2.5.0 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c1cf60e33..4e11eb055 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,7 +12,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v6.1.0 with: - node-version: 24.8.0 + node-version: 24.22.1 - run: npm ci - run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD @@ -23,7 +23,7 @@ jobs: fail-fast: false matrix: # add/remove versions as we move support forward - node-version: [24.8.0] + node-version: [24.22.1] os: [ubuntu-latest, macos-latest, windows-latest] steps: diff --git a/README.md b/README.md index f4fca84c0..1c6f2ec33 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Download and run the `smartthings.msi` installer from the [latest Release](https The CLI can be used on any platform that supports Node 24. -First, install at least [Node version 24.8.0](https://nodejs.org/en/download/current) on your machine. +First, install at least [Node version 24.22.1](https://nodejs.org/en/download/current) on your machine. The official Node release can be found here: https://nodejs.org/en/download/current diff --git a/package-lock.json b/package-lock.json index a726f40ab..e5fb0f4f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -76,7 +76,7 @@ "typescript-eslint": "^8.67.0" }, "engines": { - "node": ">=24.8.0", + "node": ">=24.22.1", "npm": ">=11.4.2" } }, diff --git a/package.json b/package.json index f90a26015..e84ce7e02 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "./commands/list": "./dist/src/commands/index.js" }, "engines": { - "node": ">=24.8.0", + "node": ">=24.22.1", "npm": ">=11.4.2" }, "publishConfig": { diff --git a/src/build-tools/build-binaries.ts b/src/build-tools/build-binaries.ts index 901a9d819..b034cd9ac 100644 --- a/src/build-tools/build-binaries.ts +++ b/src/build-tools/build-binaries.ts @@ -11,7 +11,6 @@ const targets = [ 'linux-arm64', 'linux-x64', 'mac-arm64', - 'mac-x64', 'windows-x64', ] const nodeVersion = process.version.substring(1) @@ -55,7 +54,7 @@ const buildAndZipTarget = async (target: string): Promise => { // unable to find its own bundled script at runtime. Listing it explicitly // forces nexe to embed it regardless. resources: ['package.json', packFile], - remote: 'https://github.com/SmartThingsCommunity/cli-nexe-builds/releases/download/1.0.0', + remote: 'https://github.com/SmartThingsCommunity/cli-nexe-builds/releases/download/2.0.0', output: fullBinaryFilename, python: 'python3', targets: [`${target}-${nodeVersion}`],