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

@baidu-map/bz

v1.0.0

Published

专门符合百度地图物流团队规范

Downloads

7

Readme

bz

百度地图物流团队约束git commit message ,内置的百度内部的卡片ID校验

使用

  • 如果全局安装,可直接在控制台中使用 bz 代替 git commit

  • 如果是项目安装,可以在package.json中加一条 命令 "commit":bz

icafeId

在message中增加了一个卡片ID的参数

 messages: {
    icafeId: "请输入iCafe 卡片 ID(必填)",
},

如何关闭 icafeId

.bz-config.js 中配置skipQuestions ["icafeId"] 跳过该步骤

默认配置

可根据默认配置自由调整

module.exports = {
    types: [
        { value: "💥 feat", name: "💥 feat:   新功能" },
        { value: "🐛 fix", name: "🐛 fix:    修复" },
        { value: "📝 docs", name: "📝 docs:   文档变更" },
        { value: "🌷 UI", name: "🌷 UI:     代码格式(不影响代码运行的变动)" },
        {
            value: "🛠 refactor",
            name: "🛠 refactor:   重构(既不是增加功能,也不是修复bug)",
        },
        { value: "💄 perf", name: "💄 perf:   性能优化" },
        { value: "🔬 test", name: "🔬 test:   增加测试" },
        { value: "🏰 chore", name: "🏰 chore:  构建过程或辅助工具的变动" },
        { value: "📎 revert", name: "📎 revert:   回退" },
        { value: "⛏ build", name: "⛏ build:   打包" },
    ],

    messages: {
        type: "请选择提交类型:",
        customScope: "请输入修改范围(可选):",
        subject: "请简要描述提交(必填):",
        icafeId: "请输入iCafe 卡片 ID(必填)",
        confirmCommit: "确认使用以上信息提交?(y/n)",
    },
    // 需要跳过的问题
    skipQuestions: ["footer"],
    subjectLimit: 100,
};