Compare commits

...
Author SHA1 Message Date
Martin Konicek bb256efacf Revert "Move react to peerDependencies"
This reverts commit 9f01f96770.
2016-02-20 21:26:31 -08:00
Martin Konicek 481b3358a9 Revert "Add npm-shrinkwrap.json to npm"
This reverts commit 75869519e6.
2016-02-20 21:26:19 -08:00
Martin Konicek d7f1bdc56e [0.21.0-rc] Bump version numbers 2016-02-20 21:26:16 -08:00
6 changed files with 5 additions and 30 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "React"
s.version = "0.0.0-master"
s.version = "0.21.0-rc"
s.summary = "Build high quality mobile apps using React."
s.description = <<-DESC
React Native apps are built using the React JS
+1 -1
View File
@@ -1,4 +1,4 @@
VERSION_NAME=0.12.0-SNAPSHOT
VERSION_NAME=0.21.0
GROUP=com.facebook.react
POM_NAME=ReactNative
-8
View File
@@ -82,13 +82,5 @@ module.exports = yeoman.generators.NamedBase.extend({
{name: this.name}
);
}
},
install: function() {
if (this.options.upgrade) {
return;
}
this.npmInstall('react', { '--save': true });
}
});
-13
View File
@@ -44,19 +44,6 @@ module.exports = function upgrade(args, config) {
'https://github.com/facebook/react-native/releases/tag/v' + semver.major(v) + '.' + semver.minor(v) + '.0'
)
);
// >= v0.21.0, we require react to be a peer depdendency
if (semver.gte(v, '0.21.0') && !pak.dependencies['react']) {
console.log(
chalk.yellow(
'\nYour \'package.json\' file doesn\'t seem to have \'react\' as a dependency.\n' +
'\'react\' was changed from a dependency to a peer dependency in react-native v0.21.0.\n' +
'Therefore, it\'s necessary to include \'react\' in your project\'s dependencies.\n' +
'Just run \'npm install --save react\', then re-run \'react-native upgrade\'.\n'
)
);
return Promise.resolve();
}
} else {
console.log(
chalk.yellow(
+3 -6
View File
@@ -1,6 +1,6 @@
{
"name": "react-native",
"version": "0.0.0-master",
"version": "0.21.0-rc",
"description": "A framework for building native apps using React",
"license": "BSD-3-Clause",
"repository": {
@@ -92,8 +92,7 @@
"PATENTS",
"README.md",
"jestSupport",
".flowconfig",
"npm-shrinkwrap.json"
".flowconfig"
],
"scripts": {
"test": "NODE_ENV=test jest",
@@ -103,9 +102,6 @@
"bin": {
"react-native": "local-cli/wrong-react-native.js"
},
"peerDependencies": {
"react": "^0.14.5"
},
"dependencies": {
"absolute-path": "^0.0.0",
"art": "^0.10.0",
@@ -137,6 +133,7 @@
"optimist": "^0.6.1",
"progress": "^1.1.8",
"promise": "^7.1.1",
"react": "^0.14.5",
"react-timer-mixin": "^0.13.2",
"react-transform-hmr": "^1.0.2",
"rebound": "^0.0.13",
-1
View File
@@ -28,7 +28,6 @@ repo_root=$(pwd)
git branch | grep -o ${RELEASE}-stable && error "Branch already exists"
java -version 2>&1 | grep ${JAVA_VERSION} || error "Java version must be 1.7.x in order to generate Javadoc. Check: java -version"
git pull || error "Couldn't pull from remote repository"
git checkout -b ${RELEASE}-stable || error "Couldn't create branch"
success "Created release branch: ${RELEASE}-stable"