<commit_before>rm -rf dist

set -x

npm run build:express-engine

cp modules/express-engine/package.json dist/express-engine/package.json
cp modules/express-engine/README.md dist/express-engine/README.md

npm run build:aspnetcore-engine

cp modules/aspnetcore-engine/package.json dist/aspnetcore-engine/package.json
cp modules/aspnetcore-engine/README.md dist/aspnetcore-engine/README.md

npm run build:hapi-engine

cp modules/hapi-engine/package.json dist/hapi-engine/package.json
cp modules/hapi-engine/README.md dist/hapi-engine/README.md

npm run build:module-map-ngfactory-loader

cp modules/module-map-ngfactory-loader/package.json dist/module-map-ngfactory-loader/package.json
cp modules/module-map-ngfactory-loader/README.md dist/module-map-ngfactory-loader/README.md
<commit_msg>fix(packaging): fail build.sh when a package does not build (#803)<commit_after>rm -rf dist

set -x

npm run build:express-engine || exit 1

cp modules/express-engine/package.json dist/express-engine/package.json
cp modules/express-engine/README.md dist/express-engine/README.md

npm run build:aspnetcore-engine || exit 1

cp modules/aspnetcore-engine/package.json dist/aspnetcore-engine/package.json
cp modules/aspnetcore-engine/README.md dist/aspnetcore-engine/README.md

npm run build:hapi-engine || exit 1

cp modules/hapi-engine/package.json dist/hapi-engine/package.json
cp modules/hapi-engine/README.md dist/hapi-engine/README.md

npm run build:module-map-ngfactory-loader || exit 1

cp modules/module-map-ngfactory-loader/package.json dist/module-map-ngfactory-loader/package.json
cp modules/module-map-ngfactory-loader/README.md dist/module-map-ngfactory-loader/README.md

{'fraction_non_alphanumeric': 0.11324146195326543, 'fraction_numerical': 0.004194128220491312, 'mean_word_length': 4.901060070671378, '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': '1899738', 'n_tokens_mistral': 577, 'n_tokens_neox': 560, 'n_words': 99}