New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@owngames/conventional-gitmoji

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@owngames/conventional-gitmoji

Helper package for dual gitmoji / conventional commits

latest
Source
npmnpm
Version
0.0.1--canary.51.2893023504.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

@owngames/conventional-gitmoji

  • 🌉️ A bridge between gitmoji and conventional-commits configured for semantic-release.
  • 🛠️ A conventional-changelog plugin for semantic-release.

Usage

yarn install @owngames/conventional-gitmoji
import { releaseRules, typeSpecs, types } from '@owngames/conventional-gitmoji`
  • releaseRules: informs @semantic-release/commit-analyzer
  • typeSpecs: informs @owngames/release-notes-generator (via writerOpts)
    • @hack: This informs three different ways to ensure we catch the change from gitmoji to conventional
  • types: informs @owngames/git-cz for the gitmoji theme.

Commit Analyzer

  [
    '@semantic-release/commit-analyzer',
    {
      config: '@owngames/conventional-gitmoji',
      releaseRules,
    },
  ]

Release Notes Generator

  [
    '@owngames/release-notes-generator',
    {
      config: '@owngames/conventional-gitmoji',
    },
  ]

Overview

😄️ gitmoji

This maps gitmoji to an equivalent conventional-commit.

⚗️ Example(s):

  • ✨️ => feat
  • 🐛️ => fix
  • 🚑️ => hotfix

📝️ conventional-commits

This expands on the original conventional-commits nomenclature to account for the multitude coming from gitmoji

⚗️ Example(s):

  • ⚗️ (gitmoji)
    • alembic (emoji code)
    • experiement (conventional)
  • 🤡️ (gitmoji)
    • clown-face (emoji code)
    • mock (conventional)
  • 🚨️ (gitmoji)
    • rotating-light (emoji code)
    • lint (conventional)

🚀️ semantic-release

Adds semver to each type to inform @owngames/semantic how to handle each commit type (and if it is a convential branch type).

⚗️ Example(s):

{
  "experiment": {
    "branch": false,
    "code": ":alembic:",
    "commit": "experiment",
    "description": "Perform experiments.",
    "emoji": "⚗️",
    "entity": "📸",
    "name": "alembic",
    "semver": "patch"
  },
  "feat": {
    "branch": "feature",
    "code": ":sparkles:",
    "commit": "feat",
    "description": "Introduce new features.",
    "emoji": "✨",
    "entity": "✨",
    "name": "sparkles",
    "semver": "minor"
  },
  "log-add": {
    "branch": false,
    "code": ":loud_sound:",
    "commit": "log-add",
    "description": "Add or update logs.",
    "emoji": "🔊",
    "entity": "🔊",
    "name": "loud-sound",
    "semver": null
  }
}

📝️ Please Note: The values major|minor|patch are moving to breaking|feature|fix

FAQs

Package last updated on 20 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts