gem install tmuxinator
# File: ~/.tmuxinator/project-name.yml
name: project-name
| import * as hookMod from 'angular2/src/router/lifecycle_annotations'; | |
| import * as routerMod from 'angular2/src/router/router'; | |
| import {isBlank, isPresent} from 'angular2/src/facade/lang'; | |
| import {StringMapWrapper} from 'angular2/src/facade/collection'; | |
| import {Promise, PromiseWrapper} from 'angular2/src/facade/async'; | |
| import {BaseException} from 'angular2/src/facade/exceptions'; | |
| import { | |
| ElementRef, DynamicComponentLoader, Directive, Injector, provide, ComponentRef, Attribute | |
| } from 'angular2/core'; | |
| import { |
the following regex will validate all examples provided here: https://www.conventionalcommits.org/en/v1.0.0/
^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)
a grep/posix compatible variant
^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([[:alnum:]._-]+\))?(!)?: ([[:alnum:]])+([[:space:][:print:]]*)
| #!/bin/bash | |
| file=$(find ./.changeset/ -type f -name '*.md' | grep -E '^[./a-z-]+\.md$') | |
| prompt_template=$(cat <<-END | |
| You are a programmer, trained to write commit messages. | |
| You follow the Conventional Commits specification. | |
| feat: for new features | |
| chore: for maintenance work | |
| fix: for bug fixes |