Skip to content

Commit

Permalink
Filter out scenerystack repos from type check for now, see phetsims/a…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Dec 24, 2024
1 parent 2c7947d commit f3329d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/grunt/typeCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,13 @@ async function runCommand( command: string, args: string[], cwd: string, absolut
*/
function writeAllTSConfigFile(): void {
const activeRepos = fs.readFileSync( `${PERENNIAL_ROOT}/data/active-repos`, 'utf-8' ).trim().split( /\r?\n/ ).map( s => s.trim() );
const activeSceneryStackRepos = fs.readFileSync( `${PERENNIAL_ROOT}/data/active-scenerystack-repos`, 'utf-8' ).trim().split( /\r?\n/ ).map( s => s.trim() );

const filteredRepos = activeRepos.filter( repo => {
// TODO: https://github.com/phetsims/aqua/issues/226
if ( activeSceneryStackRepos.includes( repo ) ) {
return false;
}
return fs.existsSync( `${PERENNIAL_ROOT}/../${repo}/tsconfig.json` ) &&
repo !== 'phet-lib' && // TODO: include this repo, see https://github.com/phetsims/phet-lib/issues/7
repo !== 'phet-vite-demo'; // TODO: include this repo, see https://github.com/phetsims/phet-vite-demo/issues/2
Expand Down

0 comments on commit f3329d7

Please sign in to comment.