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

nidle-plugin-merge

v0.2.9-alpha.0

Published

nidle plugin of git merge request

Downloads

33

Readme

nidle-plugin-merge

nidle plugin of git merge request. support github & gitlab.

Install

npm install nidle-plugin-merge

Usage

代码合并依赖于团队的「分支管理」。目前我们团队是这样维护的:

  • 日常分支: 随意,开发者在日常开发过程从 master 拉取本地分支,发布时再根据情况 merge 最新的 master 分支,并推送到远程;
  • release分支: 受保护;发布生产前的一道坎,发布日常测试没问题,并进行 codeReview 后才会将 本地分支 合并到 release 分支;如果临期不发布,只需 revert release 分支,避免过多操作主干
  • master分支: 受保护;主干分支,永远跟生产环境代码保持一致;发布生产时会自动将 release 合并到 master 分支,并删除远程日常分支;

Configuration

  • apiUrl: git api base url;
  • privateToken: git Personal Access Token;
  • sourceBranch: 源分支;required: false, 默认当前分支
  • targetBranch: 目标分支;
  • codeReview: 是否需要codeReview;默认 false;如果设为 true,那么发布控制会等待 access merge request 后才可以进入下一个发布环境;
  • autoMerge: 是否自动通过 merge request;默认 false
  • removeSourceBranch: 是否删除当前远程分支;默认 false

注意

codeReview 依赖 git webhook. 参照webhook章节