git
, node
, yarn
..only
to errored tests to only run 1 test at a timerevert:
, followed by the header of the reverted commit. In the body it should say: This reverts commit <hash>.
, where the hash is the SHA of the commit being reverted. A commit with this format is automatically created by the git revert
command.BREAKING CHANGE:
with a space or two newlines. The rest of the commit message is then used for this.@param {type} name description
- describes a parameter of a function@returns {type} description
- describes what a function returns@property
- describes a property of an object@description
- used to provide a description of a component in markdown@example
- specifies an example.@public
- Only methods with @public tag will be included in the docstype
in @param
and @returns
must be wrapped in {}
curly braces, e.g. {Object|Array}
. Parameters can be made optional by either appending a =
to the type, e.g. {Object=}
, or by putting the [name]
in square brackets. Default values are only possible with the second syntax by appending =<value>
to the parameter name, e.g. @param {boolean} [ownPropsOnly=false]
.npm version major | minor | patch
to update version accordingly.git log --pretty=oneline --abbrev-commit
gh-release
: this command will create a new Github Release with the new updated CHANGELOG.md section.