<commit_before>for filepath in ./src/*; do
  for js_version in "ES5" "ES6"; do

    file=$(basename $filepath)

    # the index file is only there for the purposes of npm builds - for the CDN we create a separate bundle for each
    # integration - so we can skip it here
    if [[ $file == "index.ts" ]]; then
      continue
    fi

    # run the build for each integration, pushing each build process into the background once it starts (that's what the
    # trailing `&` does) so that we can start another one
    echo -e "Building $js_version bundles for \`$file\`..."
    INTEGRATION_FILE=$file JS_VERSION=$js_version \
      yarn --silent rollup -c rollup.config.js &&
      echo -e "Finished building $js_version bundles for \`$file\`." &

  done
done

# keep the process running until all backgrounded tasks have finished
wait

echo -e "\nIntegration bundles built successfully"
<commit_msg>run integration bundle builds sequentially (#4740)<commit_after>for filepath in ./src/*; do
  for js_version in "ES5" "ES6"; do

    file=$(basename $filepath)

    # the index file is only there for the purposes of npm builds - for the CDN we create a separate bundle for each
    # integration - so we can skip it here
    if [[ $file == "index.ts" ]]; then
      continue
    fi

    # run the build for each integration
    INTEGRATION_FILE=$file JS_VERSION=$js_version yarn --silent rollup -c rollup.config.js

  done
done

echo -e "\nIntegration bundles built successfully"

{'fraction_non_alphanumeric': 0.08924949290060852, 'fraction_numerical': 0.005409060175794456, 'mean_word_length': 3.1340782122905027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '519442', 'n_tokens_mistral': 448, 'n_tokens_neox': 425, 'n_words': 191}