From 29d8b9ccb808bcb0c77c1175cb62674a2186dee9 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Sat, 9 Jan 2021 13:38:29 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=E2=9C=A8also=20export=20dependency=20versi?= =?UTF-8?q?ons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/exporter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/exporter.js b/bin/exporter.js index a512843..d45a634 100644 --- a/bin/exporter.js +++ b/bin/exporter.js @@ -74,6 +74,7 @@ function getDependencyLicenseInfo(all_dependencies, recursive) { description: packageinfo.description, name: packageinfo.name, license: packageinfo.license, + version: packageinfo.version, licensetext }; all.push(info); From 350497cfdbb3ee3a80269d258dc656827e20cc21 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Sat, 9 Jan 2021 13:39:04 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=9A=80=20Version=20bump=20to=200.0.9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 64a12ab..3b204c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@odit/license-exporter", - "version": "0.0.8", + "version": "0.0.9", "description": "A simple license crawler for crediting open source work", "keywords": [ "license", From 2eeacf12199504e836d106244c90564765023e1d Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Mon, 25 Jan 2021 10:54:44 +0000 Subject: [PATCH 3/3] Fixed table in readme --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1db1071..3b16fa2 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,12 @@ Export all dependencies to markdown: `licenseexporter --md --recursive` ## Options Arg | Description | Type | Default -- | - | - | - --j, --json | Exports the license information into ./licenses.json as json. | flag/[boolean] | N/A --p, --pretty | Prettify the json output.|flag/[boolean] | N/A --m, --markdown | Exports the license information into ./licenses.md as markdown. | flag/[boolean] | N/A --r, --recursive | Include all of the dependencies' subdependencies. | flag/[boolean] | N/A --o, --output | Output folder for the exports. | [string] | Current folder --i, --input | Path to the input folder containing your package.json and node_modules | [string] | Current folder --h, --help | Show help | flag/[boolean] | N/A --v, --version | Show version number | flag/[boolean] | N/A \ No newline at end of file +| - | - | - | - +\-j, --json | Exports the license information into ./licenses.json as json. | flag/[boolean] | N/A +\-p, --pretty | Prettify the json output.|flag/[boolean] | N/A +\-m, --markdown | Exports the license information into ./licenses.md as markdown. | flag/[boolean] | N/A +\-r, --recursive | Include all of the dependencies' subdependencies. | flag/[boolean] | N/A +\-o, --output | Output folder for the exports. | [string] | Current folder +\-i, --input | Path to the input folder containing your package.json and node_modules | [string] | Current folder +\-h, --help | Show help | flag/[boolean] | N/A +\-v, --version | Show version number | flag/[boolean] | N/A \ No newline at end of file