Compare commits

..

1 Commits

Author SHA1 Message Date
renovate-bot 0ca79acd52 chore(deps): update dependency conventional-commits-parser to v7
renovate/stability-days Updates have met minimum release age requirement
CI / Test (pull_request) Failing after 7s
CI / Check Dist (pull_request) Successful in 7s
CI / Dry-Run (pull_request) Failing after 7s
CI / Dry-Run Prerelease (pull_request) Failing after 7s
2026-08-06 16:05:32 +00:00
3 changed files with 5 additions and 9 deletions
+2 -3
View File
File diff suppressed because one or more lines are too long
+2 -4
View File
@@ -1,5 +1,5 @@
import * as core from "@actions/core";
import { CommitParser } from "conventional-commits-parser";
import * as ccp from "conventional-commits-parser";
import type { Commit } from "conventional-commits-parser";
import { execSync } from "child_process";
@@ -30,10 +30,8 @@ export interface CoreService {
}
export class ConventionalCommitAnalyzer {
private commitParser = new CommitParser();
analyzeCommit(message: string): Commit {
return this.commitParser.parse(message);
return ccp.sync(message);
}
determineIncrementType(analyzedCommit: Commit): IncrementType {
+1 -2
View File
@@ -16,8 +16,7 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"exactOptionalPropertyTypes": true,
"noImplicitOverride": true,
"types": ["node"]
"noImplicitOverride": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts"]