Skip to content

Commit

Permalink
Adds some missing licenses to the CSV export
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Smalley <[email protected]>
  • Loading branch information
Tyler Smalley committed Sep 29, 2020
1 parent da134f3 commit 73faa89
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tasks/licenses_csv_report.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 73faa89

Please sign in to comment.