Skip to content

Commit

Permalink
chore(react-migration-v8-v9): enable cross project TS path aliases fo…
Browse files Browse the repository at this point in the history
…r improved DX
  • Loading branch information
Hotell committed Apr 3, 2023
1 parent 010c34d commit 196c33f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"just": "just-scripts",
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
"type-check": "tsc -b tsconfig.type-check.json",
"generate-api": "just-scripts generate-api",
"storybook": "start-storybook",
"start": "yarn storybook"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../../tsconfig.base.json",
"extends": "../../../tsconfig.base.all.json",
"compilerOptions": {
"strict": true,
"target": "ES2019",
"noEmit": true,
"isolatedModules": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"paths": {}
},
"include": [],
"files": [],
"references": [
{
"path": "./tsconfig.lib.json"
},
{
"path": "./tsconfig.spec.json"
},
{
"path": "./.storybook/tsconfig.json"
}
]
}
1 change: 1 addition & 0 deletions tsconfig.base.all.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"typeRoots": ["node_modules/@types", "./typings"],
"isolatedModules": true,
"preserveConstEnums": true,
"sourceMap": true,
"rootDir": ".",
"baseUrl": ".",
"paths": {
Expand Down

0 comments on commit 196c33f

Please sign in to comment.