Skip to content

Commit ab4312b

Browse files
author
VladimirAmiorkov
committed
chore: update app's to latest 8 rc version of Angular
chore: migrate to latest 8 rc version of Angular
1 parent 418aff2 commit ab4312b

File tree

7 files changed

+86
-77
lines changed

7 files changed

+86
-77
lines changed

Diff for: e2e/modal-navigation-ng/package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
}
1414
},
1515
"dependencies": {
16-
"@angular/animations": "~7.2.0",
17-
"@angular/common": "~7.2.0",
18-
"@angular/compiler": "~7.2.0",
19-
"@angular/core": "~7.2.0",
20-
"@angular/forms": "~7.2.0",
21-
"@angular/http": "~7.2.0",
22-
"@angular/platform-browser": "~7.2.0",
23-
"@angular/platform-browser-dynamic": "~7.2.0",
24-
"@angular/router": "~7.2.0",
16+
"@angular/animations": "8.0.0-rc.4",
17+
"@angular/common": "8.0.0-rc.4",
18+
"@angular/compiler": "8.0.0-rc.4",
19+
"@angular/core": "8.0.0-rc.4",
20+
"@angular/forms": "8.0.0-rc.4",
21+
"@angular/http": "8.0.0-beta.10",
22+
"@angular/platform-browser": "8.0.0-rc.4",
23+
"@angular/platform-browser-dynamic": "8.0.0-rc.4",
24+
"@angular/router": "8.0.0-rc.4",
2525
"nativescript-angular": "file:../../nativescript-angular",
2626
"nativescript-theme-core": "~1.0.4",
2727
"reflect-metadata": "~0.1.8",
@@ -30,8 +30,8 @@
3030
"zone.js": "^0.8.4"
3131
},
3232
"devDependencies": {
33-
"@angular/compiler-cli": "~7.2.0",
34-
"@ngtools/webpack": "~7.2.0",
33+
"@angular/compiler-cli": "8.0.0-rc.4",
34+
"@ngtools/webpack": "8.0.0-rc.4",
3535
"@types/chai": "~4.1.7",
3636
"@types/mocha": "~5.2.5",
3737
"@types/node": "~10.12.18",
@@ -45,7 +45,7 @@
4545
"nativescript-dev-typescript": "next",
4646
"nativescript-dev-webpack": "next",
4747
"tns-platform-declarations": "next",
48-
"typescript": "~3.1.1"
48+
"typescript": "~3.4.5"
4949
},
5050
"scripts": {
5151
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",

Diff for: e2e/nested-router-tab-view/package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66
"nativescript": {
77
"id": "org.nativescript.nestedroutertabview",
88
"tns-ios": {
9-
"version": "next"
9+
"version": "6.0.0-2019-05-16-165318-01"
1010
},
1111
"tns-android": {
1212
"version": "next"
1313
}
1414
},
1515
"dependencies": {
16-
"@angular/animations": "~7.2.0",
17-
"@angular/common": "~7.2.0",
18-
"@angular/compiler": "~7.2.0",
19-
"@angular/core": "~7.2.0",
20-
"@angular/forms": "~7.2.0",
21-
"@angular/http": "~7.2.0",
22-
"@angular/platform-browser": "~7.2.0",
23-
"@angular/platform-browser-dynamic": "~7.2.0",
24-
"@angular/router": "~7.2.0",
16+
"@angular/animations": "8.0.0-rc.4",
17+
"@angular/common": "8.0.0-rc.4",
18+
"@angular/compiler": "8.0.0-rc.4",
19+
"@angular/core": "8.0.0-rc.4",
20+
"@angular/forms": "8.0.0-rc.4",
21+
"@angular/http": "8.0.0-beta.10",
22+
"@angular/platform-browser": "8.0.0-rc.4",
23+
"@angular/platform-browser-dynamic": "8.0.0-rc.4",
24+
"@angular/router": "8.0.0-rc.4",
2525
"nativescript-angular": "file:../../nativescript-angular",
2626
"nativescript-theme-core": "~1.0.4",
2727
"reflect-metadata": "~0.1.8",
@@ -30,8 +30,8 @@
3030
"zone.js": "^0.8.4"
3131
},
3232
"devDependencies": {
33-
"@angular/compiler-cli": "~7.2.0",
34-
"@ngtools/webpack": "~7.2.0",
33+
"@angular/compiler-cli": "8.0.0-rc.4",
34+
"@ngtools/webpack": "8.0.0-rc.4",
3535
"@types/chai": "~4.1.7",
3636
"@types/mocha": "~5.2.5",
3737
"@types/node": "~10.12.18",
@@ -44,7 +44,7 @@
4444
"nativescript-dev-appium": "next",
4545
"nativescript-dev-typescript": "next",
4646
"nativescript-dev-webpack": "next",
47-
"typescript": "~3.1.1"
47+
"typescript": "3.4.5"
4848
},
4949
"scripts": {
5050
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",

Diff for: e2e/renderer/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
"id": "org.nativescript.renderer"
88
},
99
"dependencies": {
10-
"@angular/common": "~7.2.0",
11-
"@angular/compiler": "~7.2.0",
12-
"@angular/core": "~7.2.0",
13-
"@angular/forms": "~7.2.0",
14-
"@angular/http": "~7.2.0",
15-
"@angular/platform-browser": "~7.2.0",
16-
"@angular/platform-browser-dynamic": "~7.2.0",
17-
"@angular/router": "~7.2.0",
10+
"@angular/common": "8.0.0-rc.4",
11+
"@angular/compiler": "8.0.0-rc.4",
12+
"@angular/core": "8.0.0-rc.4",
13+
"@angular/forms": "8.0.0-rc.4",
14+
"@angular/http": "8.0.0-beta.10",
15+
"@angular/platform-browser": "8.0.0-rc.4",
16+
"@angular/platform-browser-dynamic": "8.0.0-rc.4",
17+
"@angular/router": "8.0.0-rc.4",
1818
"nativescript-angular": "file:../../nativescript-angular",
1919
"nativescript-intl": "^3.0.0",
2020
"reflect-metadata": "~0.1.8",
@@ -23,8 +23,8 @@
2323
"zone.js": "^0.8.4"
2424
},
2525
"devDependencies": {
26-
"@angular/compiler-cli": "~7.2.0",
27-
"@ngtools/webpack": "~7.2.0",
26+
"@angular/compiler-cli": "8.0.0-rc.4",
27+
"@ngtools/webpack": "8.0.0-rc.4",
2828
"@types/chai": "~4.1.7",
2929
"@types/mocha": "~5.2.5",
3030
"@types/node": "~10.12.18",
@@ -40,7 +40,7 @@
4040
"nativescript-dev-typescript": "next",
4141
"nativescript-dev-webpack": "next",
4242
"tslib": "^1.7.1",
43-
"typescript": "~3.1.1"
43+
"typescript": "~3.4.5"
4444
},
4545
"scripts": {
4646
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",

Diff for: e2e/router/package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
}
1111
},
1212
"dependencies": {
13-
"@angular/animations": "~7.2.0",
14-
"@angular/common": "~7.2.0",
15-
"@angular/compiler": "~7.2.0",
16-
"@angular/core": "~7.2.0",
17-
"@angular/forms": "~7.2.0",
18-
"@angular/http": "~7.2.0",
19-
"@angular/platform-browser": "~7.2.0",
20-
"@angular/platform-browser-dynamic": "~7.2.0",
21-
"@angular/router": "~7.2.0",
13+
"@angular/animations": "8.0.0-rc.4",
14+
"@angular/common": "8.0.0-rc.4",
15+
"@angular/compiler": "8.0.0-rc.4",
16+
"@angular/core": "8.0.0-rc.4",
17+
"@angular/forms": "8.0.0-rc.4",
18+
"@angular/http": "8.0.0-beta.10",
19+
"@angular/platform-browser": "8.0.0-rc.4",
20+
"@angular/platform-browser-dynamic": "8.0.0-rc.4",
21+
"@angular/router": "8.0.0-rc.4",
2222
"nativescript-angular": "file:../../nativescript-angular",
2323
"nativescript-intl": "^3.0.0",
2424
"reflect-metadata": "~0.1.8",
@@ -27,8 +27,8 @@
2727
"zone.js": "^0.8.4"
2828
},
2929
"devDependencies": {
30-
"@angular/compiler-cli": "~7.2.0",
31-
"@ngtools/webpack": "~7.2.0",
30+
"@angular/compiler-cli": "8.0.0-rc.4",
31+
"@ngtools/webpack": "8.0.0-rc.4",
3232
"@types/chai": "~4.1.7",
3333
"@types/mocha": "~5.2.5",
3434
"@types/node": "^10.12.12",
@@ -44,7 +44,7 @@
4444
"nativescript-dev-typescript": "next",
4545
"nativescript-dev-webpack": "next",
4646
"tslib": "^1.7.1",
47-
"typescript": "~3.1.1"
47+
"typescript": "~3.4.5"
4848
},
4949
"scripts": {
5050
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",

Diff for: nativescript-angular/package.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -45,35 +45,35 @@
4545
"reflect-metadata": "^0.1.8"
4646
},
4747
"peerDependencies": {
48-
"@angular/platform-browser-dynamic": "~7.2.0",
49-
"@angular/common": "~7.2.0",
50-
"@angular/compiler": "~7.2.0",
51-
"@angular/core": "~7.2.0",
52-
"@angular/forms": "~7.2.0",
53-
"@angular/http": "~7.2.0",
54-
"@angular/platform-browser": "~7.2.0",
55-
"@angular/router": "~7.2.0",
48+
"@angular/platform-browser-dynamic": "8.0.0-rc.4",
49+
"@angular/common": "8.0.0-rc.4",
50+
"@angular/compiler": "8.0.0-rc.4",
51+
"@angular/core": "8.0.0-rc.4",
52+
"@angular/forms": "8.0.0-rc.4",
53+
"@angular/http": "8.0.0-beta.10",
54+
"@angular/platform-browser": "8.0.0-rc.4",
55+
"@angular/router": "8.0.0-rc.4",
5656
"rxjs": "^6.3.3",
5757
"tns-core-modules": "^5.1.0 || >5.1.0- || >5.2.0-",
5858
"typescript": "~3.1.1",
5959
"zone.js": "^0.8.4"
6060
},
6161
"devDependencies": {
62-
"@angular/animations": "~7.2.0",
63-
"@angular/common": "~7.2.0",
64-
"@angular/compiler": "~7.2.0",
65-
"@angular/compiler-cli": "~7.2.0",
66-
"@angular/core": "~7.2.0",
67-
"@angular/forms": "~7.2.0",
68-
"@angular/http": "~7.2.0",
69-
"@angular/platform-browser": "~7.2.0",
70-
"@angular/platform-browser-dynamic": "~7.2.0",
71-
"@angular/router": "~7.2.0",
62+
"@angular/animations": "8.0.0-rc.4",
63+
"@angular/common": "8.0.0-rc.4",
64+
"@angular/compiler": "8.0.0-rc.4",
65+
"@angular/compiler-cli": "8.0.0-rc.4",
66+
"@angular/core": "8.0.0-rc.4",
67+
"@angular/forms": "8.0.0-rc.4",
68+
"@angular/http": "8.0.0-beta.10",
69+
"@angular/platform-browser": "8.0.0-rc.4",
70+
"@angular/platform-browser-dynamic": "8.0.0-rc.4",
71+
"@angular/router": "8.0.0-rc.4",
7272
"codelyzer": "^4.5.0",
7373
"rxjs": "~6.3.3",
7474
"tns-core-modules": "next",
7575
"tslint": "^5.5.0",
76-
"typescript": "~3.1.1",
76+
"typescript": "~3.4.5",
7777
"zone.js": "^0.8.4",
7878
"nativescript-typedoc-theme": "git://github.com/NativeScript/nativescript-typedoc-theme.git#master",
7979
"typedoc": "^0.13.0"

Diff for: nativescript-angular/router/ns-platform-location.ts

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ export class NativescriptPlatformLocation extends PlatformLocation {
1313
}
1414
}
1515

