diff --git a/.doxie.render.js b/.doxie.render.js index 2ce154d..8eee622 100644 --- a/.doxie.render.js +++ b/.doxie.render.js @@ -20,7 +20,7 @@ var render = function(data) { '\n', ]; - if (data.dependencies.length > 0) { + if (data.dependencies && data.dependencies.length > 0) { doc = doc.concat([ 'Install the dependencies `npm i ' + data.dependencies.join(' ') + ' --save-dev`', diff --git a/README.md b/README.md index 72a42a2..e888212 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,9 @@ * [gh-pages](https://github.com/npm-scripts/scripts#gh-pages) * [develop](https://github.com/npm-scripts/scripts#develop) * [diffy-package](https://github.com/npm-scripts/scripts#diffy-package) +* [push tags](https://github.com/npm-scripts/scripts#push-tags) +* [changelog](https://github.com/npm-scripts/scripts#changelog) +* [github-release](https://github.com/npm-scripts/scripts#github-release) @@ -108,5 +111,41 @@ Make the package.json more diff-friendly. Remember to install the dependencies b Install the dependencies `npm i format-json sponge --save-dev` +## push tags + +Git push relevant annotated tags when pushing branches out. + +```json +"scripts": { + "push": "git push --follow-tags" +} +``` + +## changelog + +Generate a changelog from git metadata. + +```json +"scripts": { + "conventional-changelog": "conventional-changelog -p angular -i CHANGELOG.md -w" +} +``` + + +Install the dependencies `npm i conventional-changelog --save-dev` + +## github-release + +Make a new GitHub release from git metadata. + +```json +"scripts": { + "conventional-github-releaser": "conventional-github-releaser -p angular" +} +``` + + +Install the dependencies `npm i conventional-github-releaser --save-dev` + diff --git a/contributing.md b/contributing.md index 8158552..9aaae67 100644 --- a/contributing.md +++ b/contributing.md @@ -19,7 +19,7 @@ "npm", " pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy