react-native/scripts/releases
Blake Friedman 188a09ef69 fix linting noise (#45465)
Summary:
## Summary:
Fix linting warnings

Changelog: [Internal]

Pull Request resolved: https://github.com/facebook/react-native/pull/45465

Test Plan:
```
$ eslint .
Done in 46.11s.
$ arc f
ok No lint issues.
```

Reviewed By: cipolleschi

Differential Revision: D59805820

Pulled By: blakef

fbshipit-source-id: f33d99a6a06607c3c3762881cc7c182804b981e1
2024-07-17 10:07:00 -07:00
..
__tests__ Rename set-rn-version script, mark as deprecated (#45184) 2024-06-26 10:14:12 -07:00
templates Rename set-rn-version script, mark as deprecated (#45184) 2024-06-26 10:14:12 -07:00
utils fix linting noise (#45465) 2024-07-17 10:07:00 -07:00
create-release-commit.js Move all package.json updates into set-version script (#45180) 2024-06-26 07:59:49 -07:00
README.md Rename set-rn-version script, mark as deprecated (#45184) 2024-06-26 10:14:12 -07:00
remove-new-arch-flags.js Reorganise and document release script entry points (#42774) 2024-02-01 06:02:17 -08:00
set-rn-artifacts-version.js Rename set-rn-version script, mark as deprecated (#45184) 2024-06-26 10:14:12 -07:00
set-version.js Rename set-rn-version script, mark as deprecated (#45184) 2024-06-26 10:14:12 -07:00

scripts/releases

Scripts related to creating a React Native release. These are the lower level entry points used by scripts/releases-ci.

Commands

For information on command arguments, run node <command> --help.

create-release-commit

Creates a release commit to trigger a new release.

remove-new-arch-flags

Updates native build files to disable the New Architecture.

set-version

Bump the version of all packages.

  • Updates package.json metadata for all workspaces and the project root.
  • Updates relevant native files in the react-native package.

If --skipReactNativeVersion is passed, the react-native package version will be left unmodified as "1000.0.0" (special static version on main), and native files will not be touched.

set-rn-artifacts-version

Note

Deprecated: Prefer set-version. This entry point is a subset of set-version, and is used only by test workflows. We will replace these call sites in future.

Updates relevant native files in the react-native package to materialize the given release version. This is run by set-version unless --skipReactNativeVersion is passed.