From 093a0606a3799cdd6e3dfb3e71ec27f445940339 Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Fri, 20 Sep 2024 10:36:46 -0600 Subject: [PATCH] Convert tsconfig to use project references, see https://github.com/phetsims/chipper/issues/1356 --- package.json | 14 +++++++++++++- tsconfig.json | 14 ++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2414449..0c68aca 100644 --- a/package.json +++ b/package.json @@ -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" + ] + } + } + ] } } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index adcfd83..1ee1c6a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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" + } ] } \ No newline at end of file