- Core: Schema (Codable), Store, EventBus, RPC, Engine, I18n - Controls: Text, Title1-6, Label, Input, Textarea, Number, Date, Button, Select VBox, HBox, ScrollPanel, DynamicColumn, Tabular, Form, InlineForm, TabView, Menu, PopupWindow, Html, Image, UrlWidget - Renderer: BricksView (main entry), ControlRenderer (recursive dispatch) - 30+ widget types, 9 bind actiontypes - Form validation (required/minlength/maxlength/min/max/email/number/pattern) - i18n with multi-language JSON files - 18 tests covering schema parsing, store, i18n, events
28 lines
534 B
Swift
28 lines
534 B
Swift
// swift-tools-version:5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "SwiftBricks",
|
|
platforms: [
|
|
.iOS(.v17),
|
|
.macOS(.v14)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "SwiftBricks",
|
|
targets: ["SwiftBricks"]
|
|
)
|
|
],
|
|
dependencies: [],
|
|
targets: [
|
|
.target(
|
|
name: "SwiftBricks",
|
|
dependencies: []
|
|
),
|
|
.testTarget(
|
|
name: "SwiftBricksTests",
|
|
dependencies: ["SwiftBricks"]
|
|
)
|
|
]
|
|
)
|