From 73faa899048579811e3df95d6ade48c98af844f4 Mon Sep 17 00:00:00 2001 From: Tyler Smalley Date: Mon, 28 Sep 2020 21:05:07 -0700 Subject: [PATCH] Adds some missing licenses to the CSV export Signed-off-by: Tyler Smalley --- tasks/licenses_csv_report.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tasks/licenses_csv_report.js b/tasks/licenses_csv_report.js index 746195038379e..f57d48f54f978 100644 --- a/tasks/licenses_csv_report.js +++ b/tasks/licenses_csv_report.js @@ -20,6 +20,7 @@ import { writeFileSync } from 'fs'; import { resolve } from 'path'; import { getInstalledPackages } from '../src/dev/npm'; +import { engines } from '../package'; import { LICENSE_OVERRIDES } from '../src/dev/license_checker'; import { isNull, isUndefined } from 'lodash'; @@ -65,6 +66,24 @@ export default function licensesCSVReport(grunt) { dev, }); + packages.unshift( + { + name: 'Node.js', + version: engines.node, + repository: 'https://nodejs.org', + licenses: ['MIT'], + }, + { + name: 'Red Hat Universal Base Image minimal', + verion: '8', + repository: + 'https://catalog.redhat.com/software/containers/ubi8/ubi-minimal/5c359a62bed8bd75a2c3fba8', + licenses: [ + 'Custom;https://www.redhat.com/licenses/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf', + ], + } + ); + const csv = packages .map((pkg) => { const data = {