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

cloud-wechat-lowcode-assets

v0.5.64

Published

低代码组件库

Readme

wechat-member-center-lowcode-assets

一、项目列表

主项目:http://gitlab.platdep.shuyun.com/wmc/wechat-page-creater 低代码项目:http://gitlab.platdep.shuyun.com/fe/public/wechat-member-center-lowcode-assets 低代码构建包发布CDN:http://gitlab.platdep.shuyun.com/wmc/cloud-wechat-lowcode-assets-h5

二、如何开发

管理端开发

  1. 启动 wechat-member-center-lowcode-assets 项目,运行在 3333 端口
npm run lowcode:dev
  1. 打开 LightProxy 客户端,添加如下配置,将 wechat-page-creater 引用的 CDN 代理到 http://localhost:3333:
https://cloud-cdn.shuyun.com/cloud-wechat-lowcode-assets-h5/0.1.5/dist/view.js  http://localhost:3333/view.js
  1. 刷新 wechat-page-creater 页面即可。在 wechat-member-center-lowcode-assets 修改代码后,在 wechat-page-creater 页面中查看。

在小程序端验证低代码组件功能

  1. 执行命令构建低代码包并将构建结果产物到小程序项目中,要求 wechat-member-center-mini-app 和 wechat-member-center-lowcode-assets 在同一个父级目录下。
npm run build:ui
  1. 刷新小程序页面进行验证

三、如何新增一个组件

新增组件

四、如何发布

管理端发布QA

  1. 执行以下命令构建低代码包并将构建产物复制到 cloud-wechat-lowcode-assets-h5 项目中,要求 cloud-wechat-lowcode-assets-h5 和 wechat-member-center-lowcode-assets 在同一个父级目录下。
npm run build:h5
  1. 在 cloud-wechat-lowcode-assets-h5 项目中提交代码,并在效能平台进行发布

  2. 将发布好的CDN版本更新到 wechat-page-creater 项目中,并发布 wechat-page-creater

  3. 将发布好的CDN版本更新到 wechat-member-center 项目中(在 constants/version.js 中更新版本号即可),并发布 wechat-member-center

小程序发布 QA

  1. 在 wechat-member-center-lowcode-assets 项目中,执行以下命令查看当前版本。
npm show cloud-wechat-lowcode-assets
  1. 然后修改 package.json 的 version,(比如从 5.0.18 => 5.0.19),并 执行 npm publish
npm publish
  1. 将升级后的版本号更新到 wechat-member-center-mini-app 中,提交代码,然后让测试发布即可。

npm publish 常见问题

问题 1:Access token expired or revoked

  • 原因:npm 访问令牌过期或已被撤销。npm 现在要求使用 Granular tokens(细粒度令牌)。
  • 解决方案
    1. 访问 https://www.npmjs.com/settings/shuyunfe/tokens
    2. 创建新的 Granular token(选择 Automation 或 Publish 权限)
    3. 复制令牌后,使用以下方式之一登录:
      • 方法 A:使用访问令牌登录
        npm config set //registry.npmjs.org/:_authToken=YOUR_TOKEN
      • 方法 B:使用 npm login(需要启用 2FA)
        npm login

问题 2:404 Not Found

  • 原因:包名不存在或未登录到正确的 registry
  • 解决方案
    1. 确认已登录:npm whoami
    2. 确认 registry 配置:npm config get registry(应该是 https://registry.npmjs.org/
    3. 如果包是首次发布,确保包名未被占用

五、相关链接

新增组件 使用 ngrok