2 Commits

Author SHA1 Message Date
470f4fe730 1.4.1
Some checks failed
Default (tags) / security (push) Successful in 40s
Default (tags) / test (push) Successful in 2m18s
Default (tags) / release (push) Failing after 1m37s
Default (tags) / metadata (push) Successful in 1m59s
2024-12-13 22:16:48 +01:00
daeb38c91c fix(core): Corrected log formatting for commit information output in CodeFeed 2024-12-13 22:16:47 +01:00
4 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,10 @@
# Changelog # Changelog
## 2024-12-13 - 1.4.1 - fix(core)
Corrected log formatting for commit information output in CodeFeed
- Fixed formatting issue in commit log output within the CodeFeed class to ensure proper display of timestamps.
## 2024-12-13 - 1.4.0 - feat(CodeFeed) ## 2024-12-13 - 1.4.0 - feat(CodeFeed)
Enhance commit results with human-readable time Enhance commit results with human-readable time

View File

@ -1,6 +1,6 @@
{ {
"name": "@foss.global/codefeed", "name": "@foss.global/codefeed",
"version": "1.4.0", "version": "1.4.1",
"private": false, "private": false,
"description": "a module for creating feeds for code development", "description": "a module for creating feeds for code development",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@foss.global/codefeed', name: '@foss.global/codefeed',
version: '1.4.0', version: '1.4.1',
description: 'a module for creating feeds for code development' description: 'a module for creating feeds for code development'
} }

View File

@ -324,8 +324,7 @@ export class CodeFeed {
console.log(`Processed ${allCommits.length} commits in total.`); console.log(`Processed ${allCommits.length} commits in total.`);
for (const c of allCommits) { for (const c of allCommits) {
console.log(`______________________________________________________ console.log(`______________________________________________________
${c.prettyAgoTime} ${c.prettyAgoTime} ago:
${c.timestamp}
Commit ${c.hash} by ${c.org}/${c.repo} at ${c.timestamp} Commit ${c.hash} by ${c.org}/${c.repo} at ${c.timestamp}
${c.commitMessage} ${c.commitMessage}
Published on npm: ${c.publishedOnNpm} Published on npm: ${c.publishedOnNpm}