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

qlmbidding2_pc_lib

v1.1.6

Published

基于Vue2.0的千里马官网PC端公共组件库

Downloads

18

Readme

qlmBidding2_PC_lib

基于 Vue2.0 的千里马官网 PC 端公共组件库

Install

yarn add qlmbidding2_pc_lib --registry http://172.18.30.103:4083/

Quick Start

Import all components.

import Vue from "vue";
import Library from "qlmbidding2_pc_lib";
import "qlmbidding2_pc_lib/static/theme.scss";

Vue.use(Library);

Or import specified component. (Use babel-plugin-component)

import Vue from "vue";
import "qlmbidding2_pc_lib/static/theme.scss";
import {
  LibSubscribeTemplateRecommend,
  // ...
} from "qlmbidding2_pc_lib";

Vue.use(LibSubscribeTemplateRecommend);

babel-plugin-component

  • Auto import css file
  • Modular import component

Installation

yarn add babel-plugin-component -D

Usage

.babelrc

{
  "plugins": [
    [
      "component",
      {
        "libraryName": "qlmbidding2_pc_lib",
        "styleLibraryName": "~node_modules/qlmbidding2_pc_lib/static"
      },
      "qlmbidding2_pc_lib"
    ]
  ]
}

Repository

  • https://git.zb.qianlima.com/qianlimaFE/qlmBidding/qlmBidding2_PC_lib

LICENSE

MIT

发布规范

版本升级

alpha

$ npm version 1.1.0-alpha.1

beta

$ npm version 1.1.0-beta.1

release(⚠️高危,直接面向生产环境)

$ npm version 1.1.0

登录

第一步

$ nrm use npm

第二步

$ npm login

版本发布

alpha

#废弃 npm publish --tag alpha --registry http://npm.qianlima.com/
npm publish --tag alpha

beta

#废弃 npm publish --tag beta --registry http://npm.qianlima.com/
npm publish --tag beta

release(⚠️高危,直接面向生产环境)

#废弃 npm publish --registry http://npm.qianlima.com/
npm publish

说明

  • 版本升级不再手动更改package.json中的version,改为执行版本升级指令
  • 版本升级遵守 alpha > beta > release 的先后顺序,简化过程下,可省略beta版
  • 开发过程中的版本,利用--tag alpha版本发布指令进行发版、测试、联调。每发布一个版本,alpha小数点后序号自增
  • 未经测试的功能,除特殊情况下,不可直接发布在生产环境
  • 误操作、生产环境发布等情况,及时汇报