From 588e2c36174647144588cc1756fe63a9ad5f4c3c Mon Sep 17 00:00:00 2001 From: Stoyan Stratev Date: Thu, 12 Dec 2019 14:11:33 +0200 Subject: [PATCH 1/3] update dependencies for NativeScript 6.3 release --- src/add-ns/index.ts | 10 +++++----- src/ng-new/application/_files/package.json | 6 +++--- src/ng-new/shared/_files/package.json | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/add-ns/index.ts b/src/add-ns/index.ts index c41d064..2da0de0 100644 --- a/src/add-ns/index.ts +++ b/src/add-ns/index.ts @@ -363,17 +363,17 @@ const addDependencies = () => (tree: Tree, context: SchematicContext) => { // @UPGRADE: Update all versions whenever {N} version updates const depsToAdd = { 'nativescript-angular': '~8.20.0', - '@nativescript/theme': '~2.2.0', + '@nativescript/theme': '~2.2.1', 'reflect-metadata': '~0.1.12', - 'tns-core-modules': '~6.2.0', + 'tns-core-modules': '~6.3.0', 'tslib': '1.10.0', }; packageJson.dependencies = {...depsToAdd, ...packageJson.dependencies}; const devDepsToAdd = { - 'nativescript-dev-webpack': '~1.3.0', - '@nativescript/schematics': '~1.0.0', - '@nativescript/tslint-rules': '~0.0.2', + 'nativescript-dev-webpack': '~1.4.0', + '@nativescript/schematics': '~1.1.0', + '@nativescript/tslint-rules': '~0.0.5', }; packageJson.devDependencies = {...devDepsToAdd, ...packageJson.devDependencies}; diff --git a/src/ng-new/application/_files/package.json b/src/ng-new/application/_files/package.json index 5d928bf..b063fa5 100644 --- a/src/ng-new/application/_files/package.json +++ b/src/ng-new/application/_files/package.json @@ -16,10 +16,10 @@ "@angular/platform-browser-dynamic": "~8.2.0", "@angular/router": "~8.2.0", "nativescript-angular": "~8.20.0",<% if(theme) { %> - "@nativescript/theme": "~2.2.0", + "@nativescript/theme": "~2.2.1", <% } %>"reflect-metadata": "~0.1.12", "rxjs": "~6.4.0", - "tns-core-modules": "~6.2.0", + "tns-core-modules": "~6.3.0", "tslib": "1.10.0", "zone.js": "~0.9.1" }, @@ -28,7 +28,7 @@ "@angular/compiler-cli": "~8.2.0", "@angular-devkit/core": "~8.2.0", "@nativescript/schematics": "~1.0.0",<% if(webpack) { %> - "nativescript-dev-webpack": "~1.3.0", + "nativescript-dev-webpack": "~1.4.0", "@ngtools/webpack": "~8.2.0", <% } %>"typescript": "~3.5.3" } diff --git a/src/ng-new/shared/_files/package.json b/src/ng-new/shared/_files/package.json index ec355da..41ae979 100644 --- a/src/ng-new/shared/_files/package.json +++ b/src/ng-new/shared/_files/package.json @@ -29,10 +29,10 @@ "@angular/router": "~8.2.0", "core-js": "^2.6.9", "nativescript-angular": "~8.20.0",<% if(theme) { %> - "@nativescript/theme": "~2.2.0", + "@nativescript/theme": "~2.2.1", <% } %>"reflect-metadata": "~0.1.12", "rxjs": "~6.4.0", - "tns-core-modules": "~6.2.0", + "tns-core-modules": "~6.3.0", "tslib": "1.10.0", "zone.js": "~0.9.1" }, @@ -41,7 +41,7 @@ "@angular/compiler-cli": "~8.2.0", "@angular-devkit/build-angular": "~0.803.0", "@nativescript/schematics": "~1.0.0", - "@nativescript/tslint-rules": "~0.0.4", + "@nativescript/tslint-rules": "~0.0.5", "@types/jasmine": "~3.3.8", "@types/jasminewd2": "~2.0.3", "@types/node": "~8.9.4", @@ -53,7 +53,7 @@ "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~2.0.1", "karma-jasmine-html-reporter": "^1.4.0", - "nativescript-dev-webpack": "~1.3.0", + "nativescript-dev-webpack": "~1.4.0", "protractor": "~5.4.0", "ts-node": "~7.0.0", "tslint": "~5.15.0", From edcc00c1374f4faae09376aca9a05f6c2f92776c Mon Sep 17 00:00:00 2001 From: Stoyan Stratev Date: Thu, 12 Dec 2019 14:14:24 +0200 Subject: [PATCH 2/3] fix schematics version --- src/add-ns/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ns/index.ts b/src/add-ns/index.ts index 2da0de0..1412297 100644 --- a/src/add-ns/index.ts +++ b/src/add-ns/index.ts @@ -372,7 +372,7 @@ const addDependencies = () => (tree: Tree, context: SchematicContext) => { const devDepsToAdd = { 'nativescript-dev-webpack': '~1.4.0', - '@nativescript/schematics': '~1.1.0', + '@nativescript/schematics': '~1.0.0', '@nativescript/tslint-rules': '~0.0.5', }; packageJson.devDependencies = {...devDepsToAdd, ...packageJson.devDependencies}; From b9bb8b4f84fe82224fff90b23e1aaeceefbf0d21 Mon Sep 17 00:00:00 2001 From: Stoyan Stratev Date: Thu, 12 Dec 2019 14:19:20 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32450bd..c5e8ec9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## [1.0.0](https://github.com/nativescript/nativescript-schematics/compare/0.7.3...1.0.0) (2019-12-12) + + +### Features +* update to NativeScript v6.3.x ([588e2c3](https://github.com/NativeScript/nativescript-schematics/commit/588e2c36174647144588cc1756fe63a9ad5f4c3c)) +* support for @nativescript/theme v2 ([10afbe1](https://github.com/NativeScript/nativescript-schematics/commit/10afbe1443d66f7ed535c8c6ee3abe0fb7d4171b)) +* (android) support for dark theme ([d9a7c6f](https://github.com/NativeScript/nativescript-schematics/commit/d9a7c6fb21f9a2f8f944d72162144de4e057357f)) + + + ## [0.7.3](https://github.com/nativescript/nativescript-schematics/compare/0.7.2...0.7.3) (2019-11-11)