0.1.8 • Published 1 year ago

@hengshuai/mini-core v0.1.8

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

mini-core

minici核心包是框架的核心基座,其他的平台基于核心进行开发,必备

安装

npm i @hengshuai/mini-core -D

配置文件

// mini-ci.config.js
const { defineConfig } = require("@hengshuai/mini-core");
const { Platform, IProjectActionMode } = require("@hengshuai/mini-type");

module.exports = defineConfig({
  ci: {},
  platforms: {
    // WeChat平台
    [Platform.Wechat]: {
      platformSpecific: {
        // 包地址
        projectPath: "./dist",
        // 上传代码的私钥
        privateKeyPath: ".mini-ci/keys/wechat-upload-code.key",
      },
      subs: [
        {
          appId: "Your AppId",
          admin: "https://mp.weixin.qq.com",
          version: "1.0.0",
          mode: IProjectActionMode.REVIEW,
          description: "测试ci  " + +new Date,
          compiler: {
            // es6: false,
            // es7: true,
            // minifyJS: true,
          },
        },
      ]
    }
  }
})

更多配置参考包定义

0.1.8

1 year ago

0.1.7-beta.1

1 year ago

0.1.7

1 year ago

0.1.7-beta.0

1 year ago

0.1.6-beta.0

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.3

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago