Skip to content

Commit

Permalink
Convert tsconfig to use project references, see phetsims/chipper#1356
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 20, 2024
1 parent 042bcb0 commit 093a060
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@
]
},
"eslintConfig": {
"extends": "../chipper/eslint/sim_eslintrc.js"
"extends": "../chipper/eslint/sim_eslintrc.js",
"overrides": [
{
"files": [
"**/*.ts"
],
"parserOptions": {
"project": [
"../build-a-fraction/tsconfig.json"
]
}
}
]
}
}
14 changes: 14 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,19 @@
"images/**/*",
"mipmaps/**/*",
"sounds/**/*"
],
"references": [
{
"path": "../fractions-common/tsconfig.json"
},
{
"path": "../twixt/tsconfig.json"
},
{
"path": "../vegas/tsconfig.json"
},
{
"path": "../chipper/tsconfig/buildjson"
}
]
}

0 comments on commit 093a060

Please sign in to comment.