Skip to content

Commit 292a350

Browse files
committed
Update to Angular 6.1.0
1 parent 3b2a269 commit 292a350

File tree

5 files changed

+30
-37
lines changed

5 files changed

+30
-37
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,11 @@ This repository contains schematics for generating components in NativeScript An
55
## Installation
66

77
### Install Angular CLI
8-
```bash
9-
npm i -g @angular/cli
10-
```
118

12-
Ideally you should be using version `@angular/[email protected]`, `@nativescript/schematics` also works with `6.1.0-beta.0`.
13-
14-
> You can upgrade to `@angular/[email protected]` as soon as it gets released.
9+
You should be using `@angular/[email protected]` or newer.
1510

1611
```bash
17-
npm i -g @angular/cli@6.1.0-rc.3
12+
npm i -g @angular/cli
1813
```
1914

2015
### Install NativeScript Schematics

adding-angular-CLI-to-NativeScript.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ You can update `my-project-name` to the actual name of your project, but that is
2727
2. Install Angular CLI
2828

2929
```bash
30-
npm i --save-dev @angular/cli@6.1.0-rc.3
30+
npm i --save-dev @angular/cli
3131
```
3232

33-
> For now, please use `6.1.0-rc.3`.
34-
3533
3. Install NativeScript Schematics
3634

3735
```bash

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
},
1515
"schematics": "./src/collection.json",
1616
"dependencies": {
17-
"@angular-devkit/core": "~0.7.0-rc.3",
18-
"@angular-devkit/schematics": "~0.7.0-rc.3",
19-
"@schematics/angular": "~0.7.0-rc.3"
17+
"@angular-devkit/core": "~0.7.0",
18+
"@angular-devkit/schematics": "~0.7.0",
19+
"@schematics/angular": "~0.7.0"
2020
},
2121
"devDependencies": {
2222
"@types/jasmine": "^2.6.0",

src/ng-new/application/_files/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"id": "org.nativescript.<%= utils.sanitize(name) %>"
77
},
88
"dependencies": {
9-
"@angular/animations": "~6.1.0-rc.3",
10-
"@angular/common": "~6.1.0-rc.3",
11-
"@angular/compiler": "~6.1.0-rc.3",
12-
"@angular/core": "~6.1.0-rc.3",
13-
"@angular/forms": "~6.1.0-rc.3",
14-
"@angular/http": "~6.1.0-rc.3",
15-
"@angular/platform-browser": "~6.1.0-rc.3",
16-
"@angular/platform-browser-dynamic": "~6.1.0-rc.3",
17-
"@angular/router": "~6.1.0-rc.3",
9+
"@angular/animations": "~6.1.0",
10+
"@angular/common": "~6.1.0",
11+
"@angular/compiler": "~6.1.0",
12+
"@angular/core": "~6.1.0",
13+
"@angular/forms": "~6.1.0",
14+
"@angular/http": "~6.1.0",
15+
"@angular/platform-browser": "~6.1.0",
16+
"@angular/platform-browser-dynamic": "~6.1.0",
17+
"@angular/router": "~6.1.0",
1818
"nativescript-angular": "next",<% if(theme) { %>
1919
"nativescript-theme-core": "~1.0.4",
2020
<% } %>"reflect-metadata": "~0.1.8",
@@ -23,9 +23,9 @@
2323
"zone.js": "^0.8.26"
2424
},
2525
"devDependencies": {
26-
"@angular/cli": "6.1.0-rc.3",
27-
"@angular/compiler-cli": "~6.1.0-rc.3",
28-
"@angular-devkit/core": "0.7.0-rc.3",
26+
"@angular/cli": "6.1.0",
27+
"@angular/compiler-cli": "~6.1.0",
28+
"@angular-devkit/core": "0.7.0",
2929
"@nativescript/schematics": "~0.2.0",
3030
"babel-traverse": "6.26.0",
3131
"babel-types": "6.26.0",

src/ng-new/shared/_files/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
},
1717
"private": true,
1818
"dependencies": {
19-
"@angular/animations": "~6.1.0-rc.3",
20-
"@angular/common": "~6.1.0-rc.3",
21-
"@angular/compiler": "~6.1.0-rc.3",
22-
"@angular/core": "~6.1.0-rc.3",
23-
"@angular/forms": "~6.1.0-rc.3",
24-
"@angular/http": "~6.1.0-rc.3",
25-
"@angular/platform-browser": "~6.1.0-rc.3",
26-
"@angular/platform-browser-dynamic": "~6.1.0-rc.3",
27-
"@angular/router": "~6.1.0-rc.3",
19+
"@angular/animations": "~6.1.0",
20+
"@angular/common": "~6.1.0",
21+
"@angular/compiler": "~6.1.0",
22+
"@angular/core": "~6.1.0",
23+
"@angular/forms": "~6.1.0",
24+
"@angular/http": "~6.1.0",
25+
"@angular/platform-browser": "~6.1.0",
26+
"@angular/platform-browser-dynamic": "~6.1.0",
27+
"@angular/router": "~6.1.0",
2828
"core-js": "^2.5.4",
2929
"nativescript-angular": "next",<% if(theme) { %>
3030
"nativescript-theme-core": "~1.0.4",
@@ -34,9 +34,9 @@
3434
"zone.js": "^0.8.26"
3535
},
3636
"devDependencies": {
37-
"@angular/cli": "~6.1.0-rc.3",
38-
"@angular/compiler-cli": "~6.0.3-rc.3",
39-
"@angular-devkit/build-angular": "~0.7.0-rc.3",
37+
"@angular/cli": "~6.1.0",
38+
"@angular/compiler-cli": "~6.0.3",
39+
"@angular-devkit/build-angular": "~0.7.0",
4040
"@nativescript/schematics": "~0.2.0",
4141
"@types/jasmine": "~2.8.6",
4242
"@types/jasminewd2": "~2.0.3",

0 commit comments

Comments
 (0)