Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

evolvingkid/weekly_commit

Repository files navigation

weekly commit

This is a simple npm package to get the weekly commit from the project. For tracking weekly code change on the project.

Install and config

Install the package to your project as dev dependencies.

npm i --save-dev commitweekly

Run the package

To run the package. Run this command in the root folder of your project. Please make sure that you already add git to your project.

npx commit-weekly --userMail="<commit_user_email_id>"

To make the above commd easy to excute add a script to your package.json file.

{
 "scripts" : {
 "tasklist" : "npx commit-weekly --userMail="<commit_user_email_id>"
 }
}

config

It is a pain to always add usermail as params to your command. To solve this we can config the weekly commit according to you project and no need to think about it again.

Create a json file in the root of your project named weeklycommit.config.json. Now add the following json to the file.

{
 "userEmail" : "<commit_user_email_id>"
}

Currently this package is only able to get commit of a single user we will be adding all user, and multiuser with config file in the package soon.

About

Weekly commit message tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /