TS_CONFIG_FILE="tsconfig.json"
TS_CONFIG_FILE_COPY="tsconfig.json.copy"
TMP_FOLDER="tmp"
ALL_TS_FILES="${TMP_FOLDER}/tsfiles.dat"

# setup
mkdir $TMP_FOLDER

# search all ts file path
find src -name "*tsx" -o -name "*ts" > $ALL_TS_FILES


TS_FILES=''
while read ts_file; do
  echo "adding file to the array: ${ts_file}"
  TS_FILES="$TS_FILES, \"$ts_file\""
done < $ALL_TS_FILES

echo $TS_FILES
