<commit_before>. ./scripts/pre-deploy.sh

# build:all (clean, rebuild, compile, test, and lint)
echo "building"
npm run build:all


# add compiled files
# git add vega-lite* -f
# git rm bower_components/*
# bower install
# git add bower_components/* -f<commit_msg>update gh-pages.sh<commit_after>. ./scripts/pre-deploy.sh

git checkout gh-pages

# update bower_components
git rm bower_components/*
bower install
git add bower_components/* -f

# build
npm run build:all
git add vega-lite* -f

# commit
version=$(cat package.json | jq .version | sed -e 's/^"//'  -e 's/"$//')
git commit -m "release $version"
git push
git checkout master
{'fraction_non_alphanumeric': 0.13385826771653545, 'fraction_numerical': 0.0, 'mean_word_length': 3.9302325581395348, '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': '3906026', 'n_tokens_mistral': 232, 'n_tokens_neox': 219, 'n_words': 74}