Skip to content

Commit

Permalink
Merge pull request #81 from RnDAO/hotfix/add-types
Browse files Browse the repository at this point in the history
 Add TypeScript Definitions to the Package
  • Loading branch information
cyri113 authored Jun 27, 2023
2 parents 49ed0fd + e0cb9f3 commit 1b3c6af
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"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",
"scripts": {
"build": "tsc",
"start": "node ./dist/index.js",
Expand Down
16 changes: 13 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}

0 comments on commit 1b3c6af

Please sign in to comment.