From 28171bc2853ccbcbc9c12c8f553ddc3222d33e00 Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Mon, 24 Jan 2022 13:01:05 +0530 Subject: [PATCH] chore: include stuff in tsconfig - remove redundant file --- server/index.js | 19 ------------------- tsconfig.json | 10 +++++++++- 2 files changed, 9 insertions(+), 20 deletions(-) delete mode 100644 server/index.js diff --git a/server/index.js b/server/index.js deleted file mode 100644 index 126eb0ea..00000000 --- a/server/index.js +++ /dev/null @@ -1,19 +0,0 @@ -import server from 'frappe/server'; -import models from '../models'; -import postStart from './postStart'; - -async function start() { - await server.start({ - backend: 'sqlite', - connectionParams: { dbPath: 'test.db', enableCORS: true }, - models, - }); - - await postStart(); -} - -start(); - -export default { - start, -}; diff --git a/tsconfig.json b/tsconfig.json index e621cbc3..522d11f2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -30,8 +30,16 @@ "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", + "tests/**/*.ts", - "tests/**/*.tsx" + "tests/**/*.tsx", + + "frappe/**/*.ts", + "models/**/*.ts", + "patches/**/*.ts", + "reports/**/*.ts", + "accounting/**/*.ts", + "accounting/**/*.ts", ], "exclude": [ "node_modules"