Skip to content

Commit 53f2bfc

Browse files
author
Alexander Vakrilov
authored
Update package.json to v3.0.0 (NativeScript#749)
* Update package.json to v3.0.0 * Update description field * Update CHANGELOG.md * More deps and readme changes
1 parent 07fe66c commit 53f2bfc

File tree

6 files changed

+115
-24
lines changed

6 files changed

+115
-24
lines changed

CHANGELOG.md

+69
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,73 @@
1+
<a name="1.5.1"></a>
2+
## [1.5.1](https://github.com/NativeScript/nativescript-angular/compare/v1.5.0...v1.5.1) (2017-03-30)
3+
4+
5+
### Bug Fixes
6+
7+
* **action bar:** attach #comment nodes with _addView ([#729](https://github.com/NativeScript/nativescript-angular/issues/729)) ([be93db6](https://github.com/NativeScript/nativescript-angular/commit/be93db6)), closes [#725](https://github.com/NativeScript/nativescript-angular/issues/725)
8+
* **ns-router-link:** navigate with urlTree ([#728](https://github.com/NativeScript/nativescript-angular/issues/728)) ([71058f8](https://github.com/NativeScript/nativescript-angular/commit/71058f8)), closes [#724](https://github.com/NativeScript/nativescript-angular/issues/724)
9+
10+
11+
12+
<a name="1.5.0"></a>
13+
# [1.5.0](https://github.com/NativeScript/nativescript-angular/compare/v1.4.1...v1.5.0) (2017-03-22)
14+
15+
### Bug Fixes
16+
17+
* **action-bar:** Don't remove action items twice. ([677d7e0](https://github.com/NativeScript/nativescript-angular/commit/677d7e0))
18+
* **animations:** add onDestroy method to NativeScriptAnimationPlayer ([2e24010](https://github.com/NativeScript/nativescript-angular/commit/2e24010))
19+
* **dom_adapter:** add missing `contains` method signature ([bae45f6](https://github.com/NativeScript/nativescript-angular/commit/bae45f6))
20+
* **dom_adapter:** update setTitle and getGlobalEventTarget to be compliant with Angular API ([25c134d](https://github.com/NativeScript/nativescript-angular/commit/25c134d))
21+
* **gitignore:** Add editor files into gitignore ([819a960](https://github.com/NativeScript/nativescript-angular/commit/819a960))
22+
* **init:** Bootstrap Angular on page "navigatingTo" event. ([ab04aba](https://github.com/NativeScript/nativescript-angular/commit/ab04aba))
23+
* **list-view-comp:** IterableDiffer is now parameterized on \<KeyedTemplate\> ([780967d](https://github.com/NativeScript/nativescript-angular/commit/780967d))
24+
* **ns-http:** make defaultOptions of type RequestOptions ([db730e2](https://github.com/NativeScript/nativescript-angular/commit/db730e2))
25+
* **page-router-outlet:** activateWith instead of activate method ([8d832bc](https://github.com/NativeScript/nativescript-angular/commit/8d832bc))
26+
* **page-router-outlet:** manually run detect changes when navigating to new page ([07caa74](https://github.com/NativeScript/nativescript-angular/commit/07caa74))
27+
* **platform:** import InjectionToken and ViewEncapsulation instead of OpaqueToken ([c4dc8d4](https://github.com/NativeScript/nativescript-angular/commit/c4dc8d4))
28+
* **platform:** import MissingTranslationStrategy ([d2328a5](https://github.com/NativeScript/nativescript-angular/commit/d2328a5))
29+
* **renderer:** implement createComment and createText methods using Placeholders ([c0ec870](https://github.com/NativeScript/nativescript-angular/commit/c0ec870))
30+
* **renderer:** use _eachChildView for nextSibling ([150c1ce](https://github.com/NativeScript/nativescript-angular/commit/150c1ce))
31+
* **renderer:** use flags in `setStyle` and `removeStyle` instead of booleans ([a6d9247](https://github.com/NativeScript/nativescript-angular/commit/a6d9247))
32+
* **ts:** ship package with reference to iterable interface ([7edfa6b](https://github.com/NativeScript/nativescript-angular/commit/7edfa6b))
33+
34+
35+
### Code Refactoring
36+
37+
* stop exporting NativeScriptModule from platform ([#701](https://github.com/NativeScript/nativescript-angular/issues/701)) ([409e717](https://github.com/NativeScript/nativescript-angular/commit/409e717))
38+
39+
40+
### Features
41+
42+
* **animations:** introduce NativeScriptAnimationsModule ([b5874ba](https://github.com/NativeScript/nativescript-angular/commit/b5874ba))
43+
* **renderer:** implement simple nextSibling method using parent's _eachChildView ([98d9d20](https://github.com/NativeScript/nativescript-angular/commit/98d9d20))
44+
* **renderer:** upgrade to be compliant with Angular 4's Renderer2 and RendererFactory2 ([a3adcca](https://github.com/NativeScript/nativescript-angular/commit/a3adcca))
45+
* **renderer:** use EmulatedRenderer to scope component styles ([25f5111](https://github.com/NativeScript/nativescript-angular/commit/25f5111))
46+
47+
48+
### BREAKING CHANGES
49+
50+
* **NativeScriptModule:** User applications cannot import NativeScriptModule from
51+
"nativescript-angular/platform" anymore.
52+
Migration:
53+
Before:
54+
```
55+
import { NativeScriptModule } from "nativescript-angular/platform";
56+
```
57+
After
58+
```
59+
import { NativeScriptModule } from
60+
"nativescript-angular/nativescript.module";
61+
```
62+
* **animations:** To use animations, you need to import the
63+
NativeScriptAnimationsModule from "nativescript-angular/animations" in
64+
your root NgModule. Also you need a dependency to "@angular/animations".
65+
66+
* **typescript:** The required version of TypeScript is ~2.1. Support for ~2.2 requires changes in `tns-core-modules` and will be provided with NativeScript 3.0.
67+
68+
169
# 1.1.2 (2016-10-28)
70+
271
- Angular 2.1.2 compatibility release
372

473
# 1.1.1 (2016-10-21)

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Build Status](https://travis-ci.org/NativeScript/nativescript-angular.svg?branch=master)](https://travis-ci.org/NativeScript/nativescript-angular)
22

3-
Integrating NativeScript with Angular 2.
3+
Integrating NativeScript with Angular.
44

55
# Running locally
66

@@ -68,7 +68,7 @@ npm link nativescript-angular
6868
1. Make changes to the `test`, `ng-sample` projects or in `nativescript-angular` folder.
6969
2. Run the `tests` or `ng-sample` using as shown above.
7070

71-
# Watch the video explaining Angular 2 and NativeScript
71+
# Watch the video explaining Angular and NativeScript
7272
[NativeScript session on AngularConnect conference](https://www.youtube.com/watch?v=4SbiiyRSIwo)
7373

7474
# Explore the examples

nativescript-angular/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[Get started with Angular 2 and NativeScript.](http://docs.nativescript.org/angular/start/introduction.html)
1+
[Get started with Angular and NativeScript.](http://docs.nativescript.org/angular/start/introduction.html)

nativescript-angular/package.json

+40-17
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,27 @@
11
{
22
"private": true,
33
"name": "nativescript-angular",
4-
"version": "2.0.0",
5-
"description": "An Angular 2 renderer that lets you build mobile apps with NativeScript.",
6-
"homepage": "http://www.telerik.com",
7-
"bugs": "http://www.telerik.com",
4+
"version": "3.0.0",
5+
"description": "An Angular renderer that lets you build mobile apps with NativeScript.",
6+
"homepage": "https://www.nativescript.org/",
7+
"bugs": "https://github.com/NativeScript/nativescript-angular/issues",
8+
"author": {
9+
"name": "NativeScript Team"
10+
},
811
"contributors": [
9-
"Hristo Deshev <[email protected]>"
12+
"Hristo Deshev <[email protected]>",
13+
"Alexander Vakrilov <[email protected]>",
14+
"Stanimira Vlaeva <[email protected]>"
15+
],
16+
"nativescript": {
17+
"platforms": {
18+
"android": "3.0.0",
19+
"ios": "3.0.0"
20+
}
21+
},
22+
"keywords": [
23+
"NativeScript",
24+
"Angular"
1025
],
1126
"license": "Apache-2.0",
1227
"repository": {
@@ -24,29 +39,37 @@
2439
"update-app-ng-deps": "./bin/update-app-ng-deps"
2540
},
2641
"dependencies": {
27-
"nativescript-intl": "~0.0.8",
42+
"nativescript-intl": "^0.0.8",
43+
"reflect-metadata": "^0.1.8"
44+
},
45+
"peerDependencies": {
2846
"@angular/core": "~4.0.0",
2947
"@angular/common": "~4.0.0",
3048
"@angular/compiler": "~4.0.0",
31-
"@angular/http": "~4.0.0",
3249
"@angular/platform-browser": "~4.0.0",
33-
"@angular/platform-browser-dynamic": "~4.0.0",
34-
"@angular/forms": "~4.0.0",
50+
"@angular/animations": "~4.0.0",
3551
"@angular/router": "~4.0.0",
52+
"@angular/forms": "~4.0.0",
53+
"@angular/http": "~4.0.0",
54+
"tns-core-modules": "^3.0.0 || ^3.0.0-rc.1",
3655
"rxjs": "^5.0.1",
37-
"reflect-metadata": "~0.1.8",
38-
"punycode": "1.3.2",
39-
"querystring": "0.2.0",
40-
"url": "0.10.3"
56+
"zone.js": "^0.8.4"
4157
},
4258
"devDependencies": {
43-
"@angular/animations": "~4.0.0",
59+
"@angular/core": "~4.0.0",
60+
"@angular/common": "~4.0.0",
61+
"@angular/compiler": "~4.0.0",
4462
"@angular/compiler-cli": "~4.0.0",
63+
"@angular/platform-browser": "~4.0.0",
64+
"@angular/animations": "~4.0.0",
65+
"@angular/router": "~4.0.0",
66+
"@angular/forms": "~4.0.0",
67+
"@angular/http": "~4.0.0",
4568
"codelyzer": "~3.0.0-beta.4",
4669
"tns-core-modules": "internal-preview",
4770
"tslint": "~4.5.0",
4871
"typescript": "~2.2.1",
49-
"zone.js": "^0.8.2"
50-
},
51-
"nativescript": {}
72+
"rxjs": "^5.0.1",
73+
"zone.js": "^0.8.4"
74+
}
5275
}

nativescript-angular/tslint.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,10 @@
1010
"use-host-property-decorator": true,
1111
"no-input-rename": true,
1212
"no-output-rename": true,
13-
"use-life-cycle-interface": true,
1413
"use-pipe-transform-interface": true,
1514
"pipe-naming": [true, "camelCase", "ns"],
1615
"component-class-suffix": true,
1716
"directive-class-suffix": true,
18-
"import-destructuring-spacing": true,
19-
"templates-use-public": true,
20-
"no-access-missing-member": true,
2117
"invoke-injectable": true,
2218
"member-access": false,
2319
"no-any": false,
@@ -129,6 +125,7 @@
129125
true,
130126
"check-branch",
131127
"check-decl",
128+
"check-module",
132129
"check-operator",
133130
"check-separator",
134131
"check-type"

tests/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@
2626
],
2727
"homepage": "http://nativescript.org",
2828
"dependencies": {
29+
"@angular/animations": "~4.0.0",
2930
"@angular/common": "~4.0.0",
3031
"@angular/compiler": "~4.0.0",
3132
"@angular/core": "~4.0.0",
33+
"@angular/forms": "~4.0.0",
3234
"@angular/http": "~4.0.0",
3335
"@angular/platform-browser": "~4.0.0",
3436
"@angular/platform-browser-dynamic": "~4.0.0",

0 commit comments

Comments
 (0)