Skip to content

Commit 995ff81

Browse files
jogbomsPeterStaev
authored andcommitted
Support for angular 4.4.x (#138)
1 parent 1159500 commit 995ff81

File tree

3 files changed

+31
-36
lines changed

3 files changed

+31
-36
lines changed

angular/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { AfterViewInit, Directive, ElementRef, HostListener, Inject, NgModule, forwardRef } from "@angular/core";
22
import { FormsModule, NG_VALUE_ACCESSOR } from "@angular/forms";
33
import { registerElement } from "nativescript-angular/element-registry";
4-
import { BaseValueAccessor } from "nativescript-angular/value-accessors/base-value-accessor";
4+
import { BaseValueAccessor } from "nativescript-angular/forms/value-accessors/base-value-accessor";
55
import { View } from "tns-core-modules/ui/core/view";
66

77
registerElement("DropDown", () => require("../drop-down").DropDown);

demo-ng/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,24 @@
2525
"build-ios-bundle": "npm run ns-bundle --ios --build-app"
2626
},
2727
"dependencies": {
28-
"@angular/animations": "~4.2.5",
29-
"@angular/common": "~4.2.5",
30-
"@angular/compiler": "~4.2.5",
31-
"@angular/core": "~4.2.5",
32-
"@angular/forms": "~4.2.5",
33-
"@angular/http": "~4.2.5",
34-
"@angular/platform-browser": "~4.2.5",
35-
"@angular/platform-browser-dynamic": "~4.2.5",
36-
"@angular/router": "~4.2.5",
37-
"nativescript-angular": "4.2.0",
28+
"@angular/animations": "~4.4.1",
29+
"@angular/common": "~4.4.1",
30+
"@angular/compiler": "~4.4.1",
31+
"@angular/core": "~4.4.1",
32+
"@angular/forms": "~4.4.1",
33+
"@angular/http": "~4.4.1",
34+
"@angular/platform-browser": "~4.4.1",
35+
"@angular/platform-browser-dynamic": "~4.4.1",
36+
"@angular/router": "~4.4.1",
37+
"nativescript-angular": "4.4.0",
3838
"nativescript-drop-down": "file:../bin/dist",
3939
"reflect-metadata": "~0.1.8",
4040
"rxjs": "~5.2.0",
4141
"tns-core-modules": "3.2.0",
4242
"zone.js": "~0.8.2"
4343
},
4444
"devDependencies": {
45-
"@angular/compiler-cli": "~4.2.5",
45+
"@angular/compiler-cli": "~4.4.1",
4646
"@ngtools/webpack": "~1.6.0",
4747
"babel-traverse": "6.24.1",
4848
"babel-types": "6.24.1",

package.json

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -38,35 +38,30 @@
3838
"author": "Peter Staev <[email protected]>",
3939
"contributors": [
4040
"Dick Smith (https://github.com/DickSmith)"
41-
],
41+
],
4242
"license": "Apache-2.0",
43-
4443
"peerDependencies": {
45-
"tns-core-modules": "^3.0.0"
44+
"tns-core-modules": "^3.1.0 || >3.3.0-"
4645
},
47-
4846
"devDependencies": {
49-
"@angular/common": "~4.0.3",
50-
"@angular/compiler": "~4.0.3",
51-
"@angular/compiler-cli": "~4.0.3",
52-
"@angular/core": "~4.0.3",
53-
"@angular/forms": "~4.0.3",
54-
"@angular/http": "~4.0.3",
55-
"@angular/platform-browser": "~4.0.3",
56-
"@angular/router": "~4.0.3",
57-
"rxjs":"~5.0.1",
58-
"zone.js": "~0.8.9",
59-
"nativescript-angular": "3.0.0",
60-
61-
"typescript": "~2.2.2",
62-
"tslint": "^4.5.1",
63-
"tns-core-modules": "3.0.1",
64-
"tns-platform-declarations": "3.0.1",
65-
47+
"@angular/common": "~4.4.1",
48+
"@angular/compiler": "~4.4.1",
49+
"@angular/compiler-cli": "~4.4.1",
50+
"@angular/core": "~4.4.1",
51+
"@angular/forms": "~4.4.1",
52+
"@angular/http": "~4.4.1",
53+
"@angular/platform-browser": "~4.4.1",
54+
"@angular/router": "~4.4.1",
6655
"grunt": "1.0.1",
67-
"grunt-contrib-copy": "1.0.0",
6856
"grunt-contrib-clean": "1.0.0",
69-
"grunt-exec": "2.0.0"
57+
"grunt-contrib-copy": "1.0.0",
58+
"grunt-exec": "2.0.0",
59+
"nativescript-angular": "4.4.0",
60+
"rxjs": "~5.0.1",
61+
"tns-core-modules": "^3.0.0",
62+
"tns-platform-declarations": "3.0.1",
63+
"tslint": "^4.5.1",
64+
"typescript": "~2.2.2",
65+
"zone.js": "~0.8.12"
7066
}
71-
7267
}

0 commit comments

Comments
 (0)