Skip to content

Commit 2ae163a

Browse files
cortinicofacebook-github-bot
authored andcommitted
Re-add the top level LICENSE file (#37916)
Summary: Pull Request resolved: #37916 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: cd760c004cf97248490b43f7ba08a47ef2d23c89
1 parent aaa15ed commit 2ae163a

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Meta Platforms, Inc. and affiliates.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,5 @@ React Native is MIT licensed, as found in the [LICENSE][l] file.
143143

144144
React Native documentation is Creative Commons licensed, as found in the [LICENSE-docs][ld] file.
145145

146-
[l]: https://github.com/facebook/react-native/blob/main/packages/react-native/LICENSE
147-
[ld]: https://github.com/facebook/react-native/blob/HEAD/LICENSE-docs
146+
[l]: https://github.com/facebook/react-native/blob/main/LICENSE
147+
[ld]: https://github.com/facebook/react-native/blob/main/LICENSE-docs

0 commit comments

Comments
 (0)