<commit_before># Install webpacker
puts "Creating javascript app source directory"
directory "#{__dir__}/javascript", "app/javascript"

puts "Copying binstubs"
directory "#{__dir__}/bin", "bin"
chmod "bin", 0755 & ~File.umask, verbose: false

puts "Copying webpack core config and loaders"
directory "#{__dir__}/config/webpack", "config/webpack"
directory "#{__dir__}/config/loaders/core", "config/webpack/loaders"
copy_file "#{__dir__}/config/.postcssrc.yml", ".postcssrc.yml"

if File.exists?(".gitignore")
  append_to_file ".gitignore", <<-EOS
  /public/packs
  /node_modules
  EOS
end
<commit_msg>Revert alignment change in #269 (#270)<commit_after># Install webpacker
puts "Creating javascript app source directory"
directory "#{__dir__}/javascript", "app/javascript"

puts "Copying binstubs"
directory "#{__dir__}/bin", "bin"
chmod "bin", 0755 & ~File.umask, verbose: false

puts "Copying webpack core config and loaders"
directory "#{__dir__}/config/webpack", "config/webpack"
directory "#{__dir__}/config/loaders/core", "config/webpack/loaders"
copy_file "#{__dir__}/config/.postcssrc.yml", ".postcssrc.yml"

if File.exists?(".gitignore")
  append_to_file ".gitignore", <<-EOS
/public/packs
/node_modules
EOS
end

{'fraction_non_alphanumeric': 0.15397215397215397, 'fraction_numerical': 0.011466011466011465, 'mean_word_length': 6.104651162790698, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2814325', 'n_tokens_mistral': 445, 'n_tokens_neox': 418, 'n_words': 103}