diff --git a/.all-contributorsrc b/.all-contributorsrc index 72a5e1a..b661835 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -116,6 +116,15 @@ "contributions": [ "code" ] + }, + { + "login": "Errorname", + "name": "Thibaud Courtoison", + "avatar_url": "https://avatars2.githubusercontent.com/u/6669733?v=4", + "profile": "https://errorna.me", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, diff --git a/README.md b/README.md index 18c3e93..b0ac46f 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ Feel free to check [issues page](https://github.com/kefranabg/readme-md-generato Sasha Semanyuk
Sasha Semanyuk

💻 Antoine Caron
Antoine Caron

💻 ⚠️ 🤔 Swapnik Katkoori
Swapnik Katkoori

💻 + Thibaud Courtoison
Thibaud Courtoison

💻 diff --git a/src/__snapshots__/readme.spec.js.snap b/src/__snapshots__/readme.spec.js.snap index acc88ae..f29b460 100644 --- a/src/__snapshots__/readme.spec.js.snap +++ b/src/__snapshots__/readme.spec.js.snap @@ -3,7 +3,9 @@ exports[`readme buildReadmeContent should return readme default template content 1`] = ` "

Welcome to readme-md-generator 👋

- \\"Version\\" + + \\"Version\\" + @@ -77,7 +79,7 @@ _This README was generated with ❤️ by [readme-md-generator](https://github.c exports[`readme buildReadmeContent should return readme default template no html content 1`] = ` "# Welcome to readme-md-generator 👋 -![Version](https://img.shields.io/npm/v/readme-md-generator.svg) +[![Version](https://img.shields.io/npm/v/readme-md-generator.svg)](https://www.npmjs.com/package/readme-md-generator) ![Prerequisite](https://img.shields.io/badge/npm-%3E%3D5.5.0-blue.svg) ![Prerequisite](https://img.shields.io/badge/node-%3E%3D%209.3.0-blue.svg) [![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://github.com/kefranabg/readme-md-generator#readme) diff --git a/templates/default-no-html.md b/templates/default-no-html.md index d9df9ce..77c78ac 100644 --- a/templates/default-no-html.md +++ b/templates/default-no-html.md @@ -1,6 +1,6 @@ # Welcome to <%= projectName %> 👋 <% if (isProjectOnNpm) { -%> -![Version](https://img.shields.io/npm/v/<%= projectName %>.svg) +[![Version](https://img.shields.io/npm/v/<%= projectName %>.svg)](https://www.npmjs.com/package/<%= projectName %>) <% } -%> <% if (projectVersion && !isProjectOnNpm) { -%> ![Version](https://img.shields.io/badge/version-<%= projectVersion %>-blue.svg?cacheSeconds=2592000) diff --git a/templates/default.md b/templates/default.md index 3e71b88..1aaf501 100644 --- a/templates/default.md +++ b/templates/default.md @@ -1,7 +1,9 @@

Welcome to <%= projectName %> 👋

<% if (isProjectOnNpm) { -%> - Version + + Version + <% } -%> <% if (projectVersion && !isProjectOnNpm) { -%> Version