

GitHub - SwiftPackageIndex/PackageList: The master list of repositories for the...
source link: https://github.com/SwiftPackageIndex/PackageList
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

The Swift Package Index
Anyone can add a package to the Swift Package Index. Every package indexed by the site comes from a list of package repository URLs, stored in a publicly available JSON file. To add a package to the index, add a URL to a package repository to that file.
Please feel free to submit your own, or other people's repositories to this list. There are a few requirements, but they aren't onerous.
The easiest way to validate that packages meet the requirements is to run the validation tool included in this repository. Fork this repository and clone your fork locally. Then edit packages.json
and add the package URL(s) to the JSON. Finally, in the directory where you have the clone of your fork of this repository, run the following command:
swift ./validate.swift
When validation succeeds, commit your changes and submit your pull request! Your package(s) will appear in the index within a few minutes.
If you would prefer to validate the requirements manually, please verify that:
- The package repositories are all publicly accessible.
- The packages all contain a
Package.swift
file in the root folder. - The packages are written in Swift 5.0 or later.
- The packages all contain at least one product (either library or executable), and at least one product must be usable in other Swift apps.
- The packages all have at least one release tagged as a semantic version.
- The packages all output valid JSON from
swift package dump-package
with the latest Swift toolchain. - The package URLs are all fully specified including the protocol (usually
https
) and the.git
extension. - The packages all compile without errors.
- The packages JSON file is sorted alphabetically.
Note: There's no gatekeeping or quality threshold to be included in the Swift Package Index. As long as packages are valid, and meet the requirements above, we will accept them.
Recommend
-
91
English document Github 作为开发者的第一社交平台,拥有数不胜数的优秀开源项目,给工作和学习带来巨大方便,遇到自己需要或是喜爱的项目只需轻轻点击 Star 便...
-
10
Visual Studio bringing several enhanced experiences and integration with Git Source Control. The new Git Tools integrated with Visual Studio brings several handy features starting from creating new repositories to managing...
-
6
Master List Of Official Russia Claims That Proved To Be BogusThe Director of National Intelligence releases a report, and the press rushes to kick the football again.On March 16th, 2021, the Office of the Director...
-
4
The golden master list of Magento performance enhancementsFebruary 13, 2012 · 7 min read ·
-
8
A while ago I wrote an article about the repositories you need to master JavaScript...
-
8
-
11
Martin Adams ...
-
10
Are you a developer who’s looking to up their UI design game a little bit? Then good news—you’re in the right place!We’ve got a ton of primers on some of the basic terms and tools that you’ll encounter regularly when you’re working with use...
-
9
What are Cheat Sheets ? Cheat Sheets are guides that summarize a wide range of topics and concepts into a compact format that can be used for quick reference of a particular subject or domain.
-
9
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK