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

gitee-release-cli

v2.1.0

Published

a command line tool for create release

Downloads

25

Readme

gitee-release-cli

npm npm gitee-release-cli

介绍

一个用于创建发行版的命令行工具。

特性

安装

npm install -g gitee-release-cli

使用

先前往私人令牌页页创建一个令牌,然后配置:

gitee-release config accessToken 你的令牌

设置使用中文版的内容(只翻译标题):

gitee-release config locale zh_CN

创建一个发行版:

# 创建发行版,然后提示是否上传发行版到码云
gitee-release create

# 创建一个 beta 预发行版
gitee-release create --prerelease beta

# 生成版本号后运行 npm version 更新版本号,然后运行 git push 推送改动内容
gitee-release create --with-npm-version --with-git-push --upload

给最新的发行版上传一个附件:

gitee-release assets upload /path/to/file.zip

给指定版本(例如:2.3.0)的发行版上传一个附件:

gitee-release assets upload /path/to/file.zip --target 2.3.0

如果觉得手动输入这些命令太麻烦,可在 package.json 中添加以下内容:

{
    "scripts": {
        "release": "gitee-release create --with-npm-version --with-git-push --upload",
        "release-beta": "npm run release -- --prerelease beta",
    }
}

小徽标

将此徽标包含在 README.md 自述文件中,可以让他人知道你的项目是使用 gitee-release-cli 发布的。

gitee-release-cli

[![gitee-release-cli](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-gitee--release-blueviolet.svg)](https://gitee.com/gitee-frontend/gitee-release-cli)

常见问题

  • 我为什么要选择 gitee-release-cli 而不是 semantic-release?

    如果你懒得看 semantic-release 的英文说明文档的话,可以先试试 gitee-release-cli。

  • 对代码库里的提交信息格式有什么要求?

    需要遵循 commitlint 的提交信息规范。

许可

基于 MIT 许可协议发布。