Create a new project from this template by running
taito template create: tool-template
.
TIP: If you don't need docker, you can add a
start
script to your package.json, and remove the docker files, build/push steps (cloudbuild.yaml) and the docker plugin configuration (taito-config.sh).
- taito-cli
- docker-compose (>= 1.11)
- Linter plugins for your code editor
- Taito conventions: General conventions
- Taito-cli
- Basic git commands
Install libraries on host for linting, autocompletion and commit validation purposes:
$ taito install
Init shell environment before starting your editor:
$ taito env
Run the tool:
$ taito start [-- ARGS]
Run the examples:
$ taito start: examples [-- ARGS]
Start a shell in the tool container:
$ taito shell
Write taito op
and press TAB to get the list of most important commands for operating your project. Run taito COMMAND -h
to search for a command (e.g taito log -h
, taito clean -h
). Run taito -h
to get detailed instructions for all commands. For troubleshooting run taito --trouble
.
Development is executed in separate feature branches. Note that most feature branches should be short-lived and located only on your local git repository. A new release is made by merging changes from a feature branch to master branch, which triggers an automated CI build.
TIP: Use the
taito git feat
commands to manage your feature branches.
All commit messages must be structured according to the Conventional Commits convention as application version number and release notes are generated automatically during release by the semantic-release library. Commit messages are automatically validated before commit. You can also edit autogenerated release notes afterwards in GitHub (e.g. to combine some commits and clean up comments). Couple of commit message examples:
feat(dashboard): Added news on the dashboard.
fix(login): Fixed header alignment.
Problem persists with IE9, but IE9 is no longer supported.
Closes #87, #76
feat(ux): New look and feel
BREAKING CHANGE: Not really breaking anything, but it's a good time to
increase the major version number.
You can use any of the following types in your commit message. Use at least types fix
and feat
.
wip
: Work-in-progress (small commits that will be squashed later to one larger commit before merging them to one of the environment branches)feat
: A new featurefix
: A bug fixdocs
: Documentation only changesstyle
: Code formattingrefactor
: Refactoringperf
: Performance tuningtest
: Implementing missing tests or correcting existing onesrevert
: Revert previous commit.build
: Build system changesci
: Continuous integration changes (cloudbuild.yaml)chore
: maintenance
TIP: Optionally you can use
npm run commit
to write your commit messages by using commitizen, though often it is quicker to write commit messages by hand.
NOTE: Contacts are used from package.json. Do not modify the headers of the development and maintenance chapters, and do not add any extra content in the chapters either.
- Project Manager: TODO John Doe, john.doe@domain.com, 050 1234 567
- Designer: TODO Jane Doe, jane.doe@domain.com, 050 1234 567
- Project Manager: TODO John Doe, john.doe@domain.com, 050 1234 567