<commit_before>import { exec } from 'child_process'
import { version, repository } from '../package.json'

const ver = `v${version}`

exec(`cd npm && 
git init && 
git remote add origin ${repository.url.replace(/^git\+/, '')} && 
git add . && 
git commit -anm "${ver}" &&
git checkout -b ${ver} &&
git push origin ${ver}`, (err, stdout) => {
  if (err) {
    return console.log(err)
  }

  console.log(stdout)
})<commit_msg>Change to use `shelljs`<commit_after>import 'shelljs/global'
import pkg, { version, repository } from '../package.json'

const ver = `v${version}`

cd('npm')
exec(`git init`)
exec(`git remote add origin ${repository}`)
exec(`git add .`)
exec(`git commit -anm "${ver}"`)
exec(`git checkout -b ${ver}`)
exec(`git push origin ${ver}`)
{'fraction_non_alphanumeric': 0.20397350993377483, 'fraction_numerical': 0.0, 'mean_word_length': 4.4, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3483699', 'n_tokens_mistral': 260, 'n_tokens_neox': 256, 'n_words': 78}