Skip to content

Commit 79b07e3

Browse files
docs: add shieldcn.dev badge group to README (#150)
* docs: add shieldcn.dev badge group to README Add a single shieldcn.dev badge group (stars + license + sponsors) to the template README using variant=branded, size=xs, theme=zinc, mode=dark. https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa * docs: switch to static license and sponsors shieldcn segments github/license and github/sponsors did not resolve in shieldcn. Replace them with static badge/ segments so they always render. https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa * docs: split shieldcn group into individual linkable badges Each badge is now a separate <img> wrapped in its own anchor (via reference-style link definitions), so the stars chip links to the repo, license to the LICENSE file, sponsors to the sponsor page. https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa * docs: drop sponsors badge from root README No npm package on the template monorepo root, so the sponsors badge has no Node-version counterpart. The stars and license badges remain. https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa * docs: add shieldcn badges to template-core and template-demo READMEs Each package gets the same five chips as the other publishable READMEs: npm version, downloads, stars, license, and Node version. https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa * docs: link npm package badges via npmx.dev instead of npmjs.com https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa * docs: add Codecov badge to root README https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa * docs: use variant=secondary and size=sm on all shieldcn badges https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa * docs: enforce variant=secondary and size=xs on all shieldcn badges https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa * docs: drop mode=dark from license shieldcn URLs Match the shieldcn doc format for license badges: ?variant=secondary&size=xs&theme=zinc with no mode override. https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa * docs: switch root license badge to npm/license/@stijnvanhulle/template-core https://claude.ai/code/session_013waRRjU1q7UcNXb3Tnnvqa --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7625fea commit 79b07e3

3 files changed

Lines changed: 59 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<div align="center">
22

3+
[![Stars][stars-src]][stars-href]
4+
[![License][license-src]][license-href]
5+
[![Coverage][coverage-src]][coverage-href]
6+
37
<h4>
48
<a href="https://github.com/stijnvanhulle/template/issues/">Report Bug</a>
59
<span> · </span>
@@ -161,3 +165,12 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md) for the project structure, prerequisite
161165
## License
162166

163167
[MIT](./LICENSE) © Stijn Van Hulle
168+
169+
<!-- Badges -->
170+
171+
[stars-src]: https://shieldcn.dev/github/stars/stijnvanhulle/template.svg?variant=secondary&size=xs&theme=zinc&mode=dark
172+
[stars-href]: https://github.com/stijnvanhulle/template
173+
[license-src]: https://shieldcn.dev/npm/license/@stijnvanhulle/template-core.svg?variant=secondary&size=xs&theme=zinc
174+
[license-href]: https://github.com/stijnvanhulle/template/blob/main/LICENSE
175+
[coverage-src]: https://shieldcn.dev/codecov/github/stijnvanhulle/template.svg?variant=secondary&size=xs&theme=zinc&mode=dark
176+
[coverage-href]: https://app.codecov.io/gh/stijnvanhulle/template

packages/core/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1+
<div align="center">
2+
3+
[![npm version][npm-version-src]][npm-version-href]
4+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
5+
[![Stars][stars-src]][stars-href]
6+
[![License][license-src]][license-href]
7+
[![Node][node-src]][node-href]
8+
9+
</div>
10+
111
# Core
12+
13+
<!-- Badges -->
14+
15+
[npm-version-src]: https://shieldcn.dev/npm/v/@stijnvanhulle/template-core.svg?variant=secondary&size=xs&theme=zinc&mode=dark
16+
[npm-version-href]: https://npmx.dev/package/@stijnvanhulle/template-core
17+
[npm-downloads-src]: https://shieldcn.dev/npm/dm/@stijnvanhulle/template-core.svg?variant=secondary&size=xs&theme=zinc&mode=dark
18+
[npm-downloads-href]: https://npmx.dev/package/@stijnvanhulle/template-core
19+
[stars-src]: https://shieldcn.dev/github/stars/stijnvanhulle/template.svg?variant=secondary&size=xs&theme=zinc&mode=dark
20+
[stars-href]: https://github.com/stijnvanhulle/template
21+
[license-src]: https://shieldcn.dev/npm/license/@stijnvanhulle/template-core.svg?variant=secondary&size=xs&theme=zinc
22+
[license-href]: https://github.com/stijnvanhulle/template/blob/main/LICENSE
23+
[node-src]: https://shieldcn.dev/npm/node/@stijnvanhulle/template-core.svg?variant=secondary&size=xs&theme=zinc&mode=dark
24+
[node-href]: https://npmx.dev/package/@stijnvanhulle/template-core

packages/demo/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1+
<div align="center">
2+
3+
[![npm version][npm-version-src]][npm-version-href]
4+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
5+
[![Stars][stars-src]][stars-href]
6+
[![License][license-src]][license-href]
7+
[![Node][node-src]][node-href]
8+
9+
</div>
10+
111
# Demo
12+
13+
<!-- Badges -->
14+
15+
[npm-version-src]: https://shieldcn.dev/npm/v/@stijnvanhulle/template-demo.svg?variant=secondary&size=xs&theme=zinc&mode=dark
16+
[npm-version-href]: https://npmx.dev/package/@stijnvanhulle/template-demo
17+
[npm-downloads-src]: https://shieldcn.dev/npm/dm/@stijnvanhulle/template-demo.svg?variant=secondary&size=xs&theme=zinc&mode=dark
18+
[npm-downloads-href]: https://npmx.dev/package/@stijnvanhulle/template-demo
19+
[stars-src]: https://shieldcn.dev/github/stars/stijnvanhulle/template.svg?variant=secondary&size=xs&theme=zinc&mode=dark
20+
[stars-href]: https://github.com/stijnvanhulle/template
21+
[license-src]: https://shieldcn.dev/npm/license/@stijnvanhulle/template-demo.svg?variant=secondary&size=xs&theme=zinc
22+
[license-href]: https://github.com/stijnvanhulle/template/blob/main/LICENSE
23+
[node-src]: https://shieldcn.dev/npm/node/@stijnvanhulle/template-demo.svg?variant=secondary&size=xs&theme=zinc&mode=dark
24+
[node-href]: https://npmx.dev/package/@stijnvanhulle/template-demo

0 commit comments

Comments
 (0)