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

vdesign-ui

v0.2.9

Published

``` cd hs-ui yarn install yarn run serve ```

Downloads

906

Readme

vdesign-ui

项目说明

项目运行

cd hs-ui
yarn install
yarn run serve

目录结构

packages

主要包含 token2css 后的产物,及组件

  • index.js 为入口文件
  • token:token2css 转换后的 css 文件
  • components:基于 token 变量的 vue 组件

sites

主要包含该组件库的站点,用于文档描述

  • docs:md 文档集合
  • router/nav.config.json:菜单配置文件

Git 提交规范

  • feat: 增加订单详情 closes xxxx (closes非必需)
  • fix: 修复xx情况下xx问题 closes xxxx (closes非必需)
  • docs: 修改md文件
  • style: 修改订单列表样式
  • refactor: 重构utils.js下部分方法
  • chore: 增加xxx插件/xxxxloader
  • revert: 回退当前版本667ec到 sssee2
  • perf: 优化了xxx,提高了渲染速度
  • test:增加测试
  • improvement: 改进
  • build: 打包
  • ci: 持续集成w

修改 Git Commit

1. 修改最后一次提交

git commit --amend

该命令会创建一个提交并覆盖上次提交,如果是因为写错或者不满意上次的提交信息,使用该命令就非常适合。

2. 合并多条提交

git reset --soft [commitID]

如果你想合并最近几条提交信息的话,那么就需要使用上面的命令来操作,指定要撤销的ccommitId,该命令会保留当前改动并撤销指定提交后的所有commit记录,如果不指定ID的话可以使用HEAD~{num} 来选择最近{num}条提交

git reset --soft HEAD~2 #合并最近两条提交 git commit -m 'feat: add new feat'

带 --soft 参数的区别在于把改动内容添加到暂存区 相当于执行了git add .

git rebase -i git rebase的功能会更加强大,如果我想修改最近3条提交记录,执行

git rebase -i HEAD~3

下面是常用的命令说明:

p,pick = 使用提交
r,reword = 使用提交,但修改提交说明
e,edit = 使用提交,退出后使用git commit --amend 修改
s,squash = 使用提交,合并前一个提交
f,fixup = 和squash相同,但丢弃提交说明日志
d,drop = 删除提交,丢弃提交记录