Compare commits

..

No commits in common. "ffc99bbc788533f0a31a588bb6ecd001ebead49e" and "eb7f5dc940b757d70d2fc2072f730545293a995b" have entirely different histories.

5 changed files with 56 additions and 30 deletions

1
.github/FUNDING.yml vendored
View File

@ -1,4 +1,3 @@
github: ionicabizau
patreon: ionicabizau
open_collective: ionicabizau
custom: https://www.buymeacoffee.com/h96wwchmy

View File

@ -1,41 +1,66 @@
# Contributing :star: :star2: :dizzy:
# :eight_spoked_asterisk: :stars: :sparkles: :dizzy: :star2: :star2: :sparkles: :dizzy: :star2: :star2: Contributing :star: :star2: :dizzy: :sparkles: :star: :star2: :dizzy: :sparkles: :stars: :eight_spoked_asterisk:
So, you want to contribute to this project? That's awesome! However, before doing so, please read the following simple steps on how to contribute. This will make life easier and avoid wasting time on things that are not requested. ✨
So, you want to contribute to this project! That's awesome. However, before
doing so, please read the following simple steps how to contribute. This will
make the life easier and will avoid wasting time on things which are not
requested. :sparkles:
## Discuss the changes before making them
To begin, open an issue in the repository using the [bug tracker][1]. Describe the contribution you'd like to make, the bug you've found, or any other ideas you have. This step will help us get you started on the right track.
## Discuss the changes before doing them
- First of all, open an issue in the repository, using the [bug tracker][1],
describing the contribution you would like to make, the bug you found or any
other ideas you have. This will help us to get you started on the right
foot.
If it is relevant, include platform and software information (e.g., operating system, Node.JS version, etc.) and screenshots to help us understand what you're experiencing.
- If it makes sense, add the platform and software information (e.g. operating
system, Node.JS version etc.), screenshots (so we can see what you are
seeing).
We recommend waiting for feedback before proceeding to the next steps. However, if the issue is clear, such as a typo, and the fix is simple, you can go ahead and fix it.
- It is recommended to wait for feedback before continuing to next steps.
However, if the issue is clear (e.g. a typo) and the fix is simple, you can
continue and fix it.
## Fixing Issues
Begin by forking the project to your own account, and create a branch for your fix, naming it either `some-great-feature` or `some-issue-fix`.
## Fixing issues
- Fork the project in your account and create a branch with your fix:
`some-great-feature` or `some-issue-fix`.
Commit your changes to that branch, adhering to the [code style][2]. If the project includes tests (usually located in the `test` directory), we encourage you to add a test as well. :memo:
- Commit your changes in that branch, writing the code following the
[code style][2]. If the project contains tests (generally, the `test`
directory), you are encouraged to add a test as well. :memo:
If the project includes a `package.json` or a `bower.json` file, add yourself to the `contributors` array (or `authors` in the case of `bower.json`). If the array doesn't exist, create it as shown below:
- If the project contains a `package.json` or a `bower.json` file add yourself
in the `contributors` array (or `authors` in the case of `bower.json`;
if the array does not exist, create it):
```json
{
"contributors": [
"Your Name <your@email.address> (http://your.website)"
]
}
```
```json
{
"contributors": [
"Your Name <and@email.address> (http://your.website)"
]
}
```
## Creating a Pull Request
Start by opening a pull request and make sure to reference the initial issue in the pull request message (e.g., *fixes #<your-issue-number>*). Provide a clear and descriptive title to help everyone understand what is being fixed or improved.
## Creating a pull request
If applicable, consider adding screenshots, gifs, or any other visual aids that can make it easier to understand the changes you've made.
- Open a pull request, and reference the initial issue in the pull request
message (e.g. *fixes #<your-issue-number>*). Write a good description and
title, so everybody will know what is fixed/improved.
## Wait for Feedback
Before accepting your contributions, we will review them. You may receive feedback regarding what needs to be addressed in your modified code. If so, simply continue making commits to your branch, and the pull request will be automatically updated.
- If it makes sense, add screenshots, gifs etc., so it is easier to see what
is going on.
## Everyone Is Happy!
Ultimately, your contributions will be merged, and everyone will be delighted! 😄 Contributions are more than welcome!
## Wait for feedback
Before accepting your contributions, we will review them. You may get feedback
about what should be fixed in your modified code. If so, just keep committing
in your branch and the pull request will be updated automatically.
## Everyone is happy!
Finally, your contributions will be merged, and everyone will be happy! :smile:
Contributions are more than welcome!
Thanks! :sweat_smile:
[1]: /issues
[1]: https://github.com/IonicaBizau/git-stats/issues
[2]: https://github.com/IonicaBizau/code-style

View File

@ -1,6 +1,8 @@
#!/usr/bin/env node
"use strict";
process.argv.push("--color=256");
const Tilda = require("tilda")
, GitStatsLib = require("..")
, Ul = require("ul")

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "git-stats",
"version": "3.2.0",
"version": "3.1.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "git-stats",
"version": "3.2.0",
"version": "3.1.2",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@ -3,7 +3,7 @@
"git-stats": "bin/git-stats"
},
"name": "git-stats",
"version": "3.2.0",
"version": "3.1.2",
"description": "Local git statistics including GitHub-like contributions calendars.",
"main": "lib/index.js",
"scripts": {
@ -286,4 +286,4 @@
"bloggify.json",
"bloggify/"
]
}
}