Compare commits

...

6 Commits

Author SHA1 Message Date
Ionică Bizău eb7f5dc940 Updated docs 2023-10-19 11:42:19 +03:00
Ionică Bizău 4d1e603780 Merge branch 'patch-1' of github.com:alexander-mart/git-stats into new-version 2023-10-19 11:40:33 +03:00
Ionică Bizău 9f0c31894d ⬆️ 3.1.2 🎉 2023-10-19 11:40:20 +03:00
Alexander Mart 1401a3e97c
doc: first_day is depecated 2023-04-24 06:06:55 +07:00
Alexander Mart ce43999e5f
first_day is depecated. close #121 2023-04-24 06:04:50 +07:00
Alexander Mart a4b43a65ff
doc: first_day is depecated. close #121 2023-04-24 06:03:18 +07:00
5 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2015-22 Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net) Copyright (c) 2015-23 Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -206,7 +206,7 @@ module.exports = {
// The file where the commit hashes will be stored // The file where the commit hashes will be stored
, "path": "~/.git-stats" , "path": "~/.git-stats"
// First day of the week // [DEPRECATED] First day of the week https://github.com/IonicaBizau/git-stats/issues/121
, first_day: "Sun" , first_day: "Sun"
// This defaults to *one year ago* // This defaults to *one year ago*

View File

@ -469,7 +469,7 @@ class GitStats {
theme: options.theme theme: options.theme
, start: options.start , start: options.start
, end: options.end , end: options.end
, firstDay: options.firstDay , firstDay: options.firstDay // [DEPRECATED] https://github.com/IonicaBizau/git-stats/issues/121
, cal: cal , cal: cal
, raw: options.raw , raw: options.raw
} }
@ -661,6 +661,7 @@ GitStats.DEFAULT_CONFIG = {
// This defaults in library // This defaults in library
, path: undefined , path: undefined
// [DEPRECATED] https://github.com/IonicaBizau/git-stats/issues/121
// This defaults in cli-gh-cal // This defaults in cli-gh-cal
, first_day: undefined , first_day: undefined

4
package-lock.json generated
View File

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

View File

@ -3,7 +3,7 @@
"git-stats": "bin/git-stats" "git-stats": "bin/git-stats"
}, },
"name": "git-stats", "name": "git-stats",
"version": "3.1.1", "version": "3.1.2",
"description": "Local git statistics including GitHub-like contributions calendars.", "description": "Local git statistics including GitHub-like contributions calendars.",
"main": "lib/index.js", "main": "lib/index.js",
"scripts": { "scripts": {
@ -192,7 +192,7 @@
" // The file where the commit hashes will be stored", " // The file where the commit hashes will be stored",
" , \"path\": \"~/.git-stats\"", " , \"path\": \"~/.git-stats\"",
"", "",
" // First day of the week", " // [DEPRECATED] First day of the week https://github.com/IonicaBizau/git-stats/issues/121",
" , first_day: \"Sun\"", " , first_day: \"Sun\"",
"", "",
" // This defaults to *one year ago*", " // This defaults to *one year ago*",
@ -286,4 +286,4 @@
"bloggify.json", "bloggify.json",
"bloggify/" "bloggify/"
] ]
} }