UNPKG
@ohos/hpm-cli-notice
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
Combining the notice files in the project into 'Third Party Open Source Notice' file.
@ohos/hpm-cli-notice
/
README.md
13 lines
(8 loc)
•
376 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
#
@ohos
/hpm_cli_notice
收集项目中的notice文件(由
License
文件生成),在项目根目录下生成
Third
Party
Open
Source
Notice
文件 插件监听hpm-cli提供的afterDist钩子函数,会在发行版执行编译结束之后自动调用,生成合并后的notice文件。
``
` hpmApi.on(hpmApi.eventTypes.afterDist, () => { // 生成notice文件 }) `
``