Comments (8)
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.
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.
I think it's related also to #28. We can change in a more explicit and clear way.
from conventionalcommits.org.
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.
@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.
I've seen all three forms in the angular project. Maybe we should recommend one of them? cc @bcoe
from conventionalcommits.org.
@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.
@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)
- Breaking changes and `refactor` (and maybe `style`) type. HOT 5
- CCRFI "Conventional Commits: Request for Implementation" HOT 4
- `COMMITS.md` - A Way to Declare/Detect Conventional Commits
- Support for hotfixes? HOT 5
- Conventional Commits Versioning HOT 4
- e62041900a74d076e1462f7a3e900eb5d7a513e2 HOT 2
- Sign up
- How to configre conventional-changelog-conventionalcommits 7? HOT 1
- `feat` is contracted, most other commonly used tags are full words. HOT 9
- 6_make test.txt
- fix: navigation bar is not responsive on smaller devices HOT 1
- Delete the .idea folder HOT 1
- Decoupling from specific versioning formats (i.e. SemVer) HOT 1
- what is the recommended way to handle deprecations? HOT 2
- Request for Arabic Language Support
- How do I choose a right commit type for adding media content?
- Specification doesn't permit footers without a body HOT 2
- Support Hindi Language HOT 1
- Add clarification for description formatting
- Scheme for documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conventionalcommits.org.