0.0.17 • Published 3 years ago

buildlog v0.0.17

Weekly downloads
38
License
ISC
Repository
-
Last release
3 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

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago