wiki-plugin-farmmanager/scripts/update-authors.cjs
Christian Galo be9f5bc20c
Some checks failed
CI / build (20.x) (push) Has been cancelled
CI / build (22.x) (push) Has been cancelled
from template npm create wiki-plugin@latest FarmManager
2025-06-08 15:47:58 -05:00

16 lines
317 B
JavaScript

const gitAuthors = require('grunt-git-authors')
gitAuthors.updatePackageJson({ order: 'date' }, error => {
if (error) {
console.log('Error: ', error)
}
})
gitAuthors.updateAuthors((error, filename) => {
if (error) {
console.log('Error: ', error)
} else {
console.log(filename, 'updated')
}
})