Git Product home page Git Product logo

Comments (8)

kentcdodds avatar kentcdodds commented on September 17, 2024

No way! @jimthedev, this is yours? Sweet! πŸ‘

from cz-cli.

jimthedev avatar jimthedev commented on September 17, 2024

πŸ‘‹ Hi @kentcdodds! Yes it is :) Glad you're enjoying it.

I think this should totally be possible. I use Bitbucket at work with Jira so it would actually be nice to have.

Here's how we'd do it.

  1. We'd fork the conventional changelog adapter and call the new repo something like cz-jira-smart-commit.
  2. We'd edit package.json and index.js in our newly forked adapter repo to ask for any fields that we want to prompt the user for. We'd also edit the formatting of the final message that gets used for the commit message. It is at the end of index.js.
  3. We'd publish it as an npm module.
  4. Any user wanting to use this adapter would just edit their .cz.json in the root of the project to point to that adapter and add the adapter to their package.json file.

I probably won't be able to get to it for a week or two but if you want to play with it then let me know and I can set you up in the organization so that you can add adapter repos.

Jim

from cz-cli.

kentcdodds avatar kentcdodds commented on September 17, 2024

Wow, this is remarkably pluggable/simple. I'll take a stab at it!

from cz-cli.

kentcdodds avatar kentcdodds commented on September 17, 2024

Could you at least create the initial repo and add me as a team member?

from cz-cli.

jimthedev avatar jimthedev commented on September 17, 2024

@kentcdodds You're an admin, now. ;) Name it whatever you like. I need to write some tests and figure out if there is a better way to deal with whitespace formatting in Inquirer prompts, but otherwise it works pretty well for now. Glad you're using it and hacking on it.

from cz-cli.

kentcdodds avatar kentcdodds commented on September 17, 2024

I'll give it a go!

from cz-cli.

kentcdodds avatar kentcdodds commented on September 17, 2024

Well, I'm pretty sure we're all set! https://github.com/commitizen/cz-jira-smart-commit

from cz-cli.

jimthedev avatar jimthedev commented on September 17, 2024

Great! Psyched to give this a go. Thanks for the repo @kentcdodds!

from cz-cli.

Related Issues (20)

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.