From 097bd0edc46125a22c7a52483409804d2722c4ba Mon Sep 17 00:00:00 2001 From: Teodor Bozhikov Date: Fri, 8 Nov 2019 17:57:10 +0200 Subject: [PATCH] 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",