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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cloudbase/framework-plugin-low-code

v1.7.70

Published

云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。

Downloads

697

Readme

Tencent CloudBase Framework Low-Code Plugin

Tencent CloudBase Framework Low-Code Plugin

Github License Npm version issue PRs Welcome star

云开发 CloudBase Framework 框架「低码应用」插件: 通过云开发 CloudBase Framework 框架结合低码平台一键生成并部署微信小程序或 web 应用。

功能特性

使用方法

步骤一. 准备工作

具体步骤请参照 准备云开发环境和 CloudBase CLI 命令工具

步骤二. 进入项目目录进行初始化

如果是目前已有的小程序应用项目

cloudbase

步骤三. 一键部署

cloudbase framework:deploy

配置

需要根据低码平台生成的描述 json 配置 appIdmainAppSerializeDatadependencies,还可配置 buildTypeList 等参数满足特殊需求的场景。

配置示例

cloudbase init 之后会创建云开发的配置文件 cloudbaserc.json,可在配置文件的 plugins 里修改和写入插件配置,其中 inputs 字段为插件输入参数,也可单独创建独立的 input.json 文件声明

{
  "envId": "{{envId}}",
  "framework": {
    "plugins": {
      "client": {
        "use": "@cloudbase/framework-plugin-low-code",
        "inputs": {
          "appId": "appid for low-code app",
          "mainAppSerializeData": {},
          "dependencies": [{}]
        }
      }
    }
  }
}

配置参数说明

appId

必填,低码应用的 appId

mainAppSerializeData

必填,对象,低码应用描述数据

dependencies

必填,对象数组,低码应用组件依赖

buildTypeList

选填,字符串数组,低码应用构建类型,["mp"] 或 ["web"], 代表构建微信小程序或 web 应用,默认微信小程序

mpAppId

当 buildTypeList 为["mp"] 时必填,字符串,需要构建的微信小程序 id

mpDeployPrivateKey

当 buildTypeList 为["mp"] 时必填,字符串,小程序构建私钥,可在微信小程序后台下载,获取内容

deployOptions

当 buildTypeList 为["mp"] 时必填,对象格式 | 属性名称 | 类型 | 是否必填 | 描述 | | ---------------- | ----------------------------- | -------- | -------------------------------- | | mode | String | 是 | 小程序构建类型,预览或正式发布 preview 或 upload | | version | String | 否 | mode 为 upload 时必填,发布版本号 | | description | String | 否 | mode 为 upload 时使用,发布说明 |

更多插件

请访问 CloudBase Framework 插件列表 搭配使用其他插件

文档资料

本地测试

  1. 需要先 link framework。简单可以 clone http://git.code.oa.com/QBase/cloudbase-framework-plugin-low-code.git,切换 release/cals_v2 分支,执行命令,完成 framework-core 的 link;

    yarn
    yarn run bootstrap
    yarn run build
    yarn run link
    
  2. link low-code-plugin。在本目录执行命令,完成 framework 的 link

    yarn
    yarn run build
    yarn run link
  3. 本地开发 通过 yarn run dev 监听文件变化并 ts 编译。

  4. __test__/sample 目录中有测试项目,通过添加 .env 文件可指定 mpAppId /ENV_ID 以及 SECRET 等环境变量。input.json 为低码配置,yarn run dev 进行文件生成及发布。