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

lowcode-material-biz

v0.11.0

Published

lowcode-material-biz

Downloads

11

Readme

[TOC]

lowcode-material-biz

一个面向 PC 的业务物料库

命令

启动调试

npm run lowcode:dev  # 打开开发环境,运行所有组件

构建

npm run lowcode:build  # 使用此命令可以编译生成metadata

物料转换

npm run build o2m # 将表单excel字段转换出物料

组件命名约定

实际发布组件之后发现与官方组件组件库存在重名情况,为避免此情况,约定此组件库所有组件均已Biz开头,比如我们想封装一个Table组件,可以定义名为BizTable

发布约定

  1. 通过脚本命令更新版本及进行发布,禁止手动更新版本发布
  2. 发布前必须更新CHANGE_LOG.md的版本信息

版本更新约定

  1. x.0.0 major版本,设计架构变更,可能不兼容旧版本,执行yarn pub:major
  2. 0.x.0 minor版本,增加新特性,或者更新旧特性,基本兼容旧版本,执行yarn pub:minor
  3. 0.0.x patch版本,补丁版本,只用于修复缺陷,完全兼容旧版本,执行yarn pub:patch

CHANGE_LOG.md约定

用于记录版本,有如下约定:

  1. add 增加新组件或新属性
  2. update 更新逻辑或字段名称等
  3. fix 修复缺陷

举例:

# 0.8.0 
- [x] `add` `form-input` 默认支持清空
- [x] `update` `biz-search-form` 支持设置`value`设置
- [x] `add` `form-input` 多选框默认支持全选功能、选择模式改为行内选择

# 0.9.0
- [x] `add` 支持分组为**业务组件**

注意,每个版本下的每一行是一个更新,每次开发前先将开发目标写上去:

- [ ] 这是一个开发目标

完成之后,将其勾选设置上:

- [x] 这是一个开发完成的目标