From 16488a6505ebbe6157eba670dfbac9dc07394466 Mon Sep 17 00:00:00 2001 From: Behzad Rabiei <53224485+Behzad-rabiei@users.noreply.github.com> Date: Tue, 27 Jun 2023 12:20:46 +0400 Subject: [PATCH 1/2] Add types --- package.json | 1 + tsconfig.json | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index eedbca4..1f4f50e 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "2.4.0", "description": "All interactions with DB", "main": "./dist/index.js", + "types": "./dist/index.d.ts", "scripts": { "build": "tsc", "start": "node ./dist/index.js", diff --git a/tsconfig.json b/tsconfig.json index 3c54e4c..b623898 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,11 +3,21 @@ "target": "es2016", "module": "commonjs", "outDir": "./dist", + "declaration": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true }, - "include": ["./src/**/*", "./__test__/**/*", ".eslintrc.json", "jest.config.ts"], - "exclude": ["./__test__/**/*", ".eslintrc.json", "jest.config.ts"] -} + "include": [ + "./src/**/*", + "./__test__/**/*", + ".eslintrc.json", + "jest.config.ts" + ], + "exclude": [ + "./__test__/**/*", + ".eslintrc.json", + "jest.config.ts" + ] +} \ No newline at end of file From e0cb9f329bdf3bbe85619a8916ade4eb127be5a6 Mon Sep 17 00:00:00 2001 From: Behzad Rabiei <53224485+Behzad-rabiei@users.noreply.github.com> Date: Tue, 27 Jun 2023 12:21:31 +0400 Subject: [PATCH 2/2] Increase version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1f4f50e..16eaed8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@togethercrew.dev/db", - "version": "2.4.0", + "version": "2.4.1", "description": "All interactions with DB", "main": "./dist/index.js", "types": "./dist/index.d.ts",