You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: streamlined and unified README.md badges (#1154)
## PR Checklist
- [x] Addresses an existing open issue: fixes#1088
- [x] That issue was marked as [`status: accepting
prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [x] Steps in
[CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md)
were taken
## Overview
Standardizes README.md badges to have the emoji at the start because I
want them consistent and the npm version badge can't have the emoji
tacked on.
Streamlines them by removing the _sponsor_ and _style_ badges and
trimming the _code of conduct_ badge down to say _kept_ instead of
_enforced. This means they should all fit on one line in the npm site.
Also fixes a bug in `findExistingBadges` where matchers were being
re-created _then_ looped on, instead of re-created each instance of the
loop. `/g` regexp state matters!
<imgalign="right"alt="Project logo: the TypeScript blue square with rounded corners, but a plus sign instead of 'TS'"src="./create-typescript-app.png">
<ahref="https://codecov.io/gh/JoshuaKGoldberg/create-typescript-app"target="_blank"><imgalt="Codecov Test Coverage"src="https://codecov.io/gh/JoshuaKGoldberg/create-typescript-app/branch/main/graph/badge.svg"/></a>
106
-
- <ahref="https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CODE_OF_CONDUCT.md"target="_blank"><imgalt="Code of Conduct: Enforced 🤝"src="https://img.shields.io/badge/code_of_conduct-enforced_🤝-21bb42" /></a>
107
-
- <ahref="https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/LICENSE.md"target="_blank"><imgalt="License: MIT 📝"src="https://img.shields.io/badge/license-MIT_📝-21bb42.svg"></a>
108
-
- <ahref="https://github.com/sponsors/JoshuaKGoldberg"target="_blank"><imgalt="Sponsor: On GitHub 💸"src="https://img.shields.io/badge/sponsor-on_github_💸-21bb42.svg" /></a>
+ <ahref="https://github.com/sponsors/JoshuaKGoldberg"target="_blank"><imgalt="Sponsor: On GitHub"src="https://img.shields.io/badge/sponsor-on_github-21bb42.svg" /></a>
-<imgalign="right"alt="Project logo: the TypeScript blue square with rounded corners, but a plus sign instead of 'TS'"src="./create-typescript-app.png">
"<a href="https://github.com/sponsors/JoshuaKGoldberg" target="_blank"><img alt="Sponsor: On GitHub" src="https://img.shields.io/badge/sponsor-on_github-21bb42.svg" /></a>",
98
-
"<img alt="Codecov Test Coverage" src="https://codecov.io/gh/JoshuaKGoldberg/all-contributors-auto-action/branch/main/graph/badge.svg?token=eVIFY4MhfQ"/>",
103
+
"<a href="https://codecov.io/gh/ExampleOwner/example-repository" target="_blank"><img alt="Codecov Test Coverage" src="https://codecov.io/gh/ExampleOwner/example-repository/branch/main/graph/badge.svg?token=eVIFY4MhfQ"/></a>",
0 commit comments