npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

conventional-changelog-common

v0.0.3

Published

conventional-changelog common preset

Downloads

4

Readme

conventional-changelog可用于规范git commit message格式,自动生成项目CHANGELOG。

本项目是conventional-changelog的规范集,适配中英文写法。

提交类型

中文类型|英文类型|含义 -|-|- 新增|feat|新增api/功能 修复|fix|修复问题 删除|delete|删除api/参数等破坏性改动 更新|refactor|重构代码/优化代码/对代码中配置参数的变更/项目配置变化 优化|perf/chore/docs|格式优化/文档更新/优化测试等 发布|release|新的版本号/release/tag(CHANGELOG在此改动) 回滚|revert|回滚一次提交 合并|merge|合并冲突/合并PR

中文提交格式

类型[(影响范围)] 标题
// 空一行
简要说明
// 空一行
关联issue/不兼容提示

例子:

新增 xx.xxx接口

此接口用于xxxxx,传参xxx,不兼容IE8以下

close #1

如何集成到前端项目中?

安装conventional-changelog-cliconventional-changelogc-common依赖。

npm i conventional-changelog-cli conventional-changelog-common -D

如何生成changelog?

在package.json加上以下脚本(详细参数请运行npx conventional-changelog-cli --help查看):

{
    "scripts": {
        "changelog": "conventional-changelog -i CHANGELOG.md -s -r 1 -n ./node_modules/conventional-changelog-common" 
    }
}

再运行

npm run changelog

即在项目根目录生成/追加CHANGELOG.md

CHANGELOG效果如下:


0.3.30 (2018-12-19)

更新:

  • 更新 用xxx替换所有xx (d3813ff)
  • 更新 优化xxx接口参数 (055d7c1)
  • 更新 改xx.xxx()监听xxx为监听xxx (bb7a489)

修复:

  • 修复 xx和xx模块埋点覆盖冲突问题 (1894a3a)
  • 修复 在xx环境下,xx报错的问题 (e577220)

新增: