@storm-software/git-tools
Version:
Tools for managing Git repositories within a Nx workspace.
22 lines (19 loc) • 685 B
TypeScript
import { DefaultCommitRulesEnum } from '../types.js';
import '@nx/devkit';
import 'nx/src/config/nx-json';
declare const DEFAULT_COMMIT_RULES: DefaultCommitRulesEnum;
declare const DEFAULT_COMMITLINT_CONFIG: {
rules: DefaultCommitRulesEnum;
helpUrl: string;
parserOpts: {
headerPattern: RegExp;
breakingHeaderPattern: RegExp;
headerCorrespondence: string[];
noteKeywords: string[];
revertPattern: RegExp;
revertCorrespondence: string[];
issuePrefixes: string[];
};
};
type CommitLintOptions = typeof DEFAULT_COMMITLINT_CONFIG;
export { type CommitLintOptions, DEFAULT_COMMITLINT_CONFIG, DEFAULT_COMMIT_RULES };