Swift module with just enough Github API support to do what I need.
I'm not even slightly pretending that this is good enough for general purpose use.
{
"name": "Octoid",
"path": "/usr/src/package",
"targets": [
{
"name": "OctoidTests",
"path": "Tests/OctoidTests",
"type": "test",
"c99name": "OctoidTests",
"sources": [
"OctoidTests.swift",
"XCTestManifests.swift"
],
"resources": [
{
"path": "/usr/src/package/Tests/OctoidTests/Resources/events.json",
"rule": {
"process": {}
}
},
{
"path": "/usr/src/package/Tests/OctoidTests/Resources/runs.json",
"rule": {
"process": {}
}
}
],
"module_type": "SwiftTarget",
"target_dependencies": [
"Octoid"
],
"product_dependencies": [
"XCTestExtensions"
]
},
{
"name": "Octoid",
"path": "Sources/Octoid",
"type": "library",
"c99name": "Octoid",
"sources": [
"Actor.swift",
"Author.swift",
"Commit.swift",
"Events.swift",
"GraphAPI.swift",
"JSONDictionary.swift",
"MessageProcessor.swift",
"Session.swift",
"UnchangedProcessor.swift",
"WorkflowRuns.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"Octoid"
],
"product_dependencies": [
"CollectionExtensions",
"Logger",
"JSONSession"
]
}
],
"products": [
{
"name": "Octoid",
"type": {
"library": [
"automatic"
]
},
"targets": [
"Octoid"
]
}
],
"platforms": [
{
"name": "macos",
"version": "10.15"
},
{
"name": "maccatalyst",
"version": "13.0"
},
{
"name": "ios",
"version": "13.0"
},
{
"name": "tvos",
"version": "13.0"
},
{
"name": "watchos",
"version": "6.0"
}
],
"dependencies": [
{
"url": "https://github.com/elegantchaos/CollectionExtensions.git",
"type": "sourceControl",
"identity": "collectionextensions",
"requirement": {
"range": [
{
"lower_bound": "1.1.1",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/elegantchaos/Logger.git",
"type": "sourceControl",
"identity": "logger",
"requirement": {
"range": [
{
"lower_bound": "1.6.0",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/elegantchaos/JSONSession.git",
"type": "sourceControl",
"identity": "jsonsession",
"requirement": {
"range": [
{
"lower_bound": "1.1.1",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/elegantchaos/XCTestExtensions.git",
"type": "sourceControl",
"identity": "xctestextensions",
"requirement": {
"range": [
{
"lower_bound": "1.3.2",
"upper_bound": "2.0.0"
}
]
}
}
],
"tools_version": "5.6",
"manifest_display_name": "Octoid"
}
{
"name": "Octoid",
"traits": [],
"targets": [
{
"name": "Octoid",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"CollectionExtensions",
null
]
},
{
"byName": [
"Logger",
null
]
},
{
"byName": [
"JSONSession",
null
]
}
],
"packageAccess": false
},
{
"name": "OctoidTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [
{
"path": "Resources",
"rule": {
"process": {}
}
}
],
"dependencies": [
{
"byName": [
"Octoid",
null
]
},
{
"byName": [
"XCTestExtensions",
null
]
}
],
"packageAccess": false
}
],
"products": [
{
"name": "Octoid",
"type": {
"library": [
"automatic"
]
},
"targets": [
"Octoid"
]
}
],
"pkgConfig": null,
"platforms": [
{
"options": [],
"version": "10.15",
"platformName": "macos"
},
{
"options": [],
"version": "13.0",
"platformName": "maccatalyst"
},
{
"options": [],
"version": "13.0",
"platformName": "ios"
},
{
"options": [],
"version": "13.0",
"platformName": "tvos"
},
{
"options": [],
"version": "6.0",
"platformName": "watchos"
}
],
"providers": null,
"packageKind": {
"root": [
"/usr/src/package"
]
},
"dependencies": [
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "collectionextensions",
"location": {
"remote": [
{
"urlString": "https://github.com/elegantchaos/CollectionExtensions.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.1.1",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "logger",
"location": {
"remote": [
{
"urlString": "https://github.com/elegantchaos/Logger.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.6.0",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "jsonsession",
"location": {
"remote": [
{
"urlString": "https://github.com/elegantchaos/JSONSession.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.1.1",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "xctestextensions",
"location": {
"remote": [
{
"urlString": "https://github.com/elegantchaos/XCTestExtensions.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.3.2",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
}
],
"toolsVersion": {
"_version": "5.6.0"
},
"cLanguageStandard": null,
"cxxLanguageStandard": null,
"swiftLanguageVersions": null
}
{
"url": "/usr/src/package",
"name": "Octoid",
"path": "/usr/src/package",
"version": "unspecified",
"identity": "package",
"dependencies": [
{
"url": "https://github.com/elegantchaos/CollectionExtensions.git",
"name": "CollectionExtensions",
"path": "/usr/src/package/.build/checkouts/CollectionExtensions",
"version": "1.1.2",
"identity": "collectionextensions",
"dependencies": []
},
{
"url": "https://github.com/elegantchaos/Logger.git",
"name": "Logger",
"path": "/usr/src/package/.build/checkouts/Logger",
"version": "1.6.0",
"identity": "logger",
"dependencies": []
},
{
"url": "https://github.com/elegantchaos/JSONSession.git",
"name": "JSONSession",
"path": "/usr/src/package/.build/checkouts/JSONSession",
"version": "1.1.1",
"identity": "jsonsession",
"dependencies": [
{
"url": "https://github.com/elegantchaos/Coercion.git",
"name": "Coercion",
"path": "/usr/src/package/.build/checkouts/Coercion",
"version": "1.1.1",
"identity": "coercion",
"dependencies": []
},
{
"url": "https://github.com/elegantchaos/DataFetcher.git",
"name": "DataFetcher",
"path": "/usr/src/package/.build/checkouts/DataFetcher",
"version": "1.0.2",
"identity": "datafetcher",
"dependencies": [
{
"url": "https://github.com/elegantchaos/Coercion.git",
"name": "Coercion",
"path": "/usr/src/package/.build/checkouts/Coercion",
"version": "1.1.1",
"identity": "coercion",
"dependencies": []
}
]
},
{
"url": "https://github.com/elegantchaos/Logger.git",
"name": "Logger",
"path": "/usr/src/package/.build/checkouts/Logger",
"version": "1.6.0",
"identity": "logger",
"dependencies": []
}
]
},
{
"url": "https://github.com/elegantchaos/XCTestExtensions.git",
"name": "XCTestExtensions",
"path": "/usr/src/package/.build/checkouts/XCTestExtensions",
"version": "1.3.2",
"identity": "xctestextensions",
"dependencies": []
}
]
}