From 5cfa2b085a9485908460eeff4923c73be496a657 Mon Sep 17 00:00:00 2001 From: sebawita Date: Mon, 12 Nov 2018 15:11:06 +0200 Subject: [PATCH] chore: Update npm modules to the required versions by {N} 5 --- src/add-ns/index.ts | 6 +++--- src/ng-new/application/_files/package.json | 6 +++--- src/ng-new/shared/_files/package.json | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/add-ns/index.ts b/src/add-ns/index.ts index 42e2268..4d07e84 100644 --- a/src/add-ns/index.ts +++ b/src/add-ns/index.ts @@ -264,13 +264,13 @@ const addDependencies = () => (tree: Tree, context: SchematicContext) => { 'nativescript-angular': '~6.1.0', 'nativescript-theme-core': '~1.0.4', 'reflect-metadata': '~0.1.8', - 'tns-core-modules': '~4.2.0' + 'tns-core-modules': '~5.0.0' }; packageJson.dependencies = Object.assign({}, depsToAdd, packageJson.dependencies); const devDepsToAdd = { - 'nativescript-dev-webpack': '^0.16.0', - '@nativescript/schematics': '~0.2.5', + 'nativescript-dev-webpack': '^0.17.0', + '@nativescript/schematics': '~0.3.0', }; packageJson.devDependencies = Object.assign({}, devDepsToAdd, packageJson.devDependencies); diff --git a/src/ng-new/application/_files/package.json b/src/ng-new/application/_files/package.json index 4ede52e..097899a 100644 --- a/src/ng-new/application/_files/package.json +++ b/src/ng-new/application/_files/package.json @@ -19,7 +19,7 @@ "nativescript-theme-core": "~1.0.4", <% } %>"reflect-metadata": "~0.1.8", "rxjs": "~6.2.0", - "tns-core-modules": "~4.2.0", + "tns-core-modules": "~5.0.0", "zone.js": "^0.8.26" }, "devDependencies": { @@ -28,8 +28,8 @@ "@angular-devkit/core": "^0.8.0", "@nativescript/schematics": "~0.3.0", "nativescript-dev-typescript": "~0.7.0",<% if(webpack) {%> - "nativescript-dev-webpack": "^0.16.0", + "nativescript-dev-webpack": "^0.17.0", "@ngtools/webpack": "~6.2.0", - <% } %>"typescript": "~2.7.2" + <% } %>"typescript": "~2.8.0" } } diff --git a/src/ng-new/shared/_files/package.json b/src/ng-new/shared/_files/package.json index fb00e08..f5af031 100644 --- a/src/ng-new/shared/_files/package.json +++ b/src/ng-new/shared/_files/package.json @@ -30,12 +30,12 @@ "nativescript-theme-core": "~1.0.4", <% } %>"reflect-metadata": "~0.1.8", "rxjs": "^6.0.0", - "tns-core-modules": "~4.2.0", + "tns-core-modules": "~5.0.0", "zone.js": "^0.8.26" }, "devDependencies": { "@angular/cli": "^6.2.0", - "@angular/compiler-cli": "~6.0.3", + "@angular/compiler-cli": "~6.1.0", "@angular-devkit/build-angular": "^0.8.0", "@nativescript/schematics": "~0.3.0", "@types/jasmine": "~2.8.6", @@ -50,10 +50,10 @@ "karma-jasmine": "~1.1.1", "karma-jasmine-html-reporter": "^0.2.2", "nativescript-dev-typescript": "~0.7.0", - "nativescript-dev-webpack": "^0.16.0", + "nativescript-dev-webpack": "^0.17.0", "protractor": "~5.3.0", "ts-node": "~5.0.1", "tslint": "~5.9.1", - "typescript": "~2.7.2" + "typescript": "~2.8.0" } }