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

ming-demo2

v1.0.3

Published

mdf metaui web

Downloads

2

Readme

@mdf/metaui-web


1. 说明

梳理后@mdf/metaui-web作为组件层,改造原有 yxyweb/common

2. 安装

  1. 需要安装ynpm工具使用内网镜像源进行安装私有包@mdf/xxx
$ npm install ynpm-tool -g
  1. 内网执行ynpm install安装即可

3. 调试

使用babel监听文件改变输出lib到项目脚手架node_modules/@mdf/metaui-web/lib下,具体脚本命令参考debug.js

  1. 首先确认自己的框架工程与项目脚手架工程在一个根目录下,这样利用路径查找
├── yonyou-mdf-framework
└── ucf-amc-front
  1. 修改debug.js调试脚本,修改常量targetPackage的值的相对路径为你的项目真实路径 debug.js本地修改不要提交
  2. 保存后执行npm run debug在控制台会看到输出日志,babel转换过程以及最终的真实绝对路径

启动监听后,修改源码可以实时构建,并且输出到项目内,打开浏览器调试脚本即可是源文件

4. 发布

除了本地开发debug外,需要发布正式内网ynpm包,需要执行下面命令:

$ npm run lib

这样就会产出lib资源 ES5 代码 css

配置好ynpm发包设置,修改版本号,发布即可:

$ ynpm publish

发布后浏览镜像仓库看是否完成:https://ynpm.yonyoucloud.com/#browse/browse:ynpm-private

5. 文件结构