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

bkui-vue

v2.0.1-beta.82

Published

![bkui-vue3](docs/logo.png) ---

Downloads

5,633

Readme

bkui-vue3

license Release Version PRs Welcome

English | 简体中文

bkui-vue3

基于蓝鲸 Magicbox 和 Vue3 的前端组件库

Project setup

yarn install

Compiles and hot-reloads for development

yarn dev

Compiles and minifies for production

yarn build

Run your unit tests

yarn test

Lints and fixes files

yarn lint

如何新增使用一个 icon

  • 将你的 svg 保存到 packages/icon/src/svg 目录下
  • 重命名为你的 icon 使用的具有识别的英文名称
  • 执行命令 yarn generate:icon
  • 在组件中使用类似语法 import { HelpFill } from '@bkui-vue/icon/'; 引用即可

容器化

想要快速的通过容器化方式启动,可以参照以下步骤,快速在容器化服务器上进行部署启动。

# 本地镜像打制
docker build -t bkui-vue3 .

# 容器化运行
docker run -p 8086:8086 bkui-vue3

# 开发调试
docker run -it -p 8086:8086 -v $(pwd):/app bkui-vue3

如何开始

想要贡献代码,建议请先参照已有的特性文档和开发环境构建文档。可以运行 yarn cc 输入组件名生成新组件模板

GIT 提交规范

为了规范 commit-msg 格式,建议使用 yarn cz 自动生成 commit-msg, 不同的提交标记以规范化区分提交内容:

<标记>(<组件名称>): [提交的概要注释] issue #[123]
// 空一行
<本次变更详细说明>
// 空一行
<footer>

示例:

chore(common): 梳理组件库开发流程

affects: bkui-vue, @bkui-vue/button, @bkui-vue/checkbox, @bkui-vue/input, @bkui-vue/radio

允许单个组件执行 jest 任务
添加 husky 提交流程较验
添加 chanelog 自动生成机制

ISSUES CLOSED: #1

标记说明

| 标记 | 说明 | | -------------- | ------------------------------------------- | | feature/feat | 新功能开发 | | bug/fix/bugfix | bug 修复 | | refactor/perf | 重构代码/优化配置&参数/优化逻辑及功能 | | test | 添加单元测试用例相关 | | docs | 添加文档 | | info | 添加注释类信息 | | format | 不修改业务逻辑下,仅做代码规范的格式化 | | merge | 仅做分支合并同步 | | depend | 对工程的依赖进行增删改 | | chore | 构建脚本、任务等相关代码 | | del | 删除可能仍然有人用到的功能、API 等破坏性动作 |