From 44de506f6991e4ae64d021f7b4bde9b0f4c98406 Mon Sep 17 00:00:00 2001 From: Anthony Nahas Date: Tue, 21 Jun 2022 22:58:09 +0200 Subject: [PATCH] fix(lib): updated tsconfig file --- .../password-strength/tsconfig.lib.json | 8 ++-- .../password-strength/tsconfig.lib.prod.json | 6 ++- tsconfig.json | 47 +++++++++---------- 3 files changed, 33 insertions(+), 28 deletions(-) diff --git a/projects/angular-material-extensions/password-strength/tsconfig.lib.json b/projects/angular-material-extensions/password-strength/tsconfig.lib.json index ee4fd5a2..e4d82394 100644 --- a/projects/angular-material-extensions/password-strength/tsconfig.lib.json +++ b/projects/angular-material-extensions/password-strength/tsconfig.lib.json @@ -1,8 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../tsconfig.json", "compilerOptions": { - "outDir": "../../../out-tsc/lib", - "target": "es2015", + "outDir": "../../out-tsc/lib", + "declarationMap": true, + "target": "es2020", "declaration": true, "inlineSources": true, "types": [], diff --git a/projects/angular-material-extensions/password-strength/tsconfig.lib.prod.json b/projects/angular-material-extensions/password-strength/tsconfig.lib.prod.json index cbae7942..06de549e 100644 --- a/projects/angular-material-extensions/password-strength/tsconfig.lib.prod.json +++ b/projects/angular-material-extensions/password-strength/tsconfig.lib.prod.json @@ -1,6 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ { "extends": "./tsconfig.lib.json", + "compilerOptions": { + "declarationMap": false + }, "angularCompilerOptions": { - "enableIvy": false + "compilationMode": "partial" } } diff --git a/tsconfig.json b/tsconfig.json index 4e211423..418d9d9f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,26 +1,25 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "files": [], - "references": [ - { - "path": "./tsconfig.app.json" - }, - { - "path": "./tsconfig.spec.json" - }, - { - "path": "./tsconfig.server.json" - }, - { - "path": "./projects/angular-material-extensions/password-strength/tsconfig.lib.json" - }, - { - "path": "./projects/angular-material-extensions/password-strength/tsconfig.spec.json" + "compileOnSave": false, + "compilerOptions": { + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": true, + "declaration": false, + "downlevelIteration": true, + "experimentalDecorators": true, + "moduleResolution": "node", + "importHelpers": true, + "target": "es2020", + "module": "es2020", + "lib": [ + "es2018", + "dom" + ], + "paths": { + "@angular-material-extensions/password-strength": [ + "dist/angular-material-extensions/password-strength/angular-material-extensions-password-strength", + "dist/angular-material-extensions/password-strength" + ] } - ] -} \ No newline at end of file + } +}