Combining the notice files in the project into 'Third Party Open Source Notice' file.
npm install @ohos/hpm-cli-notice收集项目中的notice文件(由License文件生成),在项目根目录下生成Third Party Open Source Notice文件
插件监听hpm-cli提供的afterDist钩子函数,会在发行版执行编译结束之后自动调用,生成合并后的notice文件。
````
hpmApi.on(hpmApi.eventTypes.afterDist, () => {
// 生成notice文件
})