UNPKG

@ng-builders/semrel

Version:
19 lines 655 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function commitAnalyzer({ project }) { return [ '@semantic-release/commit-analyzer', { releaseRules: [ { type: 'feat', scope: project, release: 'minor' }, { type: 'fix', scope: project, release: 'patch' }, { type: 'perf', scope: project, release: 'patch' } ], parserOpts: { headerPattern: new RegExp(`^(\\w*)(?:\\((${project})\\))?: (.*)$`) } } ]; } exports.commitAnalyzer = commitAnalyzer; //# sourceMappingURL=commit-analyzer.js.map