mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
232e4474e6
Summary: While working on https://github.com/facebook/react-native/pull/34513 I noticed that on main branch the versioning is not really consistent everywhere. So this PR is an attempt at realigning so that on the main branch, RN is 1000.0.0 everywhere - in a way, it's cleaning up the room for the monorepo work to go flawlessly). It's just a pass of `node scripts/set-rn-version.js --to-version 1000.0.0`. There's the small chance that some versions where kept to 0.0.0 on purpose (build tools are weird), so we might just have to close this off. No big deal :) ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [Internal] [Changed] - re-align version to be 1000.0.0 on main everywhere Pull Request resolved: https://github.com/facebook/react-native/pull/34817 Test Plan: CI is green and when imported, nothing breaks. Reviewed By: cortinico Differential Revision: D39926953 Pulled By: cortinico fbshipit-source-id: ff66530382f891e17c00b35edf97c03591b6a9a8
25 lines
499 B
C++
25 lines
499 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/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
|