From d3a17bd4be28cf14343900bad23945bda66e64f2 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Fri, 25 Nov 2022 09:35:57 +0100 Subject: [PATCH] add nodejs dependencies to license tarball --- services/idp/package.json | 4 ++-- services/settings/package.json | 4 ++-- services/web/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/idp/package.json b/services/idp/package.json index 3abbeda7b4d..77c4ed7a12e 100644 --- a/services/idp/package.json +++ b/services/idp/package.json @@ -9,8 +9,8 @@ "eject": "react-scripts eject", "licenses": "NODE_PATH=./node_modules node ../scripts/js-license-ranger.js", "licenses:check": "license-checker-rseidelsohn --summary --relativeLicensePath --onlyAllow 'Python-2.0;Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL;ODC-By-1.0' --excludePackages 'identifier;kpop;po2json;unicoderegexp'", - "licenses:csv": "license-checker-rseidelsohn --relativeLicensePath --csv --out ../third-party-licenses/node/idp/third-party-licenses.csv", - "licenses:save": "license-checker-rseidelsohn --relativeLicensePath --out /dev/null --files ../third-party-licenses/node/idp/third-party-licenses", + "licenses:csv": "license-checker-rseidelsohn --relativeLicensePath --csv --out ../../third-party-licenses/node/idp/third-party-licenses.csv", + "licenses:save": "license-checker-rseidelsohn --relativeLicensePath --out /dev/null --files ../../third-party-licenses/node/idp/third-party-licenses", "lint": "eslint ./**/*.{tsx,ts,jsx,js}", "start": "node scripts/start.js", "test": "node scripts/test.js --env=jsdom" diff --git a/services/settings/package.json b/services/settings/package.json index de2dd0b1c39..8842a79b011 100644 --- a/services/settings/package.json +++ b/services/settings/package.json @@ -16,8 +16,8 @@ "build": "rollup -c", "generate-api": "node node_modules/swagger-vue-generator/bin/generate-api.js --package-version v0 --source pkg/proto/v0/settings.swagger.json --moduleName settings --destination ui/client/settings/index.js", "licenses:check": "license-checker-rseidelsohn --summary --relativeLicensePath --onlyAllow 'Python-2.0;Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages 'ocis-settings@0.0.0;owncloud-design-system@13.1.0'", - "licenses:csv": "license-checker-rseidelsohn --relativeLicensePath --csv --out ../third-party-licenses/node/settings/third-party-licenses.csv", - "licenses:save": "license-checker-rseidelsohn --relativeLicensePath --out /dev/null --files ../third-party-licenses/node/settings/third-party-licenses", + "licenses:csv": "license-checker-rseidelsohn --relativeLicensePath --csv --out ../../third-party-licenses/node/settings/third-party-licenses.csv", + "licenses:save": "license-checker-rseidelsohn --relativeLicensePath --out /dev/null --files ../../third-party-licenses/node/settings/third-party-licenses", "lint": "eslint 'ui/**/*.{js,ts,vue}' --color", "test": "echo 'Not implemented'", "watch": "rollup -c -w" diff --git a/services/web/Makefile b/services/web/Makefile index 734cad2e00e..1ea11131547 100644 --- a/services/web/Makefile +++ b/services/web/Makefile @@ -41,5 +41,5 @@ ci-node-check-licenses: # ownCloud Web does the check on it's own .PHONY: ci-node-save-licenses ci-node-save-licenses: - @mkdir -p ../third-party-licenses/node/web - @curl --fail -slL -o- https://github.com/owncloud/web/releases/download/$(WEB_ASSETS_VERSION)/third-party-licenses.tar.gz | tar xzf - -C ../third-party-licenses/node/web + @mkdir -p ../../third-party-licenses/node/web + @curl --fail -slL -o- https://github.com/owncloud/web/releases/download/$(WEB_ASSETS_VERSION)/third-party-licenses.tar.gz | tar xzf - -C ../../third-party-licenses/node/web