From 85e2138d0315d6fba01ca5156151cebc123bbb03 Mon Sep 17 00:00:00 2001 From: Krishan Thisera Date: Fri, 13 Oct 2023 15:54:52 +1030 Subject: [PATCH 1/2] DO-1550: revert the changes to the tsconfig from #1106 and remove prebuild script --- package.json | 1 - tsconfig.json | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index c0870056..8b20a7af 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "homepage": "https://github.com/aligent/aws-cdk-constructs#readme", "scripts": { "build": "tsc", - "prepublish": "tsc", "lint": "eslint --ignore-path .eslintignore --ext .ts .", "lint:check": "npm run lint", "lint:fix": "npm run lint --fix", diff --git a/tsconfig.json b/tsconfig.json index 882d25f3..064f8c63 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,8 +3,7 @@ "target": "ES2018", "module": "commonjs", "lib": ["es2018"], - "declaration": false, - "noEmit": true, + "noEmit": false, "strict": true, "noImplicitAny": true, "strictNullChecks": true, From bbdc768fc7de6fc5555ba8197becc4659bbf38ce Mon Sep 17 00:00:00 2001 From: Krishan Thisera Date: Fri, 13 Oct 2023 16:11:34 +1030 Subject: [PATCH 2/2] DO-1550: make declaration true --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 064f8c63..a9f72ce6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "module": "commonjs", "lib": ["es2018"], "noEmit": false, + "declaration": true, "strict": true, "noImplicitAny": true, "strictNullChecks": true,