From 9900e5a6891929876b8fb7b5d29c25cd5b042626 Mon Sep 17 00:00:00 2001 From: Erik Ritter Date: Tue, 25 Jan 2022 10:14:25 -0800 Subject: [PATCH] fix: exclude node_modules from ts tracking (#18117) --- scripts/generate_frontend_ts_tasklist.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/generate_frontend_ts_tasklist.js b/scripts/generate_frontend_ts_tasklist.js index 75aece4e262ba..b9c5c47fc9da8 100644 --- a/scripts/generate_frontend_ts_tasklist.js +++ b/scripts/generate_frontend_ts_tasklist.js @@ -68,6 +68,7 @@ while (directories.length) { directories = directories.concat( getDirectories("./") .reverse() // For ABC order when pushed into the Array + .filter((name) => name !== "node_modules") // Don't include node_modules in our packages .map((directory) => `${curDirectory}/${directory}`) ); process.chdir(DEFAULT_DIRECTORY);