16+
getState(): any {
17+
return undefined;
18+
}
19+
20+
readonly hostname: string;
21+
readonly href: string;
22+
readonly port: string;
23+
readonly protocol: string;
24+
1625
getBaseHrefFromDOM(): string {
1726
return "/";
1827
}

Diff for: ng-sample/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
},
3333
"homepage": "https://github.com/NativeScript/template-hello-world",
3434
"dependencies": {
35-
"@angular/animations": "~7.2.0",
36-
"@angular/common": "~7.2.0",
37-
"@angular/compiler": "~7.2.0",
38-
"@angular/core": "~7.2.0",
39-
"@angular/forms": "~7.2.0",
40-
"@angular/http": "~7.2.0",
41-
"@angular/platform-browser": "~7.2.0",
42-
"@angular/platform-browser-dynamic": "~7.2.0",
43-
"@angular/router": "~7.2.0",
35+
"@angular/animations": "8.0.0-rc.4",
36+
"@angular/common": "8.0.0-rc.4",
37+
"@angular/compiler": "8.0.0-rc.4",
38+
"@angular/core": "8.0.0-rc.4",
39+
"@angular/forms": "8.0.0-rc.4",
40+
"@angular/http": "8.0.0-beta.10",
41+
"@angular/platform-browser": "8.0.0-rc.4",
42+
"@angular/platform-browser-dynamic": "8.0.0-rc.4",
43+
"@angular/router": "8.0.0-rc.4",
4444
"nativescript-angular": "file:../nativescript-angular",
4545
"rxjs": "~6.3.3",
4646
"tns-core-modules": "next",
@@ -56,7 +56,7 @@
5656
"nativescript-dev-typescript": "next",
5757
"shelljs": "^0.7.0",
5858
"tslint": "^4.5.1",
59-
"typescript": "~3.1.1"
59+
"typescript": "~3.4.5"
6060
},
6161
"scripts": {
6262
"tslint": "tslint --project tsconfig.json --config tslint.json",

0 commit comments

Comments
 (0)