Giter VIP home page Giter VIP logo

Comments (8)

stevemao avatar stevemao commented on May 26, 2024 1

feat is a type, : is just a separator. when the scope is omitted, it looks like feat: short description. Its the same as feat(): short description or feat(*): short description

from conventionalcommits.org.

damianopetrungaro avatar damianopetrungaro commented on May 26, 2024

About the 2 you are not excluding the colon from the type, just moving it at the end of type+scope definition.

About the one i agree, we can also think about the difference between feat and improve, and rename them so that they may be more explicit.

For example in my company we are using conventional commits, and sometimes we have some issue about feat meaning. improve may fit better the case (also another verb but this one is the more generic), because it is not a feature, the are not improving the performance, we are not refactoring but we are improving the implementation of the functionality.

from conventionalcommits.org.

damianopetrungaro avatar damianopetrungaro commented on May 26, 2024

I think it's related also to #28. We can change in a more explicit and clear way.

from conventionalcommits.org.

stevemao avatar stevemao commented on May 26, 2024

In spec, the type field is specified as a verb, whereas feat itself is a noun, and so does chore, style, perf, etc.

It's definitely a noun not a verb. PR welcome.

In summary, the types are exampled with colon, e.g.fix:, feat:, while its definition is [optional scope]:, which excludes colon from type name.

I don't really understand this and it seems correct to me. Maybe @damianopetrungaro got the point.

from conventionalcommits.org.

doodlewind avatar doodlewind commented on May 26, 2024

@stevemao the formal definition is <type>[optional scope]:, so I guess feat is a valid type while feat: may not? See also json spec, its pair consists of string : value, so in a captious way, string is valid instead of string:.

from conventionalcommits.org.

stevemao avatar stevemao commented on May 26, 2024

I've seen all three forms in the angular project. Maybe we should recommend one of them? cc @bcoe

from conventionalcommits.org.

damianopetrungaro avatar damianopetrungaro commented on May 26, 2024

@stevemao and @doodlewind wdyt about split feat in improve and another verb for add a feature (@doodlewind any suggestion?)

So that we have both the use cases separated and well defined?

from conventionalcommits.org.

stevemao avatar stevemao commented on May 26, 2024

@damianopetrungaro I'm open to suggestions on that. The angular convention was designed for non monorepos and feat was just meant to be for end users. In a monorepo this could be confusing.

from conventionalcommits.org.

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.