Skip to content

Instantly share code, notes, and snippets.

@palaniraja
Last active September 12, 2022 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palaniraja/1870561ff07b84d2ea8f2c4a7e6f7a7d to your computer and use it in GitHub Desktop.
Save palaniraja/1870561ff07b84d2ea8f2c4a7e6f7a7d to your computer and use it in GitHub Desktop.
Swift package manager `Package.resolved` to dependency list csv via `jq`
.object .pins[] as $parent | [$parent.repositoryURL, $parent.state.version, $parent.state.revision]|@csv
.pins[] as $parent | [$parent.identity, $parent.location, $parent.state.revision, $parent.state.version]| @csv
https://github.com/gonzalezreal/AttributedText 0.3.1 c345033e22d5a1cd0e9fe0ec405cc809a8349586
https://github.com/pointfreeco/combine-schedulers 0.7.4 11973960af9c5426f22d337628cec4342c5e660d
https://github.com/onevcat/Kingfisher 6.3.1 d06df9adf50ed8cde5786d935836a5f445f780ba
https://github.com/gonzalezreal/MarkdownUI 0.5.2 29d94710545952dd4c724cc2ca901848eef54ded
https://github.com/gonzalezreal/NetworkImage 3.1.2 04167e81ed89a14b5da9b856ead306b969bb5abd
https://github.com/SwiftDocOrg/swift-cmark.git 0.29.0+20210102.9c8096a 9c8096a23f44794bde297452d87c455fc4f76d42
https://github.com/gonzalezreal/SwiftCommonMark 0.1.2 ed60da54305c244d0f77bc8d08495e04161e96a4
https://github.com/pointfreeco/xctest-dynamic-overlay 0.4.0 38bc9242e4388b80bd23ddfdf3071428859e3260
cocoalumberjack https://github.com/CocoaLumberjack/CocoaLumberjack 80ada1f753b0d53d9b57c465936a7c4169375002 3.7.4
swift-log https://github.com/apple/swift-log.git 6fe203dc33195667ce1759bf0182975e4653ba1c 1.4.4
{
"object": {
"pins": [
{
"package": "AttributedText",
"repositoryURL": "https://github.com/gonzalezreal/AttributedText",
"state": {
"branch": null,
"revision": "c345033e22d5a1cd0e9fe0ec405cc809a8349586",
"version": "0.3.1"
}
},
{
"package": "combine-schedulers",
"repositoryURL": "https://github.com/pointfreeco/combine-schedulers",
"state": {
"branch": null,
"revision": "11973960af9c5426f22d337628cec4342c5e660d",
"version": "0.7.4"
}
},
{
"package": "Kingfisher",
"repositoryURL": "https://github.com/onevcat/Kingfisher",
"state": {
"branch": null,
"revision": "d06df9adf50ed8cde5786d935836a5f445f780ba",
"version": "6.3.1"
}
},
{
"package": "MarkdownUI",
"repositoryURL": "https://github.com/gonzalezreal/MarkdownUI",
"state": {
"branch": null,
"revision": "29d94710545952dd4c724cc2ca901848eef54ded",
"version": "0.5.2"
}
},
{
"package": "NetworkImage",
"repositoryURL": "https://github.com/gonzalezreal/NetworkImage",
"state": {
"branch": null,
"revision": "04167e81ed89a14b5da9b856ead306b969bb5abd",
"version": "3.1.2"
}
},
{
"package": "cmark",
"repositoryURL": "https://github.com/SwiftDocOrg/swift-cmark.git",
"state": {
"branch": null,
"revision": "9c8096a23f44794bde297452d87c455fc4f76d42",
"version": "0.29.0+20210102.9c8096a"
}
},
{
"package": "SwiftCommonMark",
"repositoryURL": "https://github.com/gonzalezreal/SwiftCommonMark",
"state": {
"branch": null,
"revision": "ed60da54305c244d0f77bc8d08495e04161e96a4",
"version": "0.1.2"
}
},
{
"package": "xctest-dynamic-overlay",
"repositoryURL": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state": {
"branch": null,
"revision": "38bc9242e4388b80bd23ddfdf3071428859e3260",
"version": "0.4.0"
}
}
]
},
"version": 1
}
{
"pins" : [
{
"identity" : "cocoalumberjack",
"kind" : "remoteSourceControl",
"location" : "https://github.com/CocoaLumberjack/CocoaLumberjack",
"state" : {
"revision" : "80ada1f753b0d53d9b57c465936a7c4169375002",
"version" : "3.7.4"
}
},
{
"identity" : "swift-log",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-log.git",
"state" : {
"revision" : "6fe203dc33195667ce1759bf0182975e4653ba1c",
"version" : "1.4.4"
}
}
],
"version" : 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment