Skip to content

Commit 50a1256

Browse files
committed
fix
1 parent b81de8f commit 50a1256

4 files changed

Lines changed: 33 additions & 18 deletions

File tree

packages/react-docgen-cli/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
44
"declaration": false,
5-
"outDir": "./dist"
5+
"outDir": "./dist",
6+
"rootDir": "./src"
67
},
78
"exclude": ["**/__tests__/**/*", "**/__mocks__/**/*"],
89
"include": ["src/**/*"]

packages/react-docgen/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
44
"declaration": true,
5-
"outDir": "./dist"
5+
"outDir": "./dist",
6+
"rootDir": "./src"
67
},
78
"exclude": ["**/__tests__/**/*", "**/__mocks__/**/*", "**/__fixtures__/**/*"],
89
"include": ["src/**/*"]

pnpm-lock.yaml

Lines changed: 27 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.base.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"esModuleInterop": true,
1616
"forceConsistentCasingInFileNames": true,
1717
"inlineSourceMap": false,
18-
"skipLibCheck": true
18+
"skipLibCheck": true,
19+
"types": ["node"]
1920
}
2021
}

0 commit comments

Comments
 (0)