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

yzb-comp

v0.1.5

Published

Yonyou Cloud Components built with React

Downloads

12

Readme

yzb-comp Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

An npm package boilerplate.

yzb-comp in action

Live Playground

For examples of the component in action, go to https://yyssc.github.io/yzb-comp.

OR

To run that demo on your own computer:

  • Clone this repository
  • npm install
  • npm run storybook
  • Visit http://localhost:9001/

Getting Started

Install dependencies

Ensure packages are installed with correct version numbers by running:

(
  export PKG=yzb-comp;
  npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g; s/ *//g' | xargs npm install --save "$PKG"
)

Which produces and runs a command like:

npm install --save yzb-comp react@>=#.## react-dom@>=#.## ssc-refer@>=#.##

Maintaining

First release

  • put 0.0.0 in version section of package.json.
  • run npm run version:minor

Next release

  • run npm run version:patch for patch release.

各种参照组件

可以供使用的参照组件都在src/财务平台/components/目录下。

  • 科目表(refCode: accsubjectchart)
    • AccSubjectChartRefer 科目参照组件
    • SimpleAccSubjectChartRefer 科目参照组件 - 简单
  • 科目表(refCode: subjectchart)
    • SubjectChartRefer 科目参照组件
    • SimpleSubjectChartRefer 科目参照组件 - 简单
  • 科目(refCode: accsubject)
    • AccSubjectRefer 科目参照组件
    • SimpleAccSubjectRefer 科目参照组件 - 简单
    • FilterAccSubjectRefer 科目参照组件 - 两个参照,由科目表来过滤科目
  • 科目(refCode: subject)
    • SimpleSubjectRefer 科目参照组件 - 简单
    • FilterSubjectRefer 科目参照组件 - 两个参照,由科目表来过滤科目

派生关系

  • Refers
    • ReferList
      • BaseSubjectRefer
        • SimpleSubjectRefer
        • SimpleAccSubjectRefer
        • SimpleSubjectChartRefer
        • SimpleAccSubjectChartRefer

请不要直接使用Base*Refer,比如BaseSubjectRefer,这些是基类。如果想使用默认组件,请直接使用 Simple*Refer,比如SimpleSubjectRefer

组装关系

  • FilterSubjectRefer
    • SimpleSubjectChartRefer
    • SimpleSubjectRefer
  • FilterAccSubjectRefer
    • SimpleAccSubjectChartRefer
    • SimpleAccSubjectRefer