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

release-man

v1.4.7

Published

听说你发布新版本的时候特别的累

Downloads

13

Readme

Release-Man

Build Status npm

一键 Npm 发布工具,包括在内部源上卸载旧版本、删除原有 tag,打新 tag,推送代码至 github,发布新版本,打 rc-tag 等。

安装

$ npm install -g release-man

使用

发布

在要发布的工程目录下,命令行内输入 release 按照提示走就行了。

$ release
? 请选择要发布的版本类型: ga: 正式版本
? 请选择升版方式: prerelease: 预升级(1.4.1-alpha.2)
? 是否同步代码到 github (小心安全组)? Yes
✔ 检测 npm 源
✔ 更新 package.json 到: 1.4.1-alpha.2
✔ 推送本地代码到 github
✔ 发布新版本 1.4.1-alpha.2 到 npm 源
? 请选择要同步的私有源: @cnpm(https://npm.taobao.org)
✔ 同步到内网源
✔ 版本 1.4.1-alpha.2 发布成功!
✔ 最后祝你, 提乾涉经, 再见!

版本类型

提供四种可选择的版本类型,规范发版

  • ga: 正式版本
  • rc: 发布候选版本, 不会新增 feature
  • beta: 公测版, 会持续增加 feature
  • alpha: 内测版, 拥有成吨的 bug

升版方式

选择正式版本 GA 之后会出现如下的升级方式:

  • major: 大版本升级(2.0.0)
  • minor: 中版本升级(1.5.0)
  • patch: 小版本升级(1.4.2)

选择 rc/beta/alpha 后会出现如下的升级方式:

  • prerelease: 预升级(1.4.2-rc.0)
  • premajor: 大版本预升级(2.0.0-rc.0)
  • preminor: 中版本预升级(1.5.0-rc.0)
  • prepatch: 小版本预升级(1.4.2-rc.0)
  • current: 当前版本(1.4.1)

配置

现在允许用户自行配置源,并额外提供三个命令进行源管理

  • release add: 增加一个源
  • release remove: 删除一个源
  • release list: 查看配置的所有源

参考