diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..5e401741 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,5 @@ +dist +node_modules +built +src/tests/**/*.ts +**/*.spec.ts \ No newline at end of file diff --git a/commitlint.config.js b/commitlint.config.js index ab6352b0..a1e2929f 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -15,3 +15,6 @@ module.exports = { }, }, }; + +// Sample commit format +// 'TK-08 | chore:update http constants' diff --git a/package.json b/package.json index 488a09ec..b81a3524 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "request-response-handler", - "version": "1.0.9", + "version": "1.1.0", "description": "Handle HTTP request responses", "main": "dist/src/index.js", "types": "./dist/index.d.ts", diff --git a/tsconfig.json b/tsconfig.json index 75f00cf1..d7df2c37 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,6 +16,11 @@ ], "resolveJsonModule": true, "sourceMap": true, + // Generate d.ts files + "declaration": true, + // // This compiler run should + // // only output d.ts files + // "emitDeclarationOnly": true, "outDir": "dist", "sourceRoot": "/", "inlineSources": true,