mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ACS-8215] Filter out dependencies of dependencies in licenses.ts script * ACS-8215 filter out wrong deps from license * ACS-8215 fix license list * ACS-8215 revert md file * Updated md file * ACS-8215 remove mark * add type * [ACS-8215] Add missing fix --------- Co-authored-by: Darya Balvanovich <darya.balvanovich@hyland.com> Co-authored-by: MichalKinas <michal.kinas@hyland.com>
29 lines
765 B
Plaintext
29 lines
765 B
Plaintext
---
|
|
Title: License info, <%= projName %> <%= projVersion %>
|
|
---
|
|
|
|
# License information for <%= projName %> <%= projVersion %>
|
|
|
|
This page lists all third party libraries the project depends on.
|
|
|
|
## Libraries
|
|
|
|
| Name | Version | License |
|
|
| --- | --- | --- |
|
|
<% for (var packageName in filteredPackages) {
|
|
var lastAtSignPos = packageName.lastIndexOf('@');
|
|
|
|
var name = packageName.substring(0, lastAtSignPos);
|
|
var version = packageName.substring(lastAtSignPos + 1);
|
|
var pack = filteredPackages[packageName];
|
|
var licenses = pack['licenseExp'] || 'N/A';
|
|
var repo = pack['repository'];
|
|
var linkedName = name;
|
|
|
|
if (repo) {
|
|
linkedName = `[${name}](${repo})`
|
|
}
|
|
-%>
|
|
| <%= linkedName %> | <%= version %> | <%= licenses %> |
|
|
<% } %>
|