0.0.17 • Published 4 years ago

buildlog v0.0.17

Weekly downloads
38
License
ISC
Repository
-
Last release
4 years ago

构建日志

使用说明

安装模块包命令:

npm install buildlog --save-dev

运行命令:

npx buildlog

命令参数:

--outfile <path> 制定输出文件路径,默认值是 ./reportLog
--help

配置文件:

  • 运行命令所在路径下的 buildlog.config.json 或者 buildlog.config.js

配置文件内容:

{
    outfile: '',
    templateData: {},
    outfileTemplatePath: '',
    handleTemplateData: (templateData, config) => { return templateData }
}

允许用户自定义模版,修改模版数据,生成自定义的构建日志或者添加日志数据等。

增加默认模版数据:

module.exports = {
    templateData: {
        list: [
            { title: 'Version', value: 'v0.0.1' }
        ]
    }
}

自定义模版: 使用模版渲染模块是@mcfed/cra-render, tag{@ @}

### Git Log
   {@#list@}
   * *{@title@}*: {@value@}
   {@/list@}
0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago