Skip to content

Commit 43981ea

Browse files
committed
Fixing tsconfig hierarchy
1 parent 256e7a5 commit 43981ea

File tree

5 files changed

+21
-2
lines changed

5 files changed

+21
-2
lines changed

packages/cmake-rn/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"compilerOptions": {
3+
"composite": true
4+
},
25
"files": [],
36
"references": [
47
{ "path": "./tsconfig.node.json" },

packages/host/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"compilerOptions": {
3+
"composite": true
4+
},
25
"files": [],
36
"references": [
47
{ "path": "./tsconfig.node.json" },

packages/node-addon-examples/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"compilerOptions": {
3+
"composite": true
4+
},
25
"files": [],
36
"references": [
47
{ "path": "./tsconfig.tests.json" },

packages/node-tests/tsconfig.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
2-
"files": [],
2+
"extends": "@tsconfig/node22",
3+
"compilerOptions": {
4+
"composite": true,
5+
"outDir": "./dist",
6+
"emitDeclarationOnly": true
7+
},
8+
"files": ["rolldown.config.mts"],
39
"references": [
410
{ "path": "./tsconfig.common.json" },
511
{ "path": "./tsconfig.node-scripts.json" }

tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
2-
"files": [],
2+
"extends": "@tsconfig/node22",
3+
"compilerOptions": {
4+
"noEmit": true
5+
},
6+
"files": ["prettier.config.mjs", "eslint.config.js"],
37
"references": [
48
{ "path": "./packages/host/tsconfig.json" },
59
{ "path": "./packages/gyp-to-cmake/tsconfig.json" },

0 commit comments

Comments
 (0)