-
Notifications
You must be signed in to change notification settings - Fork 0
docs: update CONTRIBUTING.md and README.md with npm provenance details and additional badges #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,23 @@ | |||||
| <img src="public/img/typescript-type-guard-logo.png" alt="typescript-type-guards logo" /> | ||||||
| </p> | ||||||
|
|
||||||
| <p align="center"> | ||||||
| <a href="https://www.npmjs.com/package/@coderrob/typescript-type-guards"> | ||||||
| <img src="https://img.shields.io/npm/v/%40coderrob%2Ftypescript-type-guards?logo=npm&logoColor=white" alt="npm version" /> | ||||||
| </a> | ||||||
| <a href="https://www.npmjs.com/package/@coderrob/typescript-type-guards"> | ||||||
| <img src="https://img.shields.io/npm/dm/%40coderrob%2Ftypescript-type-guards?logo=npm&logoColor=white" alt="npm downloads" /> | ||||||
| </a> | ||||||
| <a href="https://github.com/Coderrob/typescript-type-guards/actions/workflows/ci.yml"> | ||||||
| <img src="https://img.shields.io/github/actions/workflow/status/Coderrob/typescript-type-guards/ci.yml?branch=main&label=ci" alt="CI status" /> | ||||||
| </a> | ||||||
| <img src="https://img.shields.io/badge/coverage-100%25-brightgreen" alt="Coverage 100%" /> | ||||||
| <a href="LICENSE"> | ||||||
|
||||||
| <a href="LICENSE"> | |
| <a href="https://github.com/Coderrob/typescript-type-guards/blob/main/LICENSE"> |
Copilot
AI
Apr 2, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Node.js support badge lists 20/22/24, but the CI workflow currently only tests Node 20 and 22 (.github/workflows/ci.yml matrix). Either add Node 24 to the CI matrix or adjust the badge to match what is actually exercised in CI to avoid misleading consumers.
| <img src="https://img.shields.io/badge/node-20%20%7C%2022%20%7C%2024-339933?logo=node.js&logoColor=white" alt="Node.js 20, 22, and 24" /> | |
| <img src="https://img.shields.io/badge/node-20%20%7C%2022-339933?logo=node.js&logoColor=white" alt="Node.js 20 and 22" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The coverage badge is hard-coded to "100%", but the repo enforces a 95% per-file threshold (see scripts/check-file-coverage.mjs). A static value is likely to become inaccurate; consider switching to a dynamically generated coverage badge (e.g., from a coverage reporting service) or removing the percentage if it isn't sourced from CI output.