- Design system: spacing, typography, colors, animations, opacity, shadows - Protocol-based color theming (AppColorTheme) - Settings UI components: toggles, pickers, selection indicators - Sound and haptic feedback manager (generic AppSound protocol) - Onboarding state management - Cloud sync manager (PersistableData protocol) - Visual effects: ConfettiView, PulsingModifier - Debug utilities: DebugBorderModifier - Device information utilities (cross-platform) - Unit tests for design constants
34 lines
718 B
Swift
34 lines
718 B
Swift
// swift-tools-version: 6.0
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Bedrock",
|
|
defaultLocalization: "en",
|
|
platforms: [
|
|
.iOS(.v18),
|
|
.macOS(.v15)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "Bedrock",
|
|
targets: ["Bedrock"]
|
|
)
|
|
],
|
|
dependencies: [],
|
|
targets: [
|
|
.target(
|
|
name: "Bedrock",
|
|
dependencies: [],
|
|
resources: [
|
|
.process("Resources")
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "BedrockTests",
|
|
dependencies: ["Bedrock"]
|
|
)
|
|
]
|
|
)
|