Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Update to [email protected]

* Fix dependencies to allow unforked version of RN
  • Loading branch information
acoates-ms authored Jun 17, 2019
1 parent f9c8c41 commit 721d1c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .ado/evergreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ request.get('https://raw.githubusercontent.com/microsoft/react-native/master/pac

let existingPkgJson = JSON.parse(fs.readFileSync(pkgJsonPath, 'utf8'));

const rnDependency = `${pkgJson.version} || https://github.com/microsoft/react-native/archive/v${pkgJson.version}.tar.gz`;
const rnDependency = `^${pkgJson.version.slice(0, pkgJson.version.indexOf('-'))} || ${pkgJson.version} || https://github.com/microsoft/react-native/archive/v${pkgJson.version}.tar.gz`;

if (existingPkgJson.peerDependencies['react-native'] === rnDependency) {
console.log(`Already at latest react-native version: ${pkgJson.version}.`);
Expand Down
4 changes: 2 additions & 2 deletions vnext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
"tslint-microsoft-contrib": "^5.0.1",
"tslint-react": "^4",
"typescript": "3.5.1",
"react-native": "0.59.0-microsoft.2"
"react-native": "0.59.0-microsoft.4"
},
"peerDependencies": {
"react": "16.8.3",
"react-native": "0.59.0-microsoft.2 || https://github.com/microsoft/react-native/archive/v0.59.0-microsoft.2.tar.gz"
"react-native": "^0.59.0 || 0.59.0-microsoft.4 || https://github.com/microsoft/react-native/archive/v0.59.0-microsoft.4.tar.gz"
}
}
6 changes: 3 additions & 3 deletions vnext/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4895,9 +4895,9 @@ react-native-local-cli@^1.0.0-alpha.5:
xcode "^1.0.0"
xmldoc "^0.4.0"

"react-native@https://github.com/Microsoft/react-native/archive/v0.59.0-microsoft.2.tar.gz":
version "0.59.0-microsoft.2"
resolved "https://github.com/Microsoft/react-native/archive/v0.59.0-microsoft.2.tar.gz#cc414b6055f976dac88ef5ca2c8490785ff16525"
"react-native@https://github.com/Microsoft/react-native/archive/v0.59.0-microsoft.4.tar.gz":
version "0.59.0-microsoft.4"
resolved "https://github.com/Microsoft/react-native/archive/v0.59.0-microsoft.4.tar.gz#1776b512acd24257a3c1a64aaf7983ca30e37237"
dependencies:
"@babel/core" "^7.4.0"
"@babel/generator" "^7.4.0"
Expand Down

0 comments on commit 721d1c6

Please sign in to comment.