Repository navigation
Conversation
robhogan
approved these changes
Nov 15, 2026
huntie
enabled auto-merge (squash)
November 15, 2026 16:59
robhogan
reviewed
Nov 15, 2026
| "url": "git+https://github.com/react/react-native.git", | ||
| "directory": "packages/debugger-frontend" | ||
| }, | ||
| "license": "BSD-3-Clause", |
Collaborator
There was a problem hiding this comment.
This one needs some care - BSD3 is Chromium's licence and so debugger-frontend (largely a CDT fork) has to respect it.
robhogan
disabled auto-merge
November 15, 2026 23:18
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Only
react-nativeships a LICENSE file to npm. The other@react-native/*packages publish without one (e.g.@react-native/dev-middleware@0.88.1), sincenpm publishruns from each package directory and never sees the repo rootLICENSE.Changes
LICENSEto each package — 22 packages. npm always includes a rootLICENSE, so nofileschanges are needed.debugger-frontendfrom BSD-3-Clause to MIT, matching every other package. The bundled devtools-frontend build keeps its BSD notice indist/third-party/LICENSE.check-packages-testto require a LICENSE in every published package, and for MIT packages, one matching the rootLICENSE.Committed copies over symlinks or a
prepackcopy: npm 7+ drops symlinked files from tarballs, and only some packages runprepack.Changelog:
[General][Fixed] - Include LICENSE file in all published
@react-native/*packagesTest Plan
✅ 6 of 6 tests pass. Deleting
packages/dev-middleware/LICENSEand editingpackages/polyfills/LICENSEfail the new test withmissing LICENSEandLICENSE does not match the root LICENSE.npm pack --dry-run --ignore-scripts # in packages/dev-middleware, debugger-frontend, react-native✅ Each tarball lists
LICENSEat its root.debugger-frontendalso keepsdist/third-party/LICENSE.✅ ESLint and Prettier pass on the changed test, and
yarn flow-checkreports no errors in it.