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'
|
if: matrix.runtime == 'node'
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22.12.0
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Setup Bun
|
- name: Setup Bun
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
if: matrix.runtime == 'bun'
|
if: matrix.runtime == 'bun'
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22.12.0
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Runtime versions
|
- name: Runtime versions
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import UIKit
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if os(macOS)
|
#if os(macOS)
|
||||||
private extension NSAppearance {
|
extension NSAppearance {
|
||||||
var isDarkAqua: Bool {
|
fileprivate var isDarkAqua: Bool {
|
||||||
self.bestMatch(from: [.aqua, .darkAqua]) == .darkAqua
|
self.bestMatch(from: [.aqua, .darkAqua]) == .darkAqua
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=22.0.0"
|
"node": ">=22.12.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.23.0",
|
"packageManager": "pnpm@10.23.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -14,4 +14,4 @@
|
|||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
"vite": "8.0.0-beta.3"
|
"vite": "8.0.0-beta.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user