From 6a809880ae23c6f59c452e7e4f197003680162d4 Mon Sep 17 00:00:00 2001 From: Morgan Touverey Quilling Date: Sun, 27 Feb 2022 10:37:42 +0100 Subject: [PATCH] feat: publish Ivy-only build BREAKING CHANGE: If you application still uses View Engine, it won't be able to use ngx-sweetalert2. Otherwise please note that the library remains compatible with Angular 12 (Ivy-enabled). This change allows to speed up compilation preparation time on Ivy-enabled apps, and is now recommended by the Angular guidelines. --- .github/workflows/ci.yml | 2 +- .gitignore | 3 + .idea/inspectionProfiles/Project_Default.xml | 2 +- .tmuxinator.yml | 17 - README.md | 2 +- package.json | 41 +- projects/ngx-sweetalert2-demo/src/test.ts | 4 +- projects/ngx-sweetalert2/ng-package.json | 5 +- .../ngx-sweetalert2/src/lib/swal.directive.ts | 2 +- .../src/lib/sweetalert2.module.ts | 3 - projects/ngx-sweetalert2/src/test.ts | 4 +- projects/ngx-sweetalert2/tsconfig.lib.json | 2 +- .../ngx-sweetalert2/tsconfig.lib.prod.json | 2 +- tsconfig.json | 2 +- yarn.lock | 8546 +++++++---------- 15 files changed, 3597 insertions(+), 5040 deletions(-) delete mode 100644 .tmuxinator.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41f1236..65be9f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: run: yarn install - name: Build library package - run: yarn build:lib + run: yarn build:lib --configuration=production - name: Copy readme and license files run: yarn build:copy-files diff --git a/.gitignore b/.gitignore index d0c1e26..88b60fe 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,9 @@ /tmp /out-tsc +# caches +/.angular/cache + # dependencies /node_modules diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 9a5667f..8b0ce0a 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -7,6 +7,6 @@