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

gitlaboy

v1.0.5

Published

适配GitLab的cli客户端,可以提供创建mr,创建cherry-pick等操作。

Downloads

3

Readme

gitlaboy

适配GitLab的cli客户端,可以提供创建mr,创建cherry-pick等操作。

工具特点

  1. 按照规范创建分支
  2. 在任意分支提mr
  3. 在任意分支提cherry-pick

安装说明

前置环境

需要安装node(版本大于18)和npm

安装命令

环境安装完成后,执行下面命令进行全局安装:

sudo npm install -g gitlaboy

使用说明

初始化

安装成功后,需要执行命令

sudo gt-init

(windows请用管理员权限执行此命令)

进行工具初始化,此时会要求你输入常用配置,如git的地址以及秘钥等配置。

项目注册

sudo gt-regist

在gitlab的项目目录下执行这个命令,会自动注册这个项目。 原理是根据当前项目的git配置,在gitLab中查找对应项目,如果出现多个,会在用户选择后注册。 示例图

使用方式

gt-cb 选定一个分支,基于它创建新分支。

gt-cb

示例图

gt-list 展示当前已经注册的项目。

gt-list

示例图

gt-mr 将当前分支创建mr到指定分支上,并展示在线链接。

gt-mr

gt-mr创建mr示例图

gt-cp 将当前分支的commits进行cherry-pick到其他分支。

gt-cp

示例图

老用户升级

sudo npm update -g gitlaboy

Q&A

  • gt 找不到命令:检查一下是否是全局安装。
  • 命令提示没有权限 使用sudo(mac环境) 或者 管理员权限执行命令(windows)
  • 使用命令时报错,更新Node版本到18以上

有任何使用问题可以提issue哈