File: README.md

package info (click to toggle)
node-react 18.2.0%2Bdfsg%2B~cs87.31.26-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 30,356 kB
  • sloc: javascript: 361,793; cpp: 1,326; sh: 52; makefile: 46
file content (30 lines) | stat: -rw-r--r-- 1,041 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Releasing DevTools

To release DevTools, do the following steps (in order):
1. [Prepare a release](#prepare-a-release)
2. [Build and test a release](#build-and-test-a-release)
3. [Publish a release](#publish-a-release)

Each of the scripts can be run with a `--dry` flag to test without committing or publishing any changes.

### Prepare a release
To increment version numbers and update the [CHANGELOG](https://github.com/facebook/react/blob/main/packages/react-devtools/CHANGELOG.md), run the `prepare-release` script:
```sh
./prepare-release.js
```

You'll need to follow the instructions at the end of the script to push the committed changes to the main fork on GitHub.

### Build and test a release
To build and test a release, run the `build-and-test` script:
```sh
./build-and-test.js
```

### Publish a release
To publish a release to NPM, run the `publish-release` script:
```sh
./publish-release.js
```

You'll need to follow the instructions at the end of the script to upload the extension to Chrome, Edge, and Firefox stores.