From d48801c139b1ff71e1bf10b84851afbb99e1d31f Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Mon, 30 Sep 2024 15:10:43 -0600 Subject: [PATCH] fix buildtools weird bug with "extends", https://github.com/phetsims/chipper/issues/1463 --- tsconfig/buildtools/tsconfig.json | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/tsconfig/buildtools/tsconfig.json b/tsconfig/buildtools/tsconfig.json index 93328f26..191af079 100644 --- a/tsconfig/buildtools/tsconfig.json +++ b/tsconfig/buildtools/tsconfig.json @@ -1,4 +1,24 @@ + +// TODO: Ideally, the contents here would be an extends, but typescript really doesn't want me to do that. https://github.com/phetsims/chipper/issues/1463 +//{ +// // Chipper and its node dependencies is what we call "buildtools" +// "extends": "../../../chipper/tsconfig-node.json" +//} { - // Chipper and its node dependencies is what we call "buildtools" - "extends": "../../../chipper/tsconfig-node.json" + "extends": "../../tsconfig/shared/tsconfig-node.json", + "include": [ + "../../js/common/**/*", + "../../js/grunt/**/*", + "../../js/phet-io/**/*", + "../../js/scripts/**/*", + "../../test/**/*", + "../../eslint/**/*", + // Gruntfile and eslint.config.mjs + "../../*" + ], + "references": [ + { + "path": "../../../perennial-alias/tsconfig-chipper.json" + } + ] } \ No newline at end of file