Overview
A key benefit of lerna is the ability of being able to change multiple packages if needed in one PR to make fixes and feature implementation easier.
Conventional Commit message guidelines require the header format to be <type>(<scope>): <description> where scope is the affected package name. Travis CI enforces this convention using commitlint.
Depending on the outcome of https://github.com/marionebl/commitlint/issues/75 we need to create the new scope-types rule (if / when) there is a plugin API available for commitlint
OR
We need to implement our own solution that can leverage conventional-commits-parser with a custom headerPattern (adding , to the default pattern). Then split it and check against available packages (check commitlint's lerna config for getting scope-enum automatically).
Acceptance Criteria
Overview
A key benefit of lerna is the ability of being able to change multiple packages if needed in one PR to make fixes and feature implementation easier.
Conventional Commit message guidelines require the header format to be
<type>(<scope>): <description>where scope is the affected package name. Travis CI enforces this convention usingcommitlint.Depending on the outcome of https://github.com/marionebl/commitlint/issues/75 we need to create the new
scope-typesrule (if / when) there is a plugin API available forcommitlintOR
We need to implement our own solution that can leverage
conventional-commits-parserwith a customheaderPattern(adding,to the default pattern). Then split it and check against available packages (check commitlint's lerna config for getting scope-enum automatically).Acceptance Criteria