Skip to content

Commit a580bb5

Browse files
authored
chore: prevent publishing test files of @tutorialkit/runtime (#236)
1 parent bd8a3be commit a580bb5

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

packages/astro/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
},
1010
"include": ["src"],
1111
"references": [
12-
{ "path": "../runtime" },
13-
{ "path": "../types" },
14-
{ "path": "../components/react" },
12+
{ "path": "../runtime/tsconfig.build.json" },
13+
{ "path": "../types/tsconfig.build.json" },
14+
{ "path": "../components/react/tsconfig.build.json" },
1515
{ "path": "../theme" }
1616
]
1717
}

packages/components/react/tsconfig.build.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,9 @@
77
},
88
"include": ["src"],
99
"exclude": ["src/**/*.spec.ts"],
10-
"references": [{ "path": "../../runtime" }, { "path": "../../theme" }, { "path": "../../types" }]
10+
"references": [
11+
{ "path": "../../runtime/tsconfig.build.json" },
12+
{ "path": "../../theme" },
13+
{ "path": "../../types/tsconfig.build.json" }
14+
]
1115
}

packages/components/react/tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,9 @@
99
"rootDir": "src"
1010
},
1111
"include": ["src"],
12-
"references": [{ "path": "../../runtime" }, { "path": "../../theme" }, { "path": "../../types" }]
12+
"references": [
13+
{ "path": "../../runtime/tsconfig.build.json" },
14+
{ "path": "../../theme" },
15+
{ "path": "../../types/tsconfig.build.json" }
16+
]
1317
}

packages/runtime/tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
},
88
"include": ["src"],
99
"exclude": ["src/**/*.spec.ts"],
10-
"references": [{ "path": "../types" }]
10+
"references": [{ "path": "../types/tsconfig.build.json" }]
1111
}

packages/runtime/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"composite": true
77
},
88
"include": ["src"],
9-
"references": [{ "path": "../types" }, { "path": "../test-utils" }]
9+
"references": [{ "path": "../types/tsconfig.build.json" }, { "path": "../test-utils" }]
1010
}

0 commit comments

Comments
 (0)