@bluelovers/conventional-changelog-bluelovers

中文文档
5.0.27发布于 2022/08/25ISCTypeScriptCommonJS近 30 天下载 1731

mixin angular/emoji preset of conventional-changelog

原始使用文档
文档目录9 节
  1. Angular Convention
  2. Examples
  3. Commit Message Format
  4. Revert
  5. Type
  6. Scope
  7. Subject
  8. Body
  9. Footer

conventional-changelog angular preset

mixin angular/emoji preset of conventional-changelog

Angular Convention

Angular's commit message guidelines.

Examples

Appears under "Features" header, pencil subheader:

feat(pencil): add 'graphiteWidth' option

Appears under "Bug Fixes" header, graphite subheader, with a link to issue #28:

fix(graphite): stop graphite breaking when width < 0.1

Closes #28

Appears under "Performance Improvements" header, and under "Breaking Changes" with the breaking change explanation:

perf(pencil): remove graphiteWidth option

BREAKING CHANGE: The graphiteWidth option has been removed. The default graphite width of 10mm is always used for performance reason.

The following commit and commit 667ecc1 do not appear in the changelog if they are under the same release. If not, the revert commit appears under the "Reverts" header.

revert: feat(pencil): add 'graphiteWidth' option

This reverts commit 667ecc1654a317a13331b17617d973392f415f02.

Commit Message Format

A commit message consists of a header, body and footer. The header has a type, scope and subject:

<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>

The header is mandatory and the scope of the header is optional.

Revert

If the commit reverts a previous commit, it should begin with revert: , followed by the header of the reverted commit. In the body it should say: This reverts commit <hash>., where the hash is the SHA of the commit being reverted.

Type

If the prefix is feat, fix or perf, it will appear in the changelog. However if there is any BREAKING CHANGE, the commit will always appear in the changelog.

Other prefixes are up to your discretion. Suggested prefixes are build, ci, docs ,style, refactor, and test for non-changelog related tasks.

Details regarding these types can be found in the official Angular Contributing Guidelines.

Scope

The scope could be anything specifying place of the commit change. For example $location, $browser, $compile, $rootScope, ngHref, ngClick, ngView, etc...

Subject

The subject contains succinct description of the change:

  • use the imperative, present tense: "change" not "changed" nor "changes"
  • don't capitalize first letter
  • no dot (.) at the end

Body

Just as in the subject, use the imperative, present tense: "change" not "changed" nor "changes". The body should include the motivation for the change and contrast this with previous behavior.

The footer should contain any information about Breaking Changes and is also the place to reference GitHub issues that this commit Closes.

Breaking Changes should start with the word BREAKING CHANGE: with a space or two newlines. The rest of the commit message is then used for this.

A detailed explanation can be found in this document.

版本与发布记录

@bluelovers/conventional-changelog-bluelovers 共发布 18 个版本,首次发布于 2020/06/15;过去 12 个月发布了 0 个版本。

版本发布日期距今
5.0.27latest2022/08/254 年前
5.0.262022/07/114 年前
5.0.252022/06/284 年前
5.0.242020/08/146 年前
5.0.232020/06/196 年前
5.0.222020/06/176 年前

关于 @bluelovers/conventional-changelog-bluelovers 的常见问题

@bluelovers/conventional-changelog-bluelovers 是什么?

mixin angular/emoji preset of conventional-changelog

如何安装 @bluelovers/conventional-changelog-bluelovers?

在项目目录运行 npm install @bluelovers/conventional-changelog-bluelovers,或使用 pnpm add / yarn add / bun add。

@bluelovers/conventional-changelog-bluelovers 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@bluelovers/conventional-changelog-bluelovers 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@bluelovers/conventional-changelog-bluelovers 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=10。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@bluelovers/conventional-changelog-bluelovers 可以商用吗?

@bluelovers/conventional-changelog-bluelovers 使用 ISC 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@bluelovers/conventional-changelog-bluelovers 的下载量有多少?

根据 npm 官方下载统计,@bluelovers/conventional-changelog-bluelovers 在 2026/10/09 – 2026/11/07 这 30 天内被下载 1,731 次,日均约 58 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@bluelovers/conventional-changelog-bluelovers 还在维护吗?

最新版本 5.0.27 发布于 2022/08/25(4 年前);至今共发布 18 个版本,其中过去 12 个月发布了 0 个;首次发布于 2020/06/15。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。