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

i-zone

v0.1.701

Published

<!-- * @Author: 刘治宏 * @Date: 2023-03-23 16:21:10 * @Description: * @FilePath: /i-zone/README.md * @LastEditTime: 2023-03-24 11:56:00 --> # i-zone

Downloads

2

Readme

i-zone

和友空间yycooperation 使用一致 https://www.yuque.com/yyzone/iaethg

npm 仓库地址 https://www.npmjs.com/package/i-zone?activeTab=readme

git 仓库地址 http://outergit.yonyou.com:8888/liuzhzihong/i-zone.git

视频说明 https://www.bilibili.com/video/BV1Ug4y1W7y3/

使用场景

  • yycooperation 遇见问题,找不到人修复。

  • 需要在yycooperation 的原组件上新增功能

  • 开发现场业务组件便于成员间流转

  • 防止修改node_modules, 让依赖成为祖传依赖。

  • 解决修改本地依赖后无法使用jenkins打包

开发说明

以"yycooperation": "^1.1.7" 为基础版本

组件命名

  1. 修改原来组件库,如果遇见yyzone、yycooperation 组件库的问题或者直接在原组件增加新功能, 修改组件后记得在原来组件导出文件加上字母 I , 例如 YYButton , 修改后导出应该为IYYButton。(防止和原来组件库冲突)

  2. 新增组件, 新增组件命名应该遵循YYxxxx

  3. src/index.js 中的组件有使用的组件才进行导出。

组件组成

  • component:组件本身 、
  • ReadMe.md:文件的使用说明
  • 截图.png: 组件样式截图

i-zone 组件开发

安装依赖

yarn install

启动项目

yarn serve

打包组件库

执行打包命令后会在根目录生产lib文件夹

yarn lib

npm run lib

发布npm 仓库

npm仓库地址:https://www.npmjs.com/package/i-zone npm 登陆地址账号请联系管理员

npm login

npm publish

i-zone 引入使用

安装i-zone

    npm i i-zone

使用

和element-ui 、yyzone 使用一样可参考:https://www.yuque.com/yyzone/iaethg

在 src/main.js文件中配置

import IZone from 'i-zone'
Vue.use(IZone)
    

Customize configuration

See Configuration Reference.