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

wx-issuance

v1.0.5

Published

提供uniapp框架的cli项目工程的微信小程序一件上传、版本迭代、自动作为体验版。

Downloads

6

Readme

# ci微信小程序自动化部署插件(uniapp)

注意:uniapp必须是vue-cli项目工程。

HBuilderX工程 与 vue-cli工程互转:https://ask.dcloud.net.cn/article/35750

1、安装 🔧

建议使用npm淘宝镜像:

1、切换淘宝镜像:npm config set registry https://registry.npmmirror.com

2、切换官方源:npm config set registry https://registry.npmjs.org

npm i wx-issuance -d

2、配置 ⚙️

  1. 在根目录package.json文件中新增以下内容。

 "scripts": {
    "wx-issuance": "node node_modules/wx-issuance/index.js",
    "wx-issuance:jenkins": "node node_modules/wx-issuance/jenkins.js",
 },
 
 "wxconfig": {
   "appid":"xxxxxx",                         //小程序Appid  (必填)
    "version": "1.0.0",                      //小程序版本号 (必填)
    "desc": "1、新增XX优化;2、新增XX功能",  //版本描述 
    "config": {  
      "GitPush": true,                      //发行新版本时自动提交package.js到远程仓库,多人开发版本同步
      "pagePath":"pages/index/index"        //预览时首次进入的页面路径
    },
    "updateTime": 1722332757308             //时间戳标识
  }
  1. 将小程序的 上传密钥文件 放到项目的根目录中

(首次配置完了,以后直接输入命令发行即可)👇

3、使用 🔖

  1. 开发代码业务好了,必须先执行uniapp的小程序打包后生成dist源码包:

    npm run build:mp-weixin

  2. 使用插件开始发行:

    两种发行模式:手动发行、jenkins发行

    手动发行:npm run wx-issuance

    jenkins发行:npm run wx-issuance:jenkins (该发行模式是配合jenkins脚本使用,其他情况请使用 **手动发行 **模式)