chore: require node >=22.12 and fix swiftformat lint
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=22.0.0"
|
||||
"node": ">=22.12.0"
|
||||
},
|
||||
"packageManager": "pnpm@10.23.0",
|
||||
"dependencies": {
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
"typescript": "^5.9.3",
|
||||
"vite": "8.0.0-beta.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user