Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
version badge in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Mar 18, 2024
1 parent 78698fa commit c4552da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/cmd-fns/init/get-generated-readme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ export const getGeneratedReadme = ({
}) => {
return `
# ${name}
[![tscircuit version badge](https://registry.tscircuit.com/badges/view?package_name=${name.replace(
"/",
"."
)})](https://registry.tscircuit.com/${name.replace("@", "")})
${
shouldHaveProjectGeneratedNotice
? `\n\n> This project was generated using [tsci](https://github.com/tscircuit/tscircuit)\n`
Expand Down

0 comments on commit c4552da

Please sign in to comment.