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"