@elsikora/commitizen-plugin-commitlint-ai 2.1.1-dev.2 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elsikora/commitizen-plugin-commitlint-ai",
|
|
3
|
-
"version": "2.1.1
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "AI-powered Commitizen adapter with Commitlint integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"conventional-changelog",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"build": "npm run prebuild && rollup -c",
|
|
37
37
|
"build:test": "npm run prebuild && rollup -c rollup.test.config.js",
|
|
38
38
|
"commit": "cz",
|
|
39
|
-
"commit:test": "bash ./test-commit-edit.sh",
|
|
40
39
|
"format": "prettier --check .",
|
|
41
40
|
"format:fix": "prettier --write .",
|
|
42
41
|
"lint": "eslint ./",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mock LLM provider for testing without real API calls
|
|
3
|
-
* Set MOCK_LLM=true environment variable to use this mock
|
|
4
|
-
*/
|
|
5
|
-
import type { CommitConfig, LLMPromptContext } from "./types.js";
|
|
6
|
-
/**
|
|
7
|
-
* Generate a mock commit message based on git diff analysis
|
|
8
|
-
* @param context
|
|
9
|
-
*/
|
|
10
|
-
export declare function generateCommitWithMock(context: LLMPromptContext): Promise<CommitConfig>;
|
|
11
|
-
/**
|
|
12
|
-
* Check if mock mode is enabled
|
|
13
|
-
*/
|
|
14
|
-
export declare function isMockEnabled(): boolean;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mock LLM provider for testing without real API calls
|
|
3
|
-
* Set MOCK_LLM=true environment variable to use this mock
|
|
4
|
-
*/
|
|
5
|
-
import type { CommitConfig, LLMPromptContext } from "./types.js";
|
|
6
|
-
/**
|
|
7
|
-
* Generate a mock commit message based on git diff analysis
|
|
8
|
-
* @param context
|
|
9
|
-
*/
|
|
10
|
-
export declare function generateCommitWithMock(context: LLMPromptContext): Promise<CommitConfig>;
|
|
11
|
-
/**
|
|
12
|
-
* Check if mock mode is enabled
|
|
13
|
-
*/
|
|
14
|
-
export declare function isMockEnabled(): boolean;
|