diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7d6115a53..249f9800d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,13 @@
+
+# [8.1.0](https://github.com/NativeScript/nativescript-angular/compare/8.0.3...8.1.0) (2019-07-31)
+
+
+### Features
+
+* update to Angular 8.1.x ([#1907](https://github.com/NativeScript/nativescript-angular/issues/1907)) ([e1db5f8](https://github.com/NativeScript/nativescript-angular/commit/e1db5f8))
+
+
+
## [8.0.3](https://github.com/NativeScript/nativescript-angular/compare/8.0.2...8.0.3) (2019-07-26)
diff --git a/e2e/animation-examples/package.json b/e2e/animation-examples/package.json
index 01bdfe69d..77e986b43 100644
--- a/e2e/animation-examples/package.json
+++ b/e2e/animation-examples/package.json
@@ -13,15 +13,15 @@
}
},
"dependencies": {
- "@angular/animations": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/animations": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "file:../../nativescript-angular",
"nativescript-theme-core": "~1.0.2",
"reflect-metadata": "~0.1.8",
@@ -30,8 +30,8 @@
"zone.js": "^0.9.1"
},
"devDependencies": {
- "@angular/compiler-cli": "~8.0.0",
- "@ngtools/webpack": "~8.0.0",
+ "@angular/compiler-cli": "~8.1.0",
+ "@ngtools/webpack": "~8.1.0",
"@types/chai": "~4.1.7",
"@types/mocha": "~5.2.5",
"@types/node": "~10.12.18",
@@ -42,7 +42,7 @@
"mocha": "~5.2.0",
"mochawesome": "~3.1.2",
"nativescript-css-loader": "~0.26.0",
- "nativescript-dev-appium": "next",
+ "nativescript-dev-appium": "^5.3.0",
"nativescript-dev-webpack": "next",
"typescript": "~3.4.5"
},
diff --git a/e2e/modal-navigation-ng/package.json b/e2e/modal-navigation-ng/package.json
index 6f4856c02..5d5ad6d0c 100644
--- a/e2e/modal-navigation-ng/package.json
+++ b/e2e/modal-navigation-ng/package.json
@@ -7,15 +7,15 @@
"id": "org.nativescript.modalnavigationng"
},
"dependencies": {
- "@angular/animations": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/animations": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "file:../../nativescript-angular",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.8",
@@ -24,8 +24,8 @@
"zone.js": "^0.9.1"
},
"devDependencies": {
- "@angular/compiler-cli": "~8.0.0",
- "@ngtools/webpack": "~8.0.0",
+ "@angular/compiler-cli": "~8.1.0",
+ "@ngtools/webpack": "~8.1.0",
"@types/chai": "~4.1.7",
"@types/mocha": "~5.2.5",
"@types/node": "~10.12.18",
@@ -35,7 +35,7 @@
"lazy": "1.0.11",
"mocha": "~5.2.0",
"mochawesome": "~3.1.2",
- "nativescript-dev-appium": "next",
+ "nativescript-dev-appium": "^5.3.0",
"nativescript-dev-webpack": "next",
"tns-platform-declarations": "next",
"typescript": "~3.4.5"
diff --git a/e2e/nested-router-tab-view/package.json b/e2e/nested-router-tab-view/package.json
index ff3399f65..8ae2279dc 100644
--- a/e2e/nested-router-tab-view/package.json
+++ b/e2e/nested-router-tab-view/package.json
@@ -7,15 +7,15 @@
"id": "org.nativescript.nestedroutertabview"
},
"dependencies": {
- "@angular/animations": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/animations": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "file:../../nativescript-angular",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.8",
@@ -24,8 +24,8 @@
"zone.js": "^0.9.1"
},
"devDependencies": {
- "@angular/compiler-cli": "~8.0.0",
- "@ngtools/webpack": "~8.0.0",
+ "@angular/compiler-cli": "~8.1.0",
+ "@ngtools/webpack": "~8.1.0",
"@types/chai": "~4.1.7",
"@types/mocha": "~5.2.5",
"@types/node": "~10.12.18",
@@ -35,7 +35,7 @@
"lazy": "1.0.11",
"mocha": "~5.2.0",
"mochawesome": "~3.1.2",
- "nativescript-dev-appium": "next",
+ "nativescript-dev-appium": "^5.3.0",
"nativescript-dev-webpack": "next",
"typescript": "3.4.5"
},
diff --git a/e2e/renderer/package.json b/e2e/renderer/package.json
index f754d4d2e..04af019b8 100644
--- a/e2e/renderer/package.json
+++ b/e2e/renderer/package.json
@@ -7,14 +7,14 @@
"id": "org.nativescript.renderer"
},
"dependencies": {
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "file:../../nativescript-angular",
"nativescript-intl": "^3.0.0",
"reflect-metadata": "~0.1.8",
@@ -23,8 +23,8 @@
"zone.js": "^0.9.1"
},
"devDependencies": {
- "@angular/compiler-cli": "~8.0.0",
- "@ngtools/webpack": "~8.0.0",
+ "@angular/compiler-cli": "~8.1.0",
+ "@ngtools/webpack": "~8.1.0",
"@types/chai": "~4.1.7",
"@types/mocha": "~5.2.5",
"@types/node": "~10.12.18",
@@ -36,7 +36,7 @@
"lazy": "1.0.11",
"mocha": "~5.2.0",
"mochawesome": "~3.1.2",
- "nativescript-dev-appium": "next",
+ "nativescript-dev-appium": "^5.3.0",
"nativescript-dev-webpack": "next",
"tslib": "^1.7.1",
"typescript": "~3.4.5"
diff --git a/e2e/routable-animations/e2e/resources/images/nsroanimations/iPhone 7 110/support.png b/e2e/routable-animations/e2e/resources/images/nsroanimations/iPhone 7 110/support.png
index 37ed5d73d..1a8839513 100644
Binary files a/e2e/routable-animations/e2e/resources/images/nsroanimations/iPhone 7 110/support.png and b/e2e/routable-animations/e2e/resources/images/nsroanimations/iPhone 7 110/support.png differ
diff --git a/e2e/routable-animations/package.json b/e2e/routable-animations/package.json
index bd6e516c7..a2982c286 100644
--- a/e2e/routable-animations/package.json
+++ b/e2e/routable-animations/package.json
@@ -7,15 +7,15 @@
"id": "org.nativescript.nsroanimations"
},
"dependencies": {
- "@angular/animations": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/animations": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "next",
"nativescript-theme-core": "~1.0.2",
"reflect-metadata": "~0.1.8",
@@ -24,8 +24,8 @@
"zone.js": "^0.9.1"
},
"devDependencies": {
- "@ngtools/webpack": "~8.0.0",
- "@angular/compiler-cli": "~8.0.0",
+ "@ngtools/webpack": "~8.1.0",
+ "@angular/compiler-cli": "~8.1.0",
"@types/chai": "~4.1.3",
"@types/mocha": "~5.2.1",
"@types/node": "^7.0.5",
@@ -35,7 +35,7 @@
"colors": "^1.1.2",
"lazy": "1.0.11",
"nativescript-css-loader": "~0.26.0",
- "nativescript-dev-appium": "^4.0.0",
+ "nativescript-dev-appium": "^5.3.0",
"nativescript-dev-webpack": "next",
"typescript": "~3.4.5"
},
diff --git a/e2e/router-tab-view/package.json b/e2e/router-tab-view/package.json
index 95e2f79d7..40146d0e8 100644
--- a/e2e/router-tab-view/package.json
+++ b/e2e/router-tab-view/package.json
@@ -7,15 +7,15 @@
"id": "org.nativescript.routertabview"
},
"dependencies": {
- "@angular/animations": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/animations": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "file:../../nativescript-angular",
"nativescript-dev-webpack": "next",
"nativescript-theme-core": "~1.0.4",
@@ -34,7 +34,7 @@
"lazy": "1.0.11",
"mocha": "~5.2.0",
"mochawesome": "~3.1.2",
- "nativescript-dev-appium": "next",
+ "nativescript-dev-appium": "^5.3.0",
"typescript": "~3.4.5",
"@angular/compiler-cli": "8.0.0",
"@ngtools/webpack": "8.0.0"
diff --git a/e2e/router/package.json b/e2e/router/package.json
index 9f2ad996c..74eb9aaef 100644
--- a/e2e/router/package.json
+++ b/e2e/router/package.json
@@ -7,15 +7,15 @@
"id": "org.nativescript.router"
},
"dependencies": {
- "@angular/animations": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/animations": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "file:../../nativescript-angular",
"nativescript-intl": "^3.0.0",
"reflect-metadata": "~0.1.8",
@@ -24,8 +24,8 @@
"zone.js": "^0.9.1"
},
"devDependencies": {
- "@angular/compiler-cli": "~8.0.0",
- "@ngtools/webpack": "~8.0.0",
+ "@angular/compiler-cli": "~8.1.0",
+ "@ngtools/webpack": "~8.1.0",
"@types/chai": "~4.1.7",
"@types/mocha": "~5.2.5",
"@types/node": "^10.12.12",
@@ -37,7 +37,7 @@
"lazy": "1.0.11",
"mocha": "~5.2.0",
"mochawesome": "~3.1.2",
- "nativescript-dev-appium": "next",
+ "nativescript-dev-appium": "^5.3.0",
"nativescript-dev-webpack": "next",
"tslib": "^1.7.1",
"typescript": "~3.4.5"
diff --git a/e2e/single-page/package.json b/e2e/single-page/package.json
index cdad3be6c..e49055e60 100644
--- a/e2e/single-page/package.json
+++ b/e2e/single-page/package.json
@@ -7,15 +7,15 @@
"id": "org.nativescript.singlepage"
},
"dependencies": {
- "@angular/animations": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/animations": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "file:../../nativescript-angular",
"nativescript-intl": "^3.0.0",
"reflect-metadata": "~0.1.8",
@@ -24,8 +24,8 @@
"zone.js": "^0.9.1"
},
"devDependencies": {
- "@angular/compiler-cli": "~8.0.0",
- "@ngtools/webpack": "~8.0.0",
+ "@angular/compiler-cli": "~8.1.0",
+ "@ngtools/webpack": "~8.1.0",
"@types/chai": "~4.1.7",
"@types/mocha": "~5.2.5",
"@types/node": "~10.12.18",
@@ -37,7 +37,7 @@
"lazy": "1.0.11",
"mocha": "~5.2.0",
"mochawesome": "~3.1.2",
- "nativescript-dev-appium": "next",
+ "nativescript-dev-appium": "^5.3.0",
"nativescript-dev-webpack": "next",
"tslib": "^1.7.1",
"typescript": "~3.4.5"
diff --git a/e2e/tests-app-ng/app/app.routes.ts b/e2e/tests-app-ng/app/app.routes.ts
index 9ed5574d0..d68882440 100644
--- a/e2e/tests-app-ng/app/app.routes.ts
+++ b/e2e/tests-app-ng/app/app.routes.ts
@@ -11,6 +11,7 @@ import { NavigationComponent, NAVIGATION_SUBROUTES } from "./router/router-outle
import { LazyNavigationComponent } from "./router/lazy-module-navigation/lazy-navigation.component";
import { BindingComponent } from "./binding/binding-page.component";
+import { BottomNavigation } from "./bottom-navigation/bottom-navigation.component"
import { ListViewComponent } from "./list-view/list-view-page.component";
import { ListViewControlComponent } from "./list-view/list-view-item-template.component";
@@ -61,6 +62,7 @@ export const routableComponents = [
SecondActionBarComponent,
BindingComponent,
+ BottomNavigation,
ListViewMainPageComponent,
ListViewComponent,
@@ -90,7 +92,7 @@ export const routableComponents = [
ButtonTextAlignmentComponent,
];
-// Set isNavigatable: true if the page is a mian page to other sub pages
+// Set `isNavigatable: true` if the page is a main page to other sub pages
export const routes = [
{ path: "", component: MainComponent, data: { title: "" } },
{ path: "", component: ModalContentComponent, data: { title: "" } },
@@ -119,6 +121,7 @@ export const routes = [
},
{ path: "binding", component: BindingComponent, data: { title: "Binding", isNavigatable: true } },
+ { path: "bottom-navigation", component: BottomNavigation, data: { title: "BottomNavigation", isNavigatable: true } },
{
path: "ListViewExamples",
@@ -158,7 +161,7 @@ export const routes = [
{ path: "modal/lazy", component: LazyLoadModalComponent, data: { title: "modal(lazy)" } },
{ path: "tab-view", component: TabViewComponent, data: { title: "tab-view", isNavigatable: true } },
- { path: "tabs", component: TabsComponent, data: { title: "tabs", isNavigatable: true } },
+ { path: "tabs", component: TabsComponent, data: { title: "Tabs", isNavigatable: true } },
{ path: "nav-options", component: NavigationOptionsComponent, data: { title: "nav-options", isNavigatable: true } },
{ path: "nav-info", component: NavigationInfoComponent, data: { title: "nav-info" } },
diff --git a/e2e/tests-app-ng/app/bottom-navigation/bottom-navigation.component.ts b/e2e/tests-app-ng/app/bottom-navigation/bottom-navigation.component.ts
new file mode 100644
index 000000000..5c547d9f6
--- /dev/null
+++ b/e2e/tests-app-ng/app/bottom-navigation/bottom-navigation.component.ts
@@ -0,0 +1,68 @@
+import { Component, OnInit } from "@angular/core";
+
+@Component({
+ selector: "bottom-navigation-component",
+ template: `
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ `,
+})
+
+export class BottomNavigation implements OnInit {
+
+ public ngOnInit(): void { }
+
+ goTo(bottomNavigation: any, index: number) {
+ bottomNavigation.selectedIndex = index;
+ }
+
+}
diff --git a/e2e/tests-app-ng/app/tabs/tabs.component.ts b/e2e/tests-app-ng/app/tabs/tabs.component.ts
index 7e6a895d0..a0e6efe8f 100644
--- a/e2e/tests-app-ng/app/tabs/tabs.component.ts
+++ b/e2e/tests-app-ng/app/tabs/tabs.component.ts
@@ -3,43 +3,53 @@ import { Component, OnInit } from "@angular/core";
@Component({
selector: "tabs-component",
template: `
-
+
-
+
-
-
+
+
+
+
+
-
+
+
-
+
+
-
+
+
@@ -48,5 +58,11 @@ import { Component, OnInit } from "@angular/core";
})
export class TabsComponent implements OnInit {
+
public ngOnInit(): void { }
+
+ goTo(tabs: any, index: number) {
+ tabs.selectedIndex = index;
+ }
+
}
diff --git a/e2e/tests-app-ng/package.json b/e2e/tests-app-ng/package.json
index 34cb98e5e..73f1379bd 100644
--- a/e2e/tests-app-ng/package.json
+++ b/e2e/tests-app-ng/package.json
@@ -7,13 +7,13 @@
"id": "org.nativescript.testsappng"
},
"dependencies": {
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "next",
"nativescript-intl": "~3.0.0",
"nativescript-theme-core": "^1.0.4",
@@ -36,13 +36,6 @@
"@ngtools/webpack": "~8.0.0"
},
"scripts": {
- "tslint": "tslint --config tslint.json 'app/**/*.ts'",
- "ns-bundle": "ns-bundle",
- "start-android-bundle": "npm run ns-bundle --android --run-app",
- "start-ios-bundle": "npm run ns-bundle --ios --run-app",
- "build-android-bundle": "npm run ns-bundle --android --build-app",
- "build-ios-bundle": "npm run ns-bundle --ios --build-app",
- "publish-ios-bundle": "npm run ns-bundle --ios --publish-app",
- "generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install"
+ "tslint": "tslint --config tslint.json 'app/**/*.ts'"
}
}
diff --git a/nativescript-angular/bin/update-app-ng-deps b/nativescript-angular/bin/update-app-ng-deps
index f52904c52..1b4c46aca 100755
--- a/nativescript-angular/bin/update-app-ng-deps
+++ b/nativescript-angular/bin/update-app-ng-deps
@@ -3,7 +3,6 @@
const path = require("path");
const fs = require("fs");
-const browserDynamicDependency = "@angular/platform-browser-dynamic";
const binPath = __dirname;
const pluginPath = path.dirname(binPath);
const pluginPackageJsonPath = path.join(pluginPath, "package.json");
@@ -28,17 +27,31 @@ function updateDeps(deps, devDeps, newDeps) {
deps[dependencyName] = version;
}
- console.log(`Updated dependency ${dependencyName} to version: ${version}.`);
+ logUpdatedDependency(dependencyName, version);
});
const ngDep = Object.keys(newDeps).find(dep => dep.startsWith("@angular"));
const version = newDeps[ngDep];
- if (deps["@angular/animations"]) {
- deps["@angular/animations"] = version;
+ const animationsDependency = "@angular/animations";
+ if (deps[animationsDependency]) {
+ deps[animationsDependency] = version;
+ logUpdatedDependency(animationsDependency, version);
}
- if (deps["@angular/compiler-cli"]) {
- deps["@angular/compiler-cli"] = version;
+ const compilerCliDependency = "@angular/compiler-cli";
+ if (devDeps[compilerCliDependency]) {
+ devDeps[compilerCliDependency] = version;
+ logUpdatedDependency(compilerCliDependency, version);
+ }
+
+ const ngToolsWebpackDependency = "@ngtools/webpack";
+ if (devDeps[ngToolsWebpackDependency]) {
+ devDeps[ngToolsWebpackDependency] = version;
+ logUpdatedDependency(ngToolsWebpackDependency, version);
+ }
+
+ function logUpdatedDependency(dependencyName, version) {
+ console.log(`Updated dependency ${dependencyName} to version: ${version}.`);
}
}
diff --git a/nativescript-angular/element-registry.ts b/nativescript-angular/element-registry.ts
index e917c0fa0..aa13353d3 100644
--- a/nativescript-angular/element-registry.ts
+++ b/nativescript-angular/element-registry.ts
@@ -175,6 +175,7 @@ const frameMeta: ViewClassMeta = {
registerElement("AbsoluteLayout", () => require("tns-core-modules/ui/layouts/absolute-layout").AbsoluteLayout);
registerElement("ActivityIndicator", () => require("tns-core-modules/ui/activity-indicator").ActivityIndicator);
registerElement("Border", () => require("tns-core-modules/ui/border").Border);
+registerElement("BottomNavigation", () => require("tns-core-modules/ui/bottom-navigation").BottomNavigation);
registerElement("Button", () => require("tns-core-modules/ui/button").Button);
registerElement("ContentView", () => require("tns-core-modules/ui/content-view").ContentView);
registerElement("DatePicker", () => require("tns-core-modules/ui/date-picker").DatePicker);
@@ -202,7 +203,11 @@ registerElement("StackLayout", () => require("tns-core-modules/ui/layouts/stack-
registerElement("FlexboxLayout", () => require("tns-core-modules/ui/layouts/flexbox-layout").FlexboxLayout);
registerElement("Switch", () => require("tns-core-modules/ui/switch").Switch);
registerElement("TabView", () => require("tns-core-modules/ui/tab-view").TabView);
-
+registerElement("TabStrip", () => require("tns-core-modules/ui/tab-navigation-base/tab-strip").TabStrip);
+registerElement("TabStripItem", () => require("tns-core-modules/ui/tab-navigation-base/tab-strip-item").TabStripItem);
+registerElement("TabContentItem",
+ () => require("tns-core-modules/ui/tab-navigation-base/tab-content-item").TabContentItem);
+registerElement("Tabs", () => require("tns-core-modules/ui/tabs").Tabs);
registerElement("TextField", () => require("tns-core-modules/ui/text-field").TextField);
registerElement("TextView", () => require("tns-core-modules/ui/text-view").TextView);
registerElement("TimePicker", () => require("tns-core-modules/ui/time-picker").TimePicker);
@@ -215,16 +220,3 @@ registerElement("DetachedContainer", () => require("tns-core-modules/ui/proxy-vi
{ skipAddToDom: true });
registerElement("page-router-outlet", () => require("tns-core-modules/ui/frame").Frame);
-
-try {
- let BottomNavigation = require("tns-core-modules/ui/bottom-navigation").BottomNavigation;
- registerElement("BottomNavigation", function () { return BottomNavigation; });
- let TabStrip = require("tns-core-modules/ui/tab-navigation-base/tab-strip").TabStrip;
- registerElement("TabStrip", function () { return TabStrip; });
- let TabStripItem = require("tns-core-modules/ui/tab-navigation-base/tab-strip-item").TabStripItem;
- registerElement("TabStripItem", function () { return TabStripItem; });
- let TabContentItem = require("tns-core-modules/ui/tab-navigation-base/tab-content-item").TabContentItem;
- registerElement("TabContentItem", function () { return TabContentItem; });
- let Tabs = require("tns-core-modules/ui/tabs").Tabs;
- registerElement("Tabs", function () { return Tabs; });
-} catch (e) { }
diff --git a/nativescript-angular/package.json b/nativescript-angular/package.json
index b8529f10e..f1d55a1e1 100644
--- a/nativescript-angular/package.json
+++ b/nativescript-angular/package.json
@@ -1,6 +1,6 @@
{
"name": "nativescript-angular",
- "version": "8.0.3",
+ "version": "8.1.0",
"description": "An Angular renderer that lets you build mobile apps with NativeScript.",
"homepage": "https://www.nativescript.org/",
"bugs": "https://github.com/NativeScript/nativescript-angular/issues",
@@ -14,8 +14,8 @@
],
"nativescript": {
"platforms": {
- "android": "5.0.0",
- "ios": "5.0.0"
+ "android": "6.0.0",
+ "ios": "6.0.0"
}
},
"keywords": [
@@ -45,30 +45,30 @@
"reflect-metadata": "^0.1.8"
},
"peerDependencies": {
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/router": "~8.1.0",
"rxjs": "^6.3.3",
- "tns-core-modules": "^5.1.0 || >5.1.0- || >5.2.0- || ^6.0.0 || >6.1.0-",
+ "tns-core-modules": "^6.0.0 || >6.1.0-",
"typescript": "~3.4.5",
"zone.js": "^0.9.1"
},
"devDependencies": {
- "@angular/animations": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/compiler-cli": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/animations": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/compiler-cli": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"codelyzer": "^4.5.0",
"conventional-changelog-cli": "^1.3.22",
"rxjs": "~6.3.3",
diff --git a/ng-sample/package.json b/ng-sample/package.json
index 15ae184ed..a3ba2503b 100644
--- a/ng-sample/package.json
+++ b/ng-sample/package.json
@@ -26,15 +26,15 @@
},
"homepage": "https://github.com/NativeScript/template-hello-world",
"dependencies": {
- "@angular/animations": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/animations": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "file:../nativescript-angular",
"rxjs": "~6.3.3",
"tns-core-modules": "next",
diff --git a/tests/package.json b/tests/package.json
index 3b7f790b3..13557aaaa 100644
--- a/tests/package.json
+++ b/tests/package.json
@@ -19,15 +19,15 @@
],
"homepage": "http://nativescript.org",
"dependencies": {
- "@angular/animations": "~8.0.0",
- "@angular/common": "~8.0.0",
- "@angular/compiler": "~8.0.0",
- "@angular/core": "~8.0.0",
- "@angular/forms": "~8.0.0",
+ "@angular/animations": "~8.1.0",
+ "@angular/common": "~8.1.0",
+ "@angular/compiler": "~8.1.0",
+ "@angular/core": "~8.1.0",
+ "@angular/forms": "~8.1.0",
"@angular/http": "8.0.0-beta.10",
- "@angular/platform-browser": "~8.0.0",
- "@angular/platform-browser-dynamic": "~8.0.0",
- "@angular/router": "~8.0.0",
+ "@angular/platform-browser": "~8.1.0",
+ "@angular/platform-browser-dynamic": "~8.1.0",
+ "@angular/router": "~8.1.0",
"nativescript-angular": "../nativescript-angular",
"nativescript-unit-test-runner": "~0.6.3",
"rxjs": "~6.3.3",