mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
|
|
||
|---|---|---|
| .. | ||
| build-commands | ||
| publish-commands | ||
| build.js | ||
| config.js | ||
| package.json | ||
| publish.js | ||
| README.md | ||
| utils.js | ||
| yarn.lock | ||
React Release Scripts
At a high-level, the release process uses two scripts: build and publish.
- The build script does the heavy lifting (e.g., checking CI, running automated tests, building Rollup bundles) and then prints instructions for manual verification.
- The publish script then publishes the built artifacts to npm and pushes to GitHub.
Run either script without parameters to see its usage, e.g.:
./scripts/release/build.js
./scripts/release/publish.js
Each script will guide the release engineer through any necessary steps (including environment setup and manual testing steps).