From b4d4a5e7ff988ac11d6ba1d8ccd40b46f6a46e3a Mon Sep 17 00:00:00 2001 From: Al-Mothafar Al-Hasan Date: Sun, 15 Sep 2024 21:36:21 +0300 Subject: [PATCH] Fix config? --- .gitattributes | 1 + package.json | 2 +- projects/auto-complete/ng-package.json | 4 +- tsconfig.json | 64 +++++++++++++------------- 4 files changed, 36 insertions(+), 35 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/package.json b/package.json index f8f9f2d..c72acb5 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "e2e": "ng e2e", "build-lib:watch": "ng build auto-complete --watch", "build-lib:prod": "ng build auto-complete --configuration production && npm run copy-lib", - "copy-lib": "copyfiles -f LICENSE.md README.md CHANGELOG.md dist/auto-complete" + "copy-lib": "copyfiles -f LICENSE.md README.md CHANGELOG.md dist/" }, "private": true, "dependencies": { diff --git a/projects/auto-complete/ng-package.json b/projects/auto-complete/ng-package.json index c2d3619..f4f6214 100644 --- a/projects/auto-complete/ng-package.json +++ b/projects/auto-complete/ng-package.json @@ -1,7 +1,7 @@ { "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../dist/auto-complete", + "dest": "../../dist/", "lib": { "entryFile": "src/public-api.ts" } -} \ No newline at end of file +} diff --git a/tsconfig.json b/tsconfig.json index 8b7f65a..c9a998c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,32 +1,32 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "baseUrl": "./", - "outDir": "./dist/out-tsc", - "sourceMap": true, - "declaration": false, - "downlevelIteration": true, - "experimentalDecorators": true, - "module": "ES2020", - "moduleResolution": "node", - "importHelpers": true, - "target": "ES2020", - "typeRoots": [ - "node_modules/@types" - ], - "lib": [ - "ESNext", - "DOM" - ], - "paths": { - "auto-complete": [ - "dist/auto-complete/auto-complete", - "dist/auto-complete" - ] - } - }, - "angularCompilerOptions": { - "fullTemplateTypeCheck": true, - "strictInjectionParameters": true - } -} +{ + "compileOnSave": false, + "compilerOptions": { + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": true, + "declaration": false, + "downlevelIteration": true, + "experimentalDecorators": true, + "module": "ES2020", + "moduleResolution": "node", + "importHelpers": true, + "target": "ES2020", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "ESNext", + "DOM" + ], + "paths": { + "auto-complete": [ + "dist/auto-complete", + "dist/" + ] + } + }, + "angularCompilerOptions": { + "fullTemplateTypeCheck": true, + "strictInjectionParameters": true + } +}