@react-native/debugger-frontend
Advanced tools
Comparing version 0.74.0-nightly-20231019-30b9b01e6 to 0.74.0-nightly-20231020-a1299938a
{ | ||
"name": "@react-native/debugger-frontend", | ||
"version": "0.74.0-nightly-20231019-30b9b01e6", | ||
"version": "0.74.0-nightly-20231020-a1299938a", | ||
"description": "Debugger frontend for React Native based on Chrome DevTools", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -14,3 +14,2 @@ # @react-native/debugger-frontend | ||
```js | ||
const frontendPath = require('@react-native/debugger-frontend'); | ||
@@ -21,4 +20,20 @@ | ||
## Updating the frontend assets | ||
## Contributing | ||
The compiled frontend assets are checked into the React Native repo. Run `node scripts/debugger-frontend/sync-and-build` from the root of your `react-native` checkout to update them. | ||
### Source repo | ||
Source code for this package lives in the [facebookexperimental/rn-chrome-devtools-frontend](https://github.com/facebookexperimental/rn-chrome-devtools-frontend) repo. See below for how we build and check in changes. | ||
### Updating the frontend assets | ||
The compiled assets for the debugger frontend are periodically checked into this package under the `dist/` folder. To update these, run `node scripts/debugger-frontend/sync-and-build` from the root of your `react-native` checkout. | ||
```sh | ||
# For main | ||
node scripts/debugger-frontend/sync-and-build --branch main | ||
# For stable branches (e.g. '0.73-stable') | ||
node scripts/debugger-frontend/sync-and-build --branch 0.73-stable | ||
``` | ||
By default, this will clone and build from [facebookexperimental/rn-chrome-devtools-frontend](https://github.com/facebookexperimental/rn-chrome-devtools-frontend). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12080206
38