From 2868dc975cc7cba2a4a35335e08c5757697e8429 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 25 Dec 2025 23:02:31 +0100 Subject: [PATCH] chore: require node >=22.12 and fix swiftformat lint --- .github/workflows/ci.yml | 4 ++-- apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatTheme.swift | 4 ++-- package.json | 2 +- ui/package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f55f5483..72745cceb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: if: matrix.runtime == 'node' uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 22.12.0 check-latest: true - name: Setup Bun @@ -49,7 +49,7 @@ jobs: if: matrix.runtime == 'bun' uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 22.12.0 check-latest: true - name: Runtime versions diff --git a/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatTheme.swift b/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatTheme.swift index c6e00045b..ac5466c9c 100644 --- a/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatTheme.swift +++ b/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatTheme.swift @@ -7,8 +7,8 @@ import UIKit #endif #if os(macOS) -private extension NSAppearance { - var isDarkAqua: Bool { +extension NSAppearance { + fileprivate var isDarkAqua: Bool { self.bestMatch(from: [.aqua, .darkAqua]) == .darkAqua } } diff --git a/package.json b/package.json index 529fc419e..610d420ef 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "author": "", "license": "MIT", "engines": { - "node": ">=22.0.0" + "node": ">=22.12.0" }, "packageManager": "pnpm@10.23.0", "dependencies": { diff --git a/ui/package.json b/ui/package.json index 9df8528b5..1645c5a4a 100644 --- a/ui/package.json +++ b/ui/package.json @@ -14,4 +14,4 @@ "typescript": "^5.9.3", "vite": "8.0.0-beta.3" } -} \ No newline at end of file +}