<commit_before>#!/bin/bash
set -ev

dist=vivliostyle-js-$1
mkdir ${dist}
cp -R dist/* ${dist}/
mkdir ${dist}/viewer/
cp -R build/* ${dist}/viewer/
cp scripts/start-webserver* ${dist}/
cp -R node_modules/vivliostyle/samples ${dist}/
cp node_modules/vivliostyle/doc/supported-features.{md,html} ${dist}/docs/en/
zip -qr vivliostyle-js-latest.zip ${dist}
rm -rf ${dist}
<commit_msg>Add CHANGELOG.md to the distribution package<commit_after>#!/bin/bash
set -ev

dist=vivliostyle-js-$1
mkdir ${dist}
cp -R dist/* ${dist}/
cp node_modules/vivliostyle/CHANGELOG.md ${dist}/
mkdir ${dist}/viewer/
cp -R build/* ${dist}/viewer/
cp scripts/start-webserver* ${dist}/
cp -R node_modules/vivliostyle/samples ${dist}/
cp node_modules/vivliostyle/doc/supported-features.{md,html} ${dist}/docs/en/
zip -qr vivliostyle-js-latest.zip ${dist}
rm -rf ${dist}

{'fraction_non_alphanumeric': 0.18593563766388557, 'fraction_numerical': 0.0023837902264600714, 'mean_word_length': 4.6, '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': '215734', 'n_tokens_mistral': 331, 'n_tokens_neox': 322, 'n_words': 74}