@ohos/hpm-cli-notice

1.0.3 • Public • Published

@ohos/hpm_cli_notice

收集项目中的notice文件(由License文件生成),在项目根目录下生成Third Party Open Source Notice文件

插件监听hpm-cli提供的afterDist钩子函数,会在发行版执行编译结束之后自动调用,生成合并后的notice文件。

  hpmApi.on(hpmApi.eventTypes.afterDist, () => {
    // 生成notice文件
  })

Readme

Keywords

Package Sidebar

Install

npm i @ohos/hpm-cli-notice

Weekly Downloads

37

Version

1.0.3

License

Apache License 2.0

Unpacked Size

21.3 kB

Total Files

13

Last publish

Collaborators

  • jianghoo
  • conglin
  • raoswing