This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #311 from boschresearch/feature/build-license-check
build license check
- Loading branch information
Showing
3 changed files
with
115 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?xml version="1.0"?> | ||
<licenses> | ||
<valid> | ||
<license> | ||
<name>The Apache Software License, Version 2.0</name> | ||
<names> | ||
<name>The Apache Software License, Version 2.0</name> | ||
<name>Apache License, Version 2.0</name> | ||
<name>Apache License 2.0</name> | ||
<name>Apache 2.0</name> | ||
</names> | ||
<urls> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</urls> | ||
</license> | ||
<license> | ||
<name>The MIT License</name> | ||
<names> | ||
<name>The MIT License</name> | ||
<name>MIT License</name> | ||
</names> | ||
</license> | ||
<license> | ||
<name>Creative Commons</name> | ||
<names> | ||
<name>CC0</name> | ||
</names> | ||
</license> | ||
<license> | ||
<name>Eclipse Public License v. 2.0</name> | ||
<names> | ||
<name>Eclipse Public License v. 2.0</name> | ||
<name>EPL 2.0</name> | ||
</names> | ||
</license> | ||
<license> | ||
<name>GPL2 w/ CPE</name> | ||
<names> | ||
<name>GPL2 w/ CPE</name> | ||
</names> | ||
</license> | ||
<license> | ||
<name>BSD-2-Clause</name> | ||
<names> | ||
<name>BSD-2-Clause</name> | ||
</names> | ||
</license> | ||
</valid> | ||
<forbidden> | ||
<license> | ||
<name>GNU General Public License version 2</name> | ||
<names> | ||
<name>GNU General Public License version 2</name> | ||
</names> | ||
<urls> | ||
<url>https://opensource.org/licenses/gpl-2.0.php</url> | ||
</urls> | ||
</license> | ||
</forbidden> | ||
</licenses> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
"test:unit": "vue-cli-service test:unit", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint", | ||
"license-check": "license-checker --production --json --onlyAllow 'MIT;Python-2.0;Apache-2.0;BSD-2-Clause;BSD-3-Clause' --excludePackages '[email protected]'", | ||
"license": "xml-js ./licenses/third-party-report.xml --spaces 2 --compact --text-key 'text' --trim --out ./licenses/attribution.json && generate-attribution -o ./licenses" | ||
}, | ||
"dependencies": { | ||
|
@@ -44,7 +45,8 @@ | |
"vue-cli-plugin-vuetify": "^2.0.7", | ||
"vue-jest": "^3.0.7", | ||
"vue-template-compiler": "^2.6.12", | ||
"xml-js": "^1.6.11" | ||
"xml-js": "^1.6.11", | ||
"license-checker": "25.0.1" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
|