mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42730 Reviewing and modernising this script as part of simplifying our release publish workflow. - Drop unused `--dependency-versions` arg from CLI entry point - Simplify templating approach - Type as Flow - Drop dependencies on `shelljs` and `yargs` - Relocate under `scripts/releases/` - Rewrite tests as snapshot tests Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D53001971 fbshipit-source-id: e55a71a0bb37e3e18ba1e582a5c46ddd58823d81
25 lines
508 B
C++
25 lines
508 B
C++
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @generated by scripts/releases/set-rn-version.js
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <string_view>
|
|
|
|
namespace facebook::react {
|
|
|
|
constexpr struct {
|
|
int32_t Major = 1000;
|
|
int32_t Minor = 0;
|
|
int32_t Patch = 0;
|
|
std::string_view Prerelease = "";
|
|
} ReactNativeVersion;
|
|
|
|
} // namespace facebook::react
|