Coder Social home page Coder Social logo

emoji-cz's Introduction

emoji-cz

✨ Un adaptador con emoji para commitizen.

NPM

? Selecciona el tipo de cambio que estas enviando: (Use arrow keys)
❯ ✨  Feat:      Una nueva característica
  🐛  Fix:       Una corrección de error
  📚  Docs:      Cambios solamente en documentación
  🎨  Style:     Cambios que no afectan el código.
  🔨  Refactor:  Un cambio de código que no corrige un error ni agrega una característica
  🚀  Perf:      Un cambio de código que mejora el rendimiento.
  🚨  Test:      Agregar pruebas faltantes o corregir pruebas existentes

Demo

Solo mira el historial de confirmaciones ☝️

Instalation

yarn global add @rsurjano/emoji-cz
# O
# npm install --global @rsurjano/emoji-cz

establecer como adaptador predeterminado globalmente
echo '{ "path": "emoji-cz" }' > ~/.czrc

Uso

Simplemente use git cz en lugar degit commit cuando se comprometa. Ver el documento de Commitizen para más información.

Configuraciones

Puede sobrescribir la configuración de 3 formas diferentes, aplicará la configuración en este orden:

  1. package.json
  2. .cz.json
  3. .czrc
// in package.json
"config": {
  "commitizen": {
    // ...
    "emoji-cz": {
      // Overwrite types prompted to the command line.
      "types": {
        "Fix": {
          "emoji": "🐝", // overwrite "Fix" emoji to a bee
          "name": "Bug", // overwrite "Fix" name to "Bug"
          "description": "Dirty bug" // overwrite description of "Fix"
        },
        // add a new type "Chore"
        "Chore": {
          "emoji": "❓",
          "description": "Other changes that don't modify src or test files"
        }
      },

      // Overwrite the output commit subject in the specified format.
      // Below is the default format,
      // [emoji] will be replace with the chose type's emoji,
      // [name] will be replace with the chose type's name,
      // [subject] will be replace with the subject you entered.
      // One example output of the format can be: `✨ Feat: initial commit`
      "format": "[emoji] [name]: [subject]"
    }
  }
}

// in .cz.json or .czrc
{
  "emoji-cz": {
    //...
  }
}

Autor

Roy Surjano [email protected]

Licencia

MIT

emoji-cz's People

Contributors

rsurjano avatar kevin940726 avatar lxxyx avatar

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.