Information for Patterns Maintainers
Are you the author, or a maintainer of Patterns? Here's what you need to know to make your package's page on the Swift Package Index, and your README both show the best information about your package.
Compatibility Badges
You can add shields.io badges to your package's README file. Display your package's compatibility with recent versions of Swift, or with different platforms, or both!
Swift Version Compatibility BadgePlatform Compatibility BadgeCopy the Markdown above into your package's README file to show always-up-to-date compatibility status for your package.
Manifest File
You can control more aspects of how the Swift Package Index treats your package repository, including improving build compatibility results and opting into automated DocC documentation hosting.
As the Swift Package Index scans your package repository, it will look for a manifest file named .spi.yml
. If found, here are some of the things you can control or enable with it:
Hosting your documentation on the Swift Package Index site.
Control build targets and schemes to improve your package's build results. For more details about the build system, see the build system documentation.
If your builds require additional operating system-level dependencies to succeed, you can configure base images for Linux builds.
See the SPIManifest package documentation for more details, or use our online manifest validation helper to validate your .spi.yml
file.
Package Score
This package has a total score of 65 points. The Swift Package Index uses package score in combination with the relevancy of a search query to influence the ordering of search results.
The score is currently evaluated based on 10 traits, and the breakdown of each trait is shown below.
Archived
20 points
Repository is not archived.
Contributors
0 points
Has 1 contributor.
Dependencies
5 points
Depends on 2 packages.
Documentation
0 points
Has no documentation.
Last Activity
0 points
No recent maintenance activity.
License
10 points
OSI-compatible license which is compatible with the App Store.
README
15 points
Has a README file.
Releases
0 points
Has 4 releases.
Stars
10 points
Has 27 stars.
Tests
5 points
Has test targets.
The package score is a work in progress. We have an always-open discussion thread if you are interested in providing feedback on existing traits or would like to propose new ones.