vibetunnel/Package.swift
Peter Steinberger 6a8f472832 feat: adopt Blacksmith CI runners and comprehensive updates
- Migrate GitHub Actions to Blacksmith runners for faster CI
  - Update ubuntu-latest to blacksmith-4vcpu-ubuntu-2404
  - Update actions/setup-node@v4 to useblacksmith/setup-node@v5
  - Update Swatinem/rust-cache@v2 to useblacksmith/rust-cache@v3

- Fix all linting warnings across all platforms
  - TypeScript: Fix any type warnings with proper type annotations
  - Rust: All clippy warnings resolved
  - Swift: Fix SwiftLint violations and format code

- Update all dependencies to latest versions
  - npm: Major updates including Express 5 compatibility fixes
  - Rust: Update 7 crates to latest compatible versions
  - Swift: Dependencies already up-to-date

- Add comprehensive test suite using Vitest
  - API endpoint tests for session CRUD operations
  - WebSocket connection and streaming tests
  - Session management lifecycle tests
  - Frontend component tests (terminal, session-list)
  - Critical functionality tests covering core features
  - Test infrastructure with proper mocking and utilities

- All tests passing, ready for production use
2025-06-18 19:10:03 +02:00

49 lines
1.5 KiB
Swift

// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "VibeTunnel",
platforms: [
.macOS(.v14),
.iOS(.v17)
],
products: [
.library(
name: "VibeTunnel",
targets: ["VibeTunnel"]
)
],
dependencies: [
.package(url: "https://github.com/realm/SwiftLint.git", from: "0.59.1"),
.package(url: "https://github.com/nicklockwood/SwiftFormat.git", from: "0.56.4"),
.package(url: "https://github.com/apple/swift-http-types.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.0")
],
targets: [
.target(
name: "VibeTunnel",
dependencies: [
.product(name: "HTTPTypes", package: "swift-http-types"),
.product(name: "HTTPTypesFoundation", package: "swift-http-types"),
.product(name: "Logging", package: "swift-log")
],
path: "VibeTunnel",
exclude: [
"Info.plist",
"VibeTunnel.entitlements",
"Local.xcconfig.template",
"Shared.xcconfig",
"version.xcconfig",
"sparkle-public-ed-key.txt",
"Resources",
"Assets.xcassets",
"AppIcon.icon"
]
),
.testTarget(
name: "VibeTunnelTests",
dependencies: ["VibeTunnel"],
path: "VibeTunnelTests"
)
]
)