Skip to content

Commit

Permalink
[0.66.0-rc.0] Bump version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna Wei committed Aug 27, 2021
1 parent ab82900 commit a0429eb
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 23 deletions.
8 changes: 4 additions & 4 deletions Libraries/Core/ReactNativeVersion.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/**
* @generated by scripts/bump-oss-version.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @generated by scripts/bump-oss-version.js
* @flow strict
*/

exports.version = {
major: 0,
minor: 0,
minor: 66,
patch: 0,
prerelease: null,
prerelease: 'rc.0',
};
10 changes: 5 additions & 5 deletions React/Base/RCTVersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^(void){
__rnVersion = @{
RCTVersionMajor: @(0),
RCTVersionMinor: @(0),
RCTVersionPatch: @(0),
RCTVersionPrerelease: [NSNull null],
};
RCTVersionMajor: @(0),
RCTVersionMinor: @(66),
RCTVersionPatch: @(0),
RCTVersionPrerelease: @"rc.0",
};
});
return __rnVersion;
}
2 changes: 1 addition & 1 deletion ReactAndroid/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=1000.0.0-main
VERSION_NAME=0.66.0-rc.0
GROUP=com.facebook.react

POM_NAME=ReactNative
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
public class ReactNativeVersion {
public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
"major", 0,
"minor", 0,
"minor", 66,
"patch", 0,
"prerelease", null);
"prerelease", "rc.0");
}
4 changes: 2 additions & 2 deletions ReactCommon/cxxreact/ReactNativeVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ namespace facebook::react {

constexpr struct {
int32_t Major = 0;
int32_t Minor = 0;
int32_t Minor = 66;
int32_t Patch = 0;
std::string_view Prerelease = "";
std::string_view Prerelease = "rc.0";
} ReactNativeVersion;

} // namespace facebook::react
50 changes: 42 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "react-native",
"private": true,
"version": "1000.0.0",
"version": "0.66.0-rc.0",
"bin": "./cli.js",
"description": "A framework for building native apps using React",
"license": "MIT",
Expand Down Expand Up @@ -81,10 +80,6 @@
"test-ios-e2e": "detox test -c ios.sim.release packages/rn-tester/e2e",
"test-ios": "./scripts/objc-test.sh test"
},
"workspaces": [
"packages/!(eslint-config-react-native-community)",
"repo-config"
],
"peerDependencies": {
"react": "17.0.2"
},
Expand Down Expand Up @@ -123,7 +118,46 @@
},
"devDependencies": {
"flow-bin": "^0.158.0",
"react": "17.0.2"
"react": "17.0.2",
"@babel/core": "^7.14.0",
"@babel/generator": "^7.14.0",
"@babel/template": "^7.0.0",
"@babel/types": "^7.0.0",
"@react-native-community/eslint-plugin": "*",
"@reactions/component": "^2.0.2",
"async": "^2.4.0",
"babel-eslint": "^10.1.0",
"babel-preset-fbjs": "^3.4.0",
"clang-format": "^1.2.4",
"connect": "^3.6.5",
"coveralls": "^3.0.2",
"detox": "16.7.2",
"eslint": "7.12.0",
"eslint-config-fb-strict": "^24.9.0",
"eslint-config-fbjs": "2.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-eslint-comments": "^3.1.1",
"eslint-plugin-flowtype": "2.50.3",
"eslint-plugin-jest": "22.4.1",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-prettier": "2.6.2",
"eslint-plugin-react": "7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-react-native": "3.10.0",
"eslint-plugin-relay": "1.8.1",
"jest": "^26.6.3",
"jest-junit": "^10.0.0",
"jscodeshift": "^0.11.0",
"metro-transform-plugins": "^0.66.0",
"mkdirp": "^0.5.1",
"prettier": "1.19.1",
"react-shallow-renderer": "16.14.1",
"react-test-renderer": "17.0.2",
"shelljs": "^0.7.8",
"signedsource": "^1.0.0",
"ws": "^6.1.4",
"yargs": "^15.3.1"
},
"detox": {
"test-runner": "jest",
Expand Down Expand Up @@ -162,4 +196,4 @@
}
}
}
}
}
2 changes: 2 additions & 0 deletions scripts/bump-oss-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,11 @@ fs.writeFileSync(
);

let packageJson = JSON.parse(cat('package.json'));
const repoConfigJson = JSON.parse(cat('repo-config/package.json'));
packageJson.version = version;
delete packageJson.workspaces;
delete packageJson.private;
packageJson.devDependencies = {...packageJson.devDependencies, ...repoConfigJson.dependencies};
fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2), 'utf-8');

// Change ReactAndroid/gradle.properties
Expand Down
2 changes: 1 addition & 1 deletion template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"react": "17.0.2",
"react-native": "1000.0.0"
"react-native": "0.66.0-rc.0"
},
"devDependencies": {
"@babel/core": "^7.12.9",
Expand Down

0 comments on commit a0429eb

Please sign in to comment.