Giter VIP home page Giter VIP logo

megabyte-labs / conventional-changelog-emoji-config Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 2.83 MB

๐Ÿš€ A changelog configuration for Semantic Release that supports emojis

Home Page: https://megabyte.space

License: Other

Ruby 11.00% JavaScript 2.43% Shell 68.53% TypeScript 15.75% Handlebars 2.19% Dockerfile 0.10%
changelog config conventional-changelog emoji gitmoji mblabs megabytelabs preset professormanhattan washingtondc

conventional-changelog-emoji-config's Introduction

Conventional Changelog Emoji Config

A configuration managed by Megabyte Labs



A changelog configuration for Semantic Release that supports emojis


Table of Contents

Overview

This changelog is included in semantic-release-config. It supports emojis and is intended to work with commits submitted using git-cz with the cz-emoji-conventional configuration. This fork borrows the majority of its code from gitmoji-commit-workflow with some modifications intended to make the CHANGELOG.md look good on both GitLab and GitHub. Normally, you can only publish releases to either GitLab or GitHub but leveraging our custom semantic-release-gh plugin instead of the Semantic-branded plugin, you can post your releases to both GitLab and GitHub.

Requirements

If you are simply including this library in your project, all you need is a recent version of Node.js. Node.js >14.18.0 is sometimes required and is the only version range we actively support. Albeit, it is highly probable that lower versions will work as well depending on the requirements that this project imports.

Developer Requirements

The following versions of Node.js and Python are required for development:

Other versions may work, but only the above versions are supported. Most development dependencies are installed automatically by our Taskfile.yml set-up (even Node.js and Python). Run bash start.sh to install Bodega (an improved fork of go-task) and run the initialization sequence. The taskfiles will automatically install dependencies as they are needed, based on what development tasks you are running. For more information, check out the CONTRIBUTING.md or simply run:

npm run help

npm run help will ensure Bodega is installed and then open an interactive dialog where you can explore and learn about various developer commands.

Configuration File

conventional-changelog-emoji-config uses cosmiconfig to find and load your configuration object. Starting from the current working directory, it looks for the following possible sources:

  • a changelog property in package.json
  • a .changelogrc file
  • a changelog.config.js file exporting a JS object

The .changelogrc file (without extension) can be in JSON or YAML format. You can add a filename extension to help your text editor provide syntax checking and highlighting:

  • .changelogrc.json
  • .changelogrc.yaml / .changelogrc.yml
  • .changelogrc.js

The configuration object has the following signature:

interface ChangelogConfig {
  /**
   * map the scope to display name
   *
   * for example
   * {
   *     'config': 'commitlint-gitmoji-config'
   * }
   * will map all config 'scope' to 'commitlint-gitmoji-config' in the changelog
   * @default { }
   */
  scopeDisplayName?: Record<string, string>
  /**
   * display types
   * @default undefined
   */
  displayTypes?: string[]
  /**
   * whether to include emoji in title
   * @default true
   */
  withEmoji?: boolean
  /**
   * whether to show author
   * @default false
   */
  showAuthor?: boolean
}

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page. If you would like to contribute, please take a look at the contributing guide.

Sponsorship

Dear Awesome Person,

I create open source projects out of love. Although I have a job, shelter, and as much fast food as I can handle, it would still be pretty cool to be appreciated by the community for something I have spent a lot of time and money on. Please consider sponsoring me! Who knows? Maybe I will be able to quit my job and publish open source full time.

Sincerely,

Brian Zalewski

Open Collective sponsors GitHub sponsors Patreon

Affiliates

Below you will find a list of services we leverage that offer special incentives for signing up for their services through our special links:

MailChimp DigitalOcean Referral Badge

License

Copyright ยฉ 2020-2021 Megabyte LLC. This project is MIT licensed.

conventional-changelog-emoji-config's People

Contributors

professormanhattan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jpolo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.