Repository Public
1// swift-tools-version: 6.02// Author: Simon-Pierre Boucher — contact@spboucher.ai3// File: Package.swift4// Description: SwiftPM manifest of SPNotesEditor, the native TextKit 2 editing engine of SP Notes (AppKit, no SwiftUI, no web view), testable headless.5import PackageDescription67let package = Package(8 name: "SPNotesEditor",9 defaultLocalization: "fr",10 platforms: [.macOS(.v15)],11 products: [.library(name: "SPNotesEditor", targets: ["SPNotesEditor"])],12 dependencies: [13 .package(path: "../SPNotesCore"),14 .package(url: "https://github.com/mgriebling/SwiftMath.git", exact: "1.7.3"),15 ],16 targets: [17 .target(name: "SPNotesEditor", dependencies: [.product(name: "SPNotesDocument", package: "SPNotesCore"), .product(name: "SPNotesDesign", package: "SPNotesCore"), .product(name: "SwiftMath", package: "SwiftMath")], path: "Editor"),18 .testTarget(name: "SPNotesEditorTests", dependencies: ["SPNotesEditor"], path: "Tests/EditorTests"),19 ],20 swiftLanguageModes: [.v6]21)22