From c511d9325034305d3667fb71e47f235a697c47f5 Mon Sep 17 00:00:00 2001 From: Mark Skelton Date: Mon, 21 Mar 2022 09:35:15 -0500 Subject: [PATCH] Build proper output --- package.json | 2 +- tsconfig.build.json | 3 +-- tsconfig.json | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0daaadb..99ac577 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "test": "playwright test", "ts": "tsc", "format": "prettier --write .", - "release": "yarn tsc && yarn changeset publish" + "release": "yarn tsc -p tsconfig.build.json && yarn changeset publish" }, "devDependencies": { "@babel/core": "^7.17.7", diff --git a/tsconfig.build.json b/tsconfig.build.json index 8b6543a..bc66a25 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -3,6 +3,5 @@ "compilerOptions": { "noEmit": false }, - "include": ["src/**/*.ts", "types/**/*.d.ts"], - "exclude": ["node_modules/**", "**/__tests__/**"] + "include": ["src"] } diff --git a/tsconfig.json b/tsconfig.json index ceec797..8ae5ec6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "target": "ES2019", "moduleResolution": "node", "esModuleInterop": true, + "noEmit": true, "strict": true, "skipLibCheck": true, "outDir": "lib"