From 6f44b52fb5eb8a927295c381aae12ddd42340a95 Mon Sep 17 00:00:00 2001 From: Morb0 Date: Sun, 3 Jan 2021 16:52:11 +0300 Subject: [PATCH] fix(build): remove sample from tsconfig --- package.json | 2 +- tsconfig.build.json | 7 ------- tsconfig.json | 4 ++-- 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 tsconfig.build.json diff --git a/package.json b/package.json index 8ac715b..9524a29 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ ], "repository": "git@github.com:bukhalo/nestjs-telegraf.git", "scripts": { - "build": "rm -rf dist && tsc -p tsconfig.build.json", + "build": "rm -rf dist && tsc -p tsconfig.json", "precommit": "lint-staged", "prepublish:npm": "npm run build", "publish:npm": "npm publish --access public", diff --git a/tsconfig.build.json b/tsconfig.build.json deleted file mode 100644 index 855a530..0000000 --- a/tsconfig.build.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "rootDir": "./lib" - }, - "include": ["lib/**/*"] -} diff --git a/tsconfig.json b/tsconfig.json index 56083b9..1a6c056 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,10 +9,10 @@ "experimentalDecorators": true, "target": "es2017", "sourceMap": false, - "baseUrl": "./", + "rootDir": "./lib", "outDir": "./dist", "skipLibCheck": true }, - "include": ["lib/**/*", "./sample/**/*"], + "include": ["lib/**/*"], "exclude": ["node_modules", "**/*.spec.ts"] }