From 5339a27abe4029fdc9d6a00e0c6e16bfd127f624 Mon Sep 17 00:00:00 2001 From: Adrian Mejia Date: Mon, 22 Apr 2019 14:02:53 -0400 Subject: [PATCH 001/249] docs(contributing): clarify git commits format --- CONTRIBUTING.md | 15 +++++++-------- notes.md | 6 ++---- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9bf23cf4..4b5a14d3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -127,16 +127,15 @@ If the commit reverts a previous commit, it should begin with `revert: `, follow ### Type Must be one of the following: -* **break**: Breaking changes. Remove functionality or change API. Breaks backward compatibility * **feat**: A new feature * **fix**: A bug fix +* **docs**: Documentation only changes * **build**: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) * **ci**: Changes to our CI configuration files and scripts (example scopes: Circle, BrowserStack, SauceLabs) -* **docs**: Documentation only changes -* **perf**: A code change that improves performance +* **test**: Adding missing tests or correcting existing tests * **refactor**: A code change that neither fixes a bug nor adds a feature * **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) -* **test**: Adding missing tests or correcting existing tests +* **perf**: A code change that improves performance ### Scope The scope should be the name of the npm package affected (as perceived by the person reading the changelog generated from commit messages. @@ -190,8 +189,8 @@ New features in this release ```sh git log HEAD --grep feat -# example -git log 6.0.0..HEAD --pretty=format:%s | grep feat -# -git log 6.0.0..HEAD --pretty=format:"- %s [commit](https://github.com/amejiarosario/dsa.js/commit/%H)" | grep feat +# examples +git log 1.2.0..HEAD --pretty=format:"- %s [commit](https://github.com/amejiarosario/dsa.js/commit/%H)" --grep "BREAKING CHANGE:" +git log 1.2.0..HEAD --pretty=format:"- %s [commit](https://github.com/amejiarosario/dsa.js/commit/%H)" --grep "^feat\S*:" +git log 1.2.0..HEAD --pretty=format:"- %s [commit](https://github.com/amejiarosario/dsa.js/commit/%H)" --grep "^fix\S*:" ``` diff --git a/notes.md b/notes.md index eee7094e..e4260290 100644 --- a/notes.md +++ b/notes.md @@ -22,11 +22,9 @@ git log HEAD --pretty=format:%s # example git log 1.1.0..HEAD --pretty=format:%s -git log 1.2.0..HEAD --pretty=format:"- %s [commit](https://github.com/amejiarosario/dsa.js/commit/%H)" --grep "^fix.*:" - -git log 1.2.0..HEAD --pretty=format:"- %s [commit](https://github.com/amejiarosario/dsa.js/commit/%H)" --grep "^break.*:" - +git log 1.2.0..HEAD --pretty=format:"- %s [commit](https://github.com/amejiarosario/dsa.js/commit/%H)" --grep "BREAKING CHANGE:" git log 1.2.0..HEAD --pretty=format:"- %s [commit](https://github.com/amejiarosario/dsa.js/commit/%H)" --grep "^feat.*:" +git log 1.2.0..HEAD --pretty=format:"- %s [commit](https://github.com/amejiarosario/dsa.js/commit/%H)" --grep "^fix.*:" ``` New features in this release From 3f74209f6c3e972f23c544cc233d242e4ce681c7 Mon Sep 17 00:00:00 2001 From: Adrian Mejia Date: Tue, 30 Apr 2019 14:27:53 -0400 Subject: [PATCH 002/249] style: add badges --- CONTRIBUTING.md | 26 +++++++++++++++++++++++++- README.md | 10 ++++++++-- 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4b5a14d3..50b826a3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -104,6 +104,16 @@ format that includes a **type**, a **scope** and a **subject**: