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

dyc-lerna-repo

v1.1.0

Published

npm install lerna -g 1. [url:https://lerna.nodejs.cn/docs/features/version-and-publish] 2. [url:https://gitcode.gitcode.host/docs-cn/lerna-docs-cn/commands/version/index.html] 3. [url:https://zhuanlan.zhihu.com/p/398080866] // 来自知乎 ### lerna命令 如果使用命令出

Downloads

7

Readme

lerna 文档

npm install lerna -g

  1. [url:https://lerna.nodejs.cn/docs/features/version-and-publish]
  2. [url:https://gitcode.gitcode.host/docs-cn/lerna-docs-cn/commands/version/index.html]
  3. [url:https://zhuanlan.zhihu.com/p/398080866] // 来自知乎

lerna命令 如果使用命令出错可以尝试 前面加上npx

  • lerna add wap --scope pc 添加包 wap到pc 更改wap包,pc的会同步更新 --scope 指定操作的包
  • lerna run --scope pc test
  • lerna create 创建包会在packages文件夹下
  • lerna init 初始化一个learna项目
  • lerna bootstrap 用于将 packages 链接在一起(前提是相互依赖的库),并安装 package 下的依赖到 package/node_modules。
  • lerna exec -- yarn remove vue 移出包(移出所有packages下安装vue的包)
  • lerna exec --scope pc yarn remove vue (移出packages/pc下安装vue的包)
  • npx lerna version --no-push
  • lerna publish (发布自上次发布(上次执行lerna publish)以来有更新的包)
  • lerna publish from-git (显式发布在当前 git commit上打了 tag 的包(最新的commit信息是「tag」信息,如果最新的commit不是tag信息则不会触发pubish
  • lerna publish from-package 显式发布注册表(如:https://registry.npmjs.org/)中不存在最新版本的包,一般用于第一次发布)