Skip to content

Commit a47d66e

Browse files
authored
chore(shared): exclude tests from build:declarations (#8623)
1 parent 2f003bc commit a47d66e

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

packages/shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
],
126126
"scripts": {
127127
"build": "tsdown",
128-
"build:declarations": "tsc -p tsconfig.json",
128+
"build:declarations": "tsc -p tsconfig.declarations.json",
129129
"clean": "rimraf ./dist",
130130
"dev": "tsdown --watch src",
131131
"dev:pub": "pnpm dev -- --env.publish",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"exclude": ["node_modules", "**/__tests__/**/*"]
4+
}

0 commit comments

Comments
 (0)