From f1f4faa0a5cbe4150a07d02acfa97b200e5f3c11 Mon Sep 17 00:00:00 2001 From: Alexander Vakrilov Date: Mon, 28 Oct 2019 11:20:25 +0200 Subject: [PATCH 1/3] fix: make FileSystemResourceLoader sync again (#2040) --- nativescript-angular/resource-loader.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nativescript-angular/resource-loader.ts b/nativescript-angular/resource-loader.ts index f9f5ca9a5..5503dfa72 100644 --- a/nativescript-angular/resource-loader.ts +++ b/nativescript-angular/resource-loader.ts @@ -16,12 +16,12 @@ export class FileSystemResourceLoader extends ResourceLoader { super(); } - get(url: string): Promise { + get(url: string): string { const resolvedPath = this.resolve(url); const templateFile = this.fs.fileFromPath(resolvedPath); - return templateFile.readText(); + return templateFile.readTextSync(); } resolve(url: string): string { From 19f252d160ca74f325046831c10ed306ac18c37d Mon Sep 17 00:00:00 2001 From: Vladimir Amiorkov Date: Wed, 30 Oct 2019 18:33:13 +0200 Subject: [PATCH 2/3] chore: update peer deps (#2046) * chore: update peer deps * chore: update package information --- nativescript-angular-package/package.json | 5 ----- nativescript-angular/package.json | 7 +------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/nativescript-angular-package/package.json b/nativescript-angular-package/package.json index 9ce55dd1a..27f17c0c4 100644 --- a/nativescript-angular-package/package.json +++ b/nativescript-angular-package/package.json @@ -7,11 +7,6 @@ "author": { "name": "NativeScript Team" }, - "contributors": [ - "Hristo Deshev ", - "Alexander Vakrilov ", - "Stanimira Vlaeva " - ], "nativescript": { "platforms": { "android": "6.0.0", diff --git a/nativescript-angular/package.json b/nativescript-angular/package.json index 4137e19b2..07e692d11 100644 --- a/nativescript-angular/package.json +++ b/nativescript-angular/package.json @@ -7,11 +7,6 @@ "author": { "name": "NativeScript Team" }, - "contributors": [ - "Hristo Deshev ", - "Alexander Vakrilov ", - "Stanimira Vlaeva " - ], "nativescript": { "platforms": { "android": "6.0.0", @@ -53,7 +48,7 @@ "@angular/platform-browser": "~8.2.0", "@angular/router": "~8.2.0", "rxjs": "^6.4.0", - "tns-core-modules": "^6.0.0 || >6.1.0-", + "tns-core-modules": "^6.2.0 || >6.3.0-", "typescript": "~3.5.3", "zone.js": "^0.9.1" }, From 097bd0edc46125a22c7a52483409804d2722c4ba Mon Sep 17 00:00:00 2001 From: Teodor Bozhikov Date: Fri, 8 Nov 2019 17:57:10 +0200 Subject: [PATCH 3/3] Tbozhikov/release 8.20.1 (#2056) * fix: add exports for backwards compatibility * chore: bump version * release: cut the %s release * fix: changelog * chore: fix typescript compilation while pack compat pkg * fix: re-add deleted line * chore: bump the scoped package version --- CHANGELOG.md | 6 ++++++ build/pack-scripts/pack-compat.ts | 2 +- .../forms/value-accessors/base-value-accessor.ts | 1 + nativescript-angular-package/lang-facade.ts | 1 + nativescript-angular-package/package.json | 3 ++- nativescript-angular/package.json | 2 +- 6 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 nativescript-angular-package/forms/value-accessors/base-value-accessor.ts create mode 100644 nativescript-angular-package/lang-facade.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index b0a33425d..b7e367175 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ + +# [8.20.1](https://github.com/NativeScript/nativescript-angular/compare/8.20.0...8.20.1) (2019-11-07) + +### Bug Fixes + +* add exports in `nativescript-angular` package for backwards compatibility # [8.20.0](https://github.com/NativeScript/nativescript-angular/compare/8.2.2...8.20.0) (2019-10-23) diff --git a/build/pack-scripts/pack-compat.ts b/build/pack-scripts/pack-compat.ts index 61cde5c88..1df263165 100644 --- a/build/pack-scripts/pack-compat.ts +++ b/build/pack-scripts/pack-compat.ts @@ -56,7 +56,7 @@ fs.emptyDirSync(tempFolderPath); fs.ensureDirSync(distFolderPath); // Install, run tsc and run ngc -execSync(`npm i && tsc && npm run ngc`, { +execSync(`npm i && npm run tsc && npm run ngc`, { cwd: nsAngularPackagePath }); diff --git a/nativescript-angular-package/forms/value-accessors/base-value-accessor.ts b/nativescript-angular-package/forms/value-accessors/base-value-accessor.ts new file mode 100644 index 000000000..36c3a7f63 --- /dev/null +++ b/nativescript-angular-package/forms/value-accessors/base-value-accessor.ts @@ -0,0 +1 @@ +export * from "@nativescript/angular/forms/value-accessors/base-value-accessor"; \ No newline at end of file diff --git a/nativescript-angular-package/lang-facade.ts b/nativescript-angular-package/lang-facade.ts new file mode 100644 index 000000000..994364fba --- /dev/null +++ b/nativescript-angular-package/lang-facade.ts @@ -0,0 +1 @@ +export * from "@nativescript/angular/lang-facade"; \ No newline at end of file diff --git a/nativescript-angular-package/package.json b/nativescript-angular-package/package.json index 27f17c0c4..b42898ffd 100644 --- a/nativescript-angular-package/package.json +++ b/nativescript-angular-package/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-angular", - "version": "8.20.0", + "version": "8.20.1", "description": "An Angular renderer that lets you build mobile apps with NativeScript.", "homepage": "https://www.nativescript.org/", "bugs": "https://github.com/NativeScript/nativescript-angular/issues", @@ -41,6 +41,7 @@ }, "scripts": { "ngc": "ngc -p tsconfig.json", + "tsc": "tsc", "pack-with-scoped-version": "cd ../build/pack-scripts && npm i && npx ts-node pack-compat.ts" } } diff --git a/nativescript-angular/package.json b/nativescript-angular/package.json index 07e692d11..6aa4a56fe 100644 --- a/nativescript-angular/package.json +++ b/nativescript-angular/package.json @@ -1,6 +1,6 @@ { "name": "@nativescript/angular", - "version": "8.20.0", + "version": "8.20.1", "description": "An Angular renderer that lets you build mobile apps with NativeScript.", "homepage": "https://www.nativescript.org/", "bugs": "https://github.com/NativeScript/nativescript-angular/issues",