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

@helper-gdp/utils

v1.5.0

Published

gdp小组共通工具库

Downloads

13

Readme

helper-gdp-utils

gdp小组工具库

使用文档

Getting Started

更新记录

Getting History

提交规范

  • 新增的内容在test对应路径下需要有指定的test文件
  • 新增的内容单元测试尽量做到100%覆盖
  • 新增的内容在doc文档内应有详细的说明
  • 每一版的发布都应生成完成的测试覆盖报告

发布npm库

  1. 确认当前npm源正确https://registry.npmjs.org/
  2. 确认登录该源的账号正确,并具备发布库的权限
  3. yarn run buildyarn run docs 打包生产代码及组件文档
  4. 执行git add -Ayarn run commit提交更改
  5. 发布命令为yarn run release -- --release-as [major/minor/patch] 根据更新程度决定采用的的release as值, 如果为内测或公测版本则补充prerelease参数 yarn run release -- --release-as [major/minor/patch] --prerelease [alpha/beta]
  6. git push --follow-tags origin dev 推送到远程分支
  7. yarn publish正式发布 or yarn publish --tag [alpha/beta]内测或公测发布
  8. 切换至master, git merge dev 拉取更改
  9. git push origin master 更新远程仓库

cli 命令

  • yarn run clean移除build文件目录
  • yarn run test进行单元测试
  • yarn run docs生成使用文档 HTML
  • yarn run build执行打包构建
  • yarn run dev执行打包构建并监听后需改动,同步build
  • yarn run commit代码commit
  • yarn run release发布release changelog

TODO

  • 为指定md文件生成目录: doctoc [filename]