{"repo":"robsonnatanael/automatic-versioning-guide","free":true,"listed":false,"github":"https://github.com/robsonnatanael/automatic-versioning-guide","clone":"git clone https://github.com/robsonnatanael/automatic-versioning-guide.git","description":"This is a quick guide on how to implement automatic semantic versioning using husky.js, commitlint, semantic release and github actions.","language":"JavaScript","stars":16,"topics":["automation","changelog","version","release","semantic-release","release-automation","semantic-version"],"license":null,"category":"workflow-automation","readme_excerpt":"Automatic Versioning Guide About &#xa0; &#xa0; Requirements &#xa0; &#xa0; Configuration &#xa0; &#xa0; Author About This is a quick guide on how to implement automatic semantic versioning using husky.js, commitlint, semantic release and github actions. Requirements - git - node.js - npm or yarn\\ NOTE: If you choose to use npm, replace npm and npm run with yarn in the command to install dependencies and when executing the release script in the workflow. Configuration HuskyJS 1. Install husky 2. Setting up husky in project Commitlint 1. Install commitlint :link: 2. Configuration 3. Add hook Semantic Release 1. Install semantic-release 2. Install plugins :link: - Default plugins These four plugins are already part of semantic-release and are listed in order of execution. They do not have to be installed separately: - @semantic-release/commit-analyzer - @semantic-release/release-notes-generator - @semantic-release/npm - @semantic-release/github - Additional plugins 3. semantic-release configuration :link: - Create a .releaserc file, written in YAML, with optional extensions: .yaml / .yml / .json / .js - :memo: config file example - edit package.json and add release script 4. Set up Continuous Integration :link: Create a workflow with Continuous Integration processes to be executed whenever a new change is sent to the main branch, see an example here. Optional Run linters against staged git files and don't let errors slip into your code base 1. Install lint-staged 2. Set up the pre","default_branch":null,"files":null,"tree":[],"storefront":"/r/robsonnatanael","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/robsonnatanael/automatic-versioning-guide/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}