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

@cgzair/cca-mini-ci

v1.1.4

Published

小程序端构建 CI 包

Downloads

8

Readme

cca-mini-ci

小程序上传预览代码 CI 工具包,支持支付宝、微信、头条以及百度小程序。

安装

yarn add @cgzair/cca-mini-ci

API

插件配置

| 参数 | 类型 | 说明 | | :--- | :--- | :--- | | weapp | Object | 微信小程序CI配置 | | tt | Object | 头条小程序配置 | | alipay | Object | 支付宝小程序配置 | | swan | Object | 百度小程序配置 | | version | string | 上传版本号 | | desc | string | 上传时的描述信息 | | env | string | 环境变量,用于添加到 desc 的前缀,形如 ${env}: ${desc} | | platform | "weapp、tt、alipay、swan、iot" | 平台类型,支持微信、头条、支付宝、百度以及 iot | | appPath | string | 项目启动根目录,默认取 process.cwd() | | outputPath | string | 项目输出目录,默认取 appPath + 'build/' + platform |

微信小程序CI配置

| 参数 | 类型 | 说明 | | :--- | :--- | :--- | | appId | string | 小程序/小游戏项目的 appId | | privateKeyPath | string | 私钥文件在项目中的相对路径,在获取项目属性和上传时用于鉴权使用| | devToolsInstallPath | string | 微信开发者工具安装路径,如果你安装微信开发者工具时选的默认路径,则不需要传入此参数 | | projectPath | string | 上传的小程序的路径(默认取的 outputPath ) | | ignores | string[] | 上传需要排除的目录(选填) |

官方CI文档点这里

头条小程序CI配置

| 参数 | 类型 | 说明 | | :--- | :--- | :--- | | email | string | 字节小程序邮箱 | | password | string | 字节小程序密码 |

官方CI文档点这里

支付宝小程序CI配置

| 参数 | 类型 | 说明 | | :--- | :--- | :--- | | appId | string | 小程序appId | | toolId | string | 工具id,生成方式查看这里 | | privateKeyPath | string | 密钥文件相对项目根目录的相对路径, 支付宝生产的私钥文件名一般是 pkcs8-private-pem | | clientType | string | 上传的终端,终端类型见下表(默认值alipay) |

clientType

| 参数 | 类型 | 说明 | | :--- | :--- | :--- | | alipay | string | 支付宝 | | ampe | string | AMPE | | amap | string | 高德 | | genie | string | 天猫精灵 | | alios | string | ALIOS | | uc | string | UC | | quark | string | 夸克 | | taobao | string | 淘宝 | | koubei | string | 口碑 | | alipayiot | string | IoT | | cainiao | string | 菜鸟 | | alihealth | string | 阿里健康 |

官方CI文档点这里

百度小程序CI配置

| 参数 | 类型 | 说明 | | :--- | :--- | :--- | | token | string | 有该小程序发布权限的登录密钥 | | minSwanVersion | string | 最低基础库版本, 不传默认为 3.350.6 |

官方CI文档点这里