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 🙏

© 2026 – Pkg Stats / Ryan Hefner

mz-micro-frontend-shared-deps

v1.0.1

Published

微前端共用依赖版本管控包,统一 Vue / Vue Router / Pinia / Element Plus / axios 等版本

Readme

mz-micro-frontend-shared-deps

微前端共用依赖版本管控包,由主应用与各子应用共同依赖,保证 Vue、Element Plus、axios 等版本一致。

当前锁定版本

| 依赖 | 版本 | |------|------| | vue | 3.4.0 | | vue-router | 4.3.0 | | pinia | 2.1.0 | | element-plus | 2.8.0 | | axios | 1.7.0 | | uuid | 11.0.0 | | dayjs | 1.11.13 | | jsoneditor | 10.0.0 |

使用方式

在当前仓库内(各子项目独立安装)

main-appsub-app-onesub-app-twopackage.json 中:

"dependencies": {
  "mz-micro-frontend-shared-deps": "file:../mf-shared-deps"
}

各应用目录下执行 npm install(不在根目录统一安装),各应用通过此包获得上述全部共用依赖。若修改了本包 package.json 的依赖,需先在 mf-shared-deps 目录执行 npm install,再在各应用目录执行 npm install

拆成独立仓库后

  1. 将本包单独仓库并发布到公司私有 npm(或 npm registry)。
  2. 各应用仓库中安装:npm install mz-micro-frontend-shared-deps@^1.0.0
  3. 升级任意共用依赖时:在本仓库修改版本并发布新版本,各应用升级 mz-micro-frontend-shared-deps 的版本号即可。

发布说明

  • 发布到 npm 时在 mf-shared-deps 目录执行:npm publish(无 scope 包无需 --access public)。
  • 若使用私有 registry,需在发布前配置 npm config set registry ....npmrc