0.0.9 • Published 3 years ago

@micro-app/plugin-deploy v0.0.9

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

Micro APP Plugin - Deploy

Plugin auto deploy plugin.

集成自动部署配置. 用于 @micro-app/cli 的插件.

Github Actions Coveralls Coverage Status NPM Version NPM Download

Install

yarn add @micro-app/plugin-deploy

or

npm install -S @micro-app/plugin-deploy

Usage

在项目 根目录micro-app.config.js 文件中配置

module.exports = {
    // ...

    plugins: [ // 自定义插件
        [ '@micro-app/plugin-deploy', {
            // default config
            git: '',
            branch: {
                name: '',
                extends: true,
            },
            message: '',
            user: {
                name: '',
                email: '',
            },
        } ],
    ],
};

创建 micro-app.deploy.config.js 文件, 并如下配置

{
    // disabled: false, // 是否禁用该功能
    git: '',
    branch: {
        name: '',
        extends: true,
    },
    message: '', // 可选
    user: { // 可选
        name: '',
        email: '',
    },
    dist: '', // 可选原数据
    cname: '', // 可选
}
0.0.9

3 years ago

0.0.8

4 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3-alpha.1

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago