diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 064ca1d9d..000000000 --- a/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License - -Copyright (c) 2019 EclipseSource Munich -https://github.com/eclipsesource/jsonforms - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 000000000..282a3e414 --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,7 @@ +Copyright 2019–2025 EclipseSource Munich (@ https://github.com/eclipsesource/jsonforms) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 17f96ca90..79afa96c1 100644 --- a/README.md +++ b/README.md @@ -88,4 +88,4 @@ See [here](https://github.com/eclipsesource/jsonforms/blob/master/CONTRIBUTING.m ## License -The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. diff --git a/add-file-headers.sh b/add-file-headers.sh index 6e4a608a8..0d42034b0 100755 --- a/add-file-headers.sh +++ b/add-file-headers.sh @@ -10,17 +10,17 @@ # MODE="undefined" -HEADER_FILE="LICENSE" +HEADER_FILE="LICENSE-MIT" SRC_PATH="/dev/null" -INDENT=2 # two spaces +INDENT=2 # two spaces REPLACEMENT="undefined" declare -a EXT_LIST=(ts:c tsx:c) function print_usage { show_status usage "$0 [all|git-dirty] [-h|--header=/path/to/header] [-p|--path=/path/to/src] [-u|--update=\"toreplace/replacement\"]" - show_status usage "Example: $0 all --header=./LICENSE --path=/lib # Will add header from LICENSE file and it to all supported file types in /lib directory" - show_status usage "Example: $0 all --header=./LICENSE --path=/lib --update=\"2018 /2018-2019 \" # replace \"2018 \" with \"2018-2019 \" in existing headers" + show_status usage "Example: $0 all --header=./LICENSE-MIT --path=/lib # Will add header from LICENSE-MIT file and it to all supported file types in /lib directory" + show_status usage "Example: $0 all --header=./LICENSE-MIT --path=/lib --update=\"2018 /2018-2019 \" # replace \"2018 \" with \"2018-2019 \" in existing headers" } function show_status { diff --git a/package.json b/package.json index 11705add4..a357cb90c 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "jsonforms-monorepo", + "license": "MIT", "engines": { "node": "^18.19.0", "pnpm": ">=7.13.4" diff --git a/packages/angular-material/README.md b/packages/angular-material/README.md index c8ab6e12a..020185d44 100644 --- a/packages/angular-material/README.md +++ b/packages/angular-material/README.md @@ -117,7 +117,7 @@ export class AppModule {} ## License -The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. ## Roadmap diff --git a/packages/angular/README.md b/packages/angular/README.md index c95652494..f540ab605 100644 --- a/packages/angular/README.md +++ b/packages/angular/README.md @@ -132,7 +132,7 @@ export class AppModule {} ## License -The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. ## Roadmap diff --git a/packages/core/README.md b/packages/core/README.md index 50e382d80..9ee1d8a1f 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -24,7 +24,7 @@ Check for all published JSON Forms ## License -The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. ## Roadmap diff --git a/packages/examples-react/package.json b/packages/examples-react/package.json index 49685e9b5..9a8a033d6 100644 --- a/packages/examples-react/package.json +++ b/packages/examples-react/package.json @@ -1,6 +1,7 @@ { "name": "@jsonforms/examples-react", "version": "3.5.1", + "license": "MIT", "private": true, "dependencies": { "@jsonforms/core": "workspace:*", diff --git a/packages/examples/README.md b/packages/examples/README.md index b3d9a435e..ca8fbf7d9 100644 --- a/packages/examples/README.md +++ b/packages/examples/README.md @@ -14,7 +14,7 @@ Check for all published JSON Forms ## License -The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. ## Roadmap diff --git a/packages/material-renderers/README.md b/packages/material-renderers/README.md index 4f0d0d45b..7424ca290 100644 --- a/packages/material-renderers/README.md +++ b/packages/material-renderers/README.md @@ -101,7 +101,7 @@ function App() { ## License -The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. ## Roadmap diff --git a/packages/react/README.md b/packages/react/README.md index c1c49f448..689f6d8e5 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -114,7 +114,7 @@ export default App; ## License -The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. ## Roadmap diff --git a/packages/vanilla-renderers/README.md b/packages/vanilla-renderers/README.md index cd54db10d..c18afcca7 100644 --- a/packages/vanilla-renderers/README.md +++ b/packages/vanilla-renderers/README.md @@ -97,7 +97,7 @@ function App() { ## License -The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. ## Roadmap diff --git a/packages/vue-vanilla/README.md b/packages/vue-vanilla/README.md index ef704d3b2..8cee87765 100644 --- a/packages/vue-vanilla/README.md +++ b/packages/vue-vanilla/README.md @@ -196,7 +196,7 @@ Attributes not specified here fall back to either the `defaultStyles` or provide ## License -The JSONForms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSONForms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. ## Roadmap diff --git a/packages/vue-vuetify/README.md b/packages/vue-vuetify/README.md index 6f1a2d924..513803029 100644 --- a/packages/vue-vuetify/README.md +++ b/packages/vue-vuetify/README.md @@ -128,4 +128,4 @@ For more information on how JSON Forms can be configured, please see the [README ## License -The JSONForms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSONForms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. diff --git a/packages/vue/README.md b/packages/vue/README.md index a03c58463..56e78b624 100644 --- a/packages/vue/README.md +++ b/packages/vue/README.md @@ -291,7 +291,7 @@ Instead it should be modified via the provided `dispatch` and by changing the pr ## License -The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE) for more information. +The JSON Forms project is licensed under the MIT License. See the [LICENSE file](https://github.com/eclipsesource/jsonforms/blob/master/LICENSE-MIT) for more information. ## Roadmap