Skip to content

Commit c2c72f4

Browse files
authored
Merge pull request #260 from sebawita/master
Update ng-add and ng-new to {N} 6.1
2 parents a2d0dea + 0757456 commit c2c72f4

File tree

3 files changed

+38
-38
lines changed

3 files changed

+38
-38
lines changed

src/add-ns/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,15 +362,15 @@ const addDependencies = () => (tree: Tree, context: SchematicContext) => {
362362

363363
// @UPGRADE: Update all versions whenever {N} version updates
364364
const depsToAdd = {
365-
'nativescript-angular': '~8.0.1',
365+
'nativescript-angular': '~8.2.0',
366366
'nativescript-theme-core': '~1.0.4',
367367
'reflect-metadata': '~0.1.12',
368-
'tns-core-modules': '~6.0.0',
368+
'tns-core-modules': '~6.1.0',
369369
};
370370
packageJson.dependencies = {...depsToAdd, ...packageJson.dependencies};
371371

372372
const devDepsToAdd = {
373-
'nativescript-dev-webpack': '~1.0.0',
373+
'nativescript-dev-webpack': '~1.2.0',
374374
'@nativescript/schematics': '~0.7.0',
375375
'@nativescript/tslint-rules': '~0.0.2',
376376
};

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@
66
"id": "org.nativescript.<%= utils.sanitize(name) %>"
77
},
88
"dependencies": {
9-
"@angular/animations": "~8.0.1",
10-
"@angular/common": "~8.0.1",
11-
"@angular/compiler": "~8.0.1",
12-
"@angular/core": "~8.0.1",
13-
"@angular/forms": "~8.0.1",
9+
"@angular/animations": "~8.2.0",
10+
"@angular/common": "~8.2.0",
11+
"@angular/compiler": "~8.2.0",
12+
"@angular/core": "~8.2.0",
13+
"@angular/forms": "~8.2.0",
1414
"@angular/http": "~8.0.0-beta.10",
15-
"@angular/platform-browser": "~8.0.1",
16-
"@angular/platform-browser-dynamic": "~8.0.1",
17-
"@angular/router": "~8.0.1",
18-
"nativescript-angular": "~8.0.1",<% if(theme) { %>
15+
"@angular/platform-browser": "~8.2.0",
16+
"@angular/platform-browser-dynamic": "~8.2.0",
17+
"@angular/router": "~8.2.0",
18+
"nativescript-angular": "~8.2.0",<% if(theme) { %>
1919
"nativescript-theme-core": "~1.0.4",
2020
<% } %>"reflect-metadata": "~0.1.12",
21-
"rxjs": "~6.5.0",
22-
"tns-core-modules": "~6.0.0",
21+
"rxjs": "~6.4.0",
22+
"tns-core-modules": "~6.1.0",
2323
"zone.js": "~0.9.1"
2424
},
2525
"devDependencies": {
26-
"@angular/cli": "~8.0.3",
27-
"@angular/compiler-cli": "~8.0.1",
28-
"@angular-devkit/core": "~8.0.1",
26+
"@angular/cli": "~8.3.0",
27+
"@angular/compiler-cli": "~8.2.0",
28+
"@angular-devkit/core": "~8.2.0",
2929
"@nativescript/schematics": "~0.7.0",<% if(webpack) { %>
30-
"nativescript-dev-webpack": "~1.0.0",
31-
"@ngtools/webpack": "~8.0.3",
32-
<% } %>"typescript": "~3.4.3"
30+
"nativescript-dev-webpack": "~1.2.0",
31+
"@ngtools/webpack": "~8.2.0",
32+
<% } %>"typescript": "~3.5.3"
3333
}
3434
}

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,29 @@
1818
},
1919
"private": true,
2020
"dependencies": {
21-
"@angular/animations": "~8.0.1",
22-
"@angular/common": "~8.0.1",
23-
"@angular/compiler": "~8.0.1",
24-
"@angular/core": "~8.0.1",
25-
"@angular/forms": "~8.0.1",
21+
"@angular/animations": "~8.2.0",
22+
"@angular/common": "~8.2.0",
23+
"@angular/compiler": "~8.2.0",
24+
"@angular/core": "~8.2.0",
25+
"@angular/forms": "~8.2.0",
2626
"@angular/http": "~8.0.0-beta.10",
27-
"@angular/platform-browser": "~8.0.1",
28-
"@angular/platform-browser-dynamic": "~8.0.1",
29-
"@angular/router": "~8.0.1",
30-
"core-js": "^2.5.4",
31-
"nativescript-angular": "~8.0.1",<% if(theme) { %>
27+
"@angular/platform-browser": "~8.2.0",
28+
"@angular/platform-browser-dynamic": "~8.2.0",
29+
"@angular/router": "~8.2.0",
30+
"core-js": "^2.6.9",
31+
"nativescript-angular": "~8.2.0",<% if(theme) { %>
3232
"nativescript-theme-core": "~1.0.4",
3333
<% } %>"reflect-metadata": "~0.1.12",
34-
"rxjs": "~6.5.0",
35-
"tns-core-modules": "~6.0.0",
34+
"rxjs": "~6.4.0",
35+
"tns-core-modules": "~6.1.0",
3636
"zone.js": "~0.9.1"
3737
},
3838
"devDependencies": {
39-
"@angular/cli": "~8.0.3",
40-
"@angular/compiler-cli": "~8.0.1",
41-
"@angular-devkit/build-angular": "~0.800.0",
39+
"@angular/cli": "~8.3.0",
40+
"@angular/compiler-cli": "~8.2.0",
41+
"@angular-devkit/build-angular": "~0.803.0",
4242
"@nativescript/schematics": "~0.7.0",
43-
"@nativescript/tslint-rules": "~0.0.2",
43+
"@nativescript/tslint-rules": "~0.0.4",
4444
"@types/jasmine": "~3.3.8",
4545
"@types/jasminewd2": "~2.0.3",
4646
"@types/node": "~8.9.4",
@@ -52,10 +52,10 @@
5252
"karma-coverage-istanbul-reporter": "~2.0.1",
5353
"karma-jasmine": "~2.0.1",
5454
"karma-jasmine-html-reporter": "^1.4.0",
55-
"nativescript-dev-webpack": "~1.0.0",
55+
"nativescript-dev-webpack": "~1.2.0",
5656
"protractor": "~5.4.0",
5757
"ts-node": "~7.0.0",
5858
"tslint": "~5.15.0",
59-
"typescript": "~3.4.3"
59+
"typescript": "~3.5.3"
6060
}
6161
}

0 commit comments

Comments
 (0)