diff --git a/nativescript-angular/CHANGELOG.md b/nativescript-angular/CHANGELOG.md
new file mode 100644
index 000000000..6bdc80e32
--- /dev/null
+++ b/nativescript-angular/CHANGELOG.md
@@ -0,0 +1,10 @@
+
+# [5.1.0](https://github.com/NativeScript/nativescript-angular/compare/5.0.0...5.1.0) (2018-01-10)
+
+
+### Features
+
+* add support for Angular 5.1 ([#1134](https://github.com/NativeScript/nativescript-angular/issues/1134)) ([2e944a8](https://github.com/NativeScript/nativescript-angular/commit/2e944a8))
+
+
+
diff --git a/nativescript-angular/bin/remove-polyfills-metadata.js b/nativescript-angular/bin/remove-polyfills-metadata.js
deleted file mode 100644
index 4c1d4af30..000000000
--- a/nativescript-angular/bin/remove-polyfills-metadata.js
+++ /dev/null
@@ -1,5 +0,0 @@
-const { unlinkSync } = require("fs");
-
-unlinkSync("./polyfills/console.metadata.json");
-unlinkSync("./polyfills/array.metadata.json");
-
diff --git a/nativescript-angular/package.json b/nativescript-angular/package.json
index a60458968..934cd44e1 100644
--- a/nativescript-angular/package.json
+++ b/nativescript-angular/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"name": "nativescript-angular",
- "version": "5.0.0",
+ "version": "5.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",
@@ -33,7 +33,7 @@
"postinstall": "node postinstall.js",
"tsc": "tsc -p tsconfig.json",
"ngc": "ngc -p tsconfig.json",
- "prepare": "npm run ngc && node ./bin/remove-polyfills-metadata.js"
+ "prepare": "npm run ngc"
},
"bin": {
"update-app-ng-deps": "./bin/update-app-ng-deps"
@@ -43,30 +43,30 @@
"reflect-metadata": "^0.1.8"
},
"peerDependencies": {
- "@angular/platform-browser-dynamic": "~5.0.0",
- "@angular/common": "~5.0.0",
- "@angular/compiler": "~5.0.0",
- "@angular/core": "~5.0.0",
- "@angular/forms": "~5.0.0",
- "@angular/http": "~5.0.0",
- "@angular/platform-browser": "~5.0.0",
- "@angular/router": "~5.0.0",
+ "@angular/platform-browser-dynamic": "~5.1.0",
+ "@angular/common": "~5.1.0",
+ "@angular/compiler": "~5.1.0",
+ "@angular/core": "~5.1.0",
+ "@angular/forms": "~5.1.0",
+ "@angular/http": "~5.1.0",
+ "@angular/platform-browser": "~5.1.0",
+ "@angular/router": "~5.1.0",
"rxjs": "^5.5.0",
"tns-core-modules": "^3.1.0 || >3.4.0-",
"zone.js": "^0.8.4",
"typescript": "~2.4.2"
},
"devDependencies": {
- "@angular/platform-browser-dynamic": "~5.0.0",
- "@angular/animations": "~5.0.0",
- "@angular/common": "~5.0.0",
- "@angular/compiler": "~5.0.0",
- "@angular/compiler-cli": "~5.0.0",
- "@angular/core": "~5.0.0",
- "@angular/forms": "~5.0.0",
- "@angular/http": "~5.0.0",
- "@angular/platform-browser": "~5.0.0",
- "@angular/router": "~5.0.0",
+ "@angular/platform-browser-dynamic": "~5.1.0",
+ "@angular/animations": "~5.1.0",
+ "@angular/common": "~5.1.0",
+ "@angular/compiler": "~5.1.0",
+ "@angular/compiler-cli": "~5.1.0",
+ "@angular/core": "~5.1.0",
+ "@angular/forms": "~5.1.0",
+ "@angular/http": "~5.1.0",
+ "@angular/platform-browser": "~5.1.0",
+ "@angular/router": "~5.1.0",
"codelyzer": "^4.0.0",
"rxjs": "^5.5.0",
"tns-core-modules": "next",
diff --git a/tests/app/snippets/layouts.component.html b/tests/app/snippets/layouts.component.html
index c472f02bd..3cc2fbdb3 100644
--- a/tests/app/snippets/layouts.component.html
+++ b/tests/app/snippets/layouts.component.html
@@ -1,8 +1,8 @@
-
-
+
+
@@ -11,16 +11,16 @@
-
+
-
+
-
-
+
+
@@ -28,7 +28,7 @@
-
+
@@ -37,7 +37,7 @@
-
+
@@ -46,11 +46,11 @@
-
+
-
-
-
+
+
+
@@ -60,43 +60,43 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
@@ -104,9 +104,9 @@
-
+
-
+
@@ -115,17 +115,17 @@
-
+
-
+
-
-
+
+
@@ -133,19 +133,19 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -153,7 +153,7 @@
-
+
@@ -162,7 +162,7 @@
-
+
@@ -171,5 +171,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/tests/app/snippets/layouts.component.ts b/tests/app/snippets/layouts.component.ts
index 5912f1a27..5892c0492 100644
--- a/tests/app/snippets/layouts.component.ts
+++ b/tests/app/snippets/layouts.component.ts
@@ -10,7 +10,8 @@ import {Component} from "@angular/core";
"#main > DockLayout { margin: 10 }",
"#main > GridLayout { margin: 10 }",
"#main > StackLayout { margin: 10 }",
- "#main > WrapLayout { margin: 10 }"
+ "#main > WrapLayout { margin: 10 }",
+ "#main > FlexboxLayout { margin: 10 }"
]
})
export class LayoutsComponent {