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

qlmbidding1_pc_lib

v0.1.6

Published

### 基于 Vue2.0 的 千里马home页用的组件

Downloads

96

Readme

qlmBidding1_PC_lib

基于 Vue2.0 的 千里马home页用的组件

---template、PC1.0、1.0组件库构建\提测流程---

qlmBidding1_PC_lib

1、1.0组件库开发完成后,执行常规的npm publish流程,供PC1.0项目使用

2、1.0组件库执行对应环境的lib操作,得到/lib文件

3、将/lib文件手动部署到OSS test/OSS prod/OSS,供template项目使用

qlmBidding_static_template

4、将template项目执行build:test/build:prod操作

5、将得到的/dist文件以模版形式手动提交给后端,做模版替换

qlmBidding1_PC

6、修改1.0组件库版本号到正确版本

7、写提测任务提测,QA负责按分支部署该项目

目录结构

project_name
│
├── node_modules 项目依赖
│
├── lib 打包后的组件库文件
│
├── public 模板文件、icon
├── packages 组件资源
│
├── examples 案例项目资源
│
├── .browserslistrc
│
├── .editorconfig
│
├── .env 环境变量文件
│
├── .eslintrc eslint规则文件
│
├── .gitignore
│
├── babel.config.js
│
├── jsconfig.json
│
├── .lint-staged.config.js package.json => gitHooks => pre-commit => lint-staged 应用
│
├── package.json
│
├── README.md
│
├── vue.config.js
│
└── yarn.lock

打包发布

组件打包命令 lib:环境

$ yran lib:test

发布规范

版本升级

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小数点后序号自增
  • 未经测试的功能,除特殊情况下,不可直接发布在生产环境
  • 误操作、生产环境发布等情况,及时汇报