Extension Release Packaging
The Chrome and Firefox extension release flow is driven by
scripts/extension-release.mjs. It updates package and manifest versions,
builds both extension packages, writes ZIP artifacts, and writes SHA-256
checksum files.
Dry Run
Preview the complete release without changing files or creating artifacts:
npm run extensions:prepare -- --version 0.1.0 --dry-run
Preview one browser target:
npm run extensions:package -- --target firefox --dry-run
Version Bump
Update Chrome and Firefox package versions, manifests, and smoke harness version labels:
npm run extensions:version -- --version 0.1.0
The command keeps these files aligned:
packages/devtools-chrome-extension/package.jsonpackages/devtools-chrome-extension/public/manifest.jsonpackages/devtools-chrome-extension/src/smoke.tsxpackages/devtools-firefox-extension/package.jsonpackages/devtools-firefox-extension/public/manifest.jsonpackages/devtools-firefox-extension/src/smoke.tsx
Package Artifacts
Build and package both browser extensions from a clean checkout:
npm run extensions:package
The default output directory is dist/extensions. Artifact names use this
convention:
react-devtools-chrome-extension-v<version>.zipreact-devtools-chrome-extension-v<version>.zip.sha256react-devtools-firefox-extension-v<version>.zipreact-devtools-firefox-extension-v<version>.zip.sha256
When the extension packages are already built, skip the build step:
npm run extensions:package -- --skip-build
Store Submission
- Start from a clean
maincheckout. - Run the full verification suite:
npm run format:check,npm run lint,npm run typecheck,npm run test:unit,npm run build, andnpm run test:e2e. - Run
npm run extensions:prepare -- --version <version>. - Confirm the ZIP files and
.sha256files indist/extensions. - Load the Chrome ZIP through the Chrome Web Store developer dashboard and use the Chrome extension smoke checklist before submission.
- Load the Firefox ZIP through Mozilla Add-ons and follow the Firefox smoke
checklist in
packages/devtools-firefox-extension/FIREFOX_SMOKE_CHECKLIST.md. - Attach the checksum values to the release notes so reviewers can verify the exact uploaded artifacts.