From 090e557366cae5539d31a48432ef5df79e3c7f2d Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Thu, 15 Jun 2023 08:41:13 -0700 Subject: [PATCH] Re-add the top level LICENSE file Summary: Repos on GitHub should have a top level LICENSE file to make sure GitHub can autodiscover the correct license for the project. Once we moved the file inside packages/react-native/ the autodiscovery is not working anymore (it returns a 404). Changelog: [Internal] - Re-add the top level LICENSE file Reviewed By: hoxyq Differential Revision: D46764347 fbshipit-source-id: 66b234557dada6c2987129dc3fc22ead52293a00 --- LICENSE | 21 +++++++++++++++++++++ README.md | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000000000..b93be90515ccd0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Meta Platforms, Inc. and affiliates. + +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 94f74a32d6b8e3..28ae98f546a027 100644 --- a/README.md +++ b/README.md @@ -143,5 +143,5 @@ React Native is MIT licensed, as found in the [LICENSE][l] file. React Native documentation is Creative Commons licensed, as found in the [LICENSE-docs][ld] file. -[l]: https://github.com/facebook/react-native/blob/main/packages/react-native/LICENSE -[ld]: https://github.com/facebook/react-native/blob/HEAD/LICENSE-docs +[l]: https://github.com/facebook/react-native/blob/main/LICENSE +[ld]: https://github.com/facebook/react-native/blob/main/LICENSE-docs