See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
| <div class="container"> | |
| <label class="field-form" for="name"> | |
| <input class="field" name="name" type="text" required autocomplete="off"> | |
| <span class="label">Nome</span> | |
| </label> | |
| </div> |
| /* | |
| * Add multiples "Event Listener" to an element | |
| * @param {Node} element HTML Element | |
| * @param {String} events All the events you want separated by a space | |
| * @param {Object} fn The function you wanna execute to all these events | |
| */ | |
| addEventListenerAll(element, events, fn){ // Function | |
| events.split(' ').forEach(event => { | |
| element.addEventListener(event, fn) | |
| }) |
| /** | |
| * Takes a number and create an array from it | |
| * @param {Number} number | |
| * @returns {Object} | |
| */ | |
| function numberToArray(number){ | |
| return Array.from(String(number), digit => { | |
| return Number(digit) | |
| }) | |
| } |
| <script src="./js/jquery-3.6.0.js"></script> | |
| <script> | |
| $(function () { | |
| const includes = $('[data-include]') | |
| $.each(includes, function(){ | |
| let file = 'includes/' + $(this).data('include') + '.html' | |
| $(this).load(file) | |
| }) | |
| }) |
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
| #!/bin/bash | |
| FINISHED=false | |
| while ! $FINISHED; do | |
| echo 'Enter the files you want to commit: ' | |
| read FILES | |
| if [ $FILES == '.' ]; then | |
| git add $FILES | |
| FINISHED=true | |
| else |
| { | |
| "scripts": { | |
| "dev": "ts-node-dev -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify bin/www.ts" | |
| } | |
| } |
| { | |
| "env": { | |
| "es2021": true, | |
| "node": true, | |
| "jest": true | |
| }, | |
| "extends": "standard-with-typescript", | |
| "overrides": [ | |
| ], | |
| "parserOptions": { |
| { | |
| "scripts": { | |
| "test": "jest --watch --verbose", | |
| "test-coverage": "jest --coverage" | |
| }, | |
| "devDependencies": { | |
| "@faker-js/faker": "...", | |
| "factory-girl": "...", | |
| "faker": "...", |
| module.exports = { | |
| presets: [ | |
| [ | |
| '@babel/preset-env', | |
| { | |
| targets: { | |
| node: 'current' | |
| } | |
| } | |
| ], |