Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 7bcf7f5

Browse files
authored
chore(deps): update Angular to 2.0.0 (#90)
1 parent cdc9f64 commit 7bcf7f5

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Creating the sample project:
2323

2424
Android:
2525
* `gulp start.android` to launch the sample on the connected device or emulator, and watch sources for auto update (if enabled in F2/shake dev menu)
26-
*use the `Reload JS` button after the initial red screen*
26+
* `gulp start.android.aot` to launch the some with AoT compilation
2727

2828
iOS:
2929
* `gulp start.ios` to launch the sample on an emulator, and watch sources for auto update (it will fail the first due to initial compilation, simply restart it)
30-
* OR, `gulp watch` and open `.dist/app/ngReactNative/ios/ngReactNative.xcodeproj` in Xcode and hit `Run`
30+
* `gulp start.ios.aot` to launch the some with AoT compilation
3131

3232
Tests:
3333
* `gulp test.browser` to run tests in Chrome

gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ gulp.task('publish.transform', ['publish.copy.source'], function (done) {
300300
runSequence('transform', done);
301301
});
302302
gulp.task('publish.ngc.src', ['publish.transform'], function (done) {
303-
exec('./node_modules/.bin/ngc -p ./dist/tmp/src', function(e, stdout) {
303+
exec(ngcExecutable + ' -p ./dist/tmp/src', function(e, stdout) {
304304
if (e) console.log(e);
305305
if (done) done();
306306
}).stdout.on('data', function(data) {
@@ -476,6 +476,8 @@ function customReporter() {
476476
error: (error) => {
477477
if (error.relativeFilename && error.message.indexOf(`Module '"react-native"' has no exported member`) == -1 &&
478478
error.message.indexOf(`Module ''angular2-react-native'' has no exported member`) == -1 &&
479+
error.message.indexOf(`Module ''angular2-react-native/android'' has no exported member`) == -1 &&
480+
error.message.indexOf(`Module ''angular2-react-native/ios'' has no exported member`) == -1 &&
479481
error.message.indexOf(`src\\angular2-react-native.d.ts`) == -1 &&
480482
error.message.indexOf(`src\\angular2-react-native-android.d.ts`) == -1 &&
481483
error.message.indexOf(`src\\angular2-react-native-ios.d.ts`) == -1 &&

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"homepage": "https://github.com/angular/react-native-renderer/",
2727
"devDependencies": {
28-
"@angular/compiler-cli": "0.6.0",
28+
"@angular/compiler-cli": "0.6.2",
2929
"babel-preset-es2015": "^6.14.0",
3030
"del": "^1.2.0",
3131
"glob": "^4.0.6",
@@ -52,18 +52,18 @@
5252
"typescript": "^2.0.2"
5353
},
5454
"dependencies": {
55-
"@angular/common": "v2.0.0-rc.6",
56-
"@angular/compiler": "v2.0.0-rc.6",
57-
"@angular/core": "v2.0.0-rc.6",
58-
"@angular/http": "v2.0.0-rc.6",
59-
"@angular/platform-browser": "v2.0.0-rc.6",
60-
"@angular/platform-browser-dynamic": "v2.0.0-rc.6",
61-
"@angular/platform-server": "v2.0.0-rc.6",
62-
"@angular/router": "3.0.0-rc.2",
55+
"@angular/common": "2.0.0",
56+
"@angular/compiler": "2.0.0",
57+
"@angular/core": "2.0.0",
58+
"@angular/http": "2.0.0",
59+
"@angular/platform-browser": "2.0.0",
60+
"@angular/platform-browser-dynamic": "2.0.0",
61+
"@angular/platform-server": "2.0.0",
62+
"@angular/router": "3.0.0",
6363
"hammerjs": "2.0.6",
6464
"react-native": "0.32.0",
6565
"reflect-metadata": "0.1.8",
66-
"rxjs": "5.0.0-beta.11",
67-
"zone.js": "0.6.17"
66+
"rxjs": "5.0.0-beta.12",
67+
"zone.js": "mlaval/zone.js#0.6.23-fixed-for-RN"
6868
}
6969
}

0 commit comments

Comments
 (0)