Skip to content

docs(readme): consistent badge row - #11

Merged
Schero94 merged 4 commits into
mainfrom
docs/readme-badges
Nov 18, 2026
Merged

Schero94 merged 4 commits into
mainfrom
docs/readme-badges

Conversation

@Schero94

@Schero94 Schero94 commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Applies the shared badge row (Auto UUID pattern) to the top of the README and to the Pages hero.

Order: npm version, monthly downloads, CI (GitHub logo, runs on main), License (from package.json, absolute LICENSE URL), Strapi peer floor (absolute link to the compatibility section), docs project site. Every image is a flat shields.io badge with descriptive alt text and every link is absolute, so the row works on npmjs.com and the Strapi marketplace.

  • Pages hero: the same six badges in a .shields row above the existing facts row (facts unchanged). Measured at 320/390/1024/1440 px, light and dark: 0 px document overflow, 6/6 images loaded.
  • New tests/readme-badges.test.cjs: fails when the row is missing or reordered, a badge is relative, the Strapi floor differs from the @strapi/strapi peer floor, the npm badges name another package, the CI workflow does not run on main, or the Pages row differs from the README.

Docs and test only: docs: and test: commits, no release.

Before

[![npm version](https://img.shields.io/npm/v/strapi-plugin-magic-mark.svg)](https://www.npmjs.com/package/strapi-plugin-magic-mark)
[![npm downloads](https://img.shields.io/npm/dm/strapi-plugin-magic-mark.svg)](https://www.npmjs.com/package/strapi-plugin-magic-mark)
[![Test & Verify](https://github.com/Schero94/Magicmark/actions/workflows/test.yml/badge.svg)](https://github.com/Schero94/Magicmark/actions/workflows/test.yml)
[![Strapi 5.57+](https://img.shields.io/badge/Strapi-5.57%2B-4945ff.svg)](#compatibility)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Schero94/Magicmark/blob/main/LICENSE)

After

[![npm version](https://img.shields.io/npm/v/strapi-plugin-magic-mark.svg)](https://www.npmjs.com/package/strapi-plugin-magic-mark)
[![npm downloads](https://img.shields.io/npm/dm/strapi-plugin-magic-mark.svg)](https://www.npmjs.com/package/strapi-plugin-magic-mark)
[![CI build status](https://img.shields.io/github/actions/workflow/status/Schero94/Magicmark/test.yml?branch=main&label=CI&logo=github)](https://github.com/Schero94/Magicmark/actions/workflows/test.yml?query=branch%3Amain)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/Schero94/Magicmark/blob/main/LICENSE)
[![Strapi 5.57+](https://img.shields.io/badge/Strapi-5.57%2B-4945FF.svg)](https://github.com/Schero94/Magicmark#compatibility)
[![Documentation site](https://img.shields.io/badge/docs-project%20site-6d4aff.svg)](https://schero94.github.io/Magicmark/)

Checks: npm run lint, npm run format:check, npm test pass locally. Every badge image returns 200 image/svg+xml; every link resolves (npmjs.com answers 403 to curl, so the package was confirmed through registry.npmjs.org).

🤖 Generated with Claude Code

Schero94 and others added 4 commits November 17, 2026 22:35
Use the shared six-badge row (npm version, monthly downloads, CI, license,
Strapi peer floor, docs site) with absolute URLs, and show the same row in
the Pages hero.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fails when the badge row is missing or out of order, a badge or link is
relative, the Strapi badge differs from the @strapi/strapi peer floor, or
the npm badges name another package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Schero94
Schero94 merged commit a334fb5 into main Nov 18, 2026
5 checks passed
@Schero94
Schero94 deleted the docs/readme-badges branch November 19, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant