<commit_before>brew_install "node"

node_version = "1.0.30"

directory Chef::Config[:file_cache_path] do
  owner "root"
  group "admin"
  mode 0775
  action :create
  recursive true
  not_if { ::File.exists?(Chef::Config[:file_cache_path]) }
end

npm_git_location = "#{Chef::Config[:file_cache_path]}/npm"

git npm_git_location do
  repository "https://github.com/isaacs/npm.git"
  revision "v#{node_version}"
  action :sync
  user WS_USER
end

execute "compile rvm" do
  command "cd #{npm_git_location} && make clean && make install"
  user WS_USER
  not_if "npm -v | grep #{node_version}"
end<commit_msg>I don't know git didn't bundle this change<commit_after>brew_install "node"

node_version = "1.0.30"

npm_git_location = "#{Chef::Config[:file_cache_path]}/npm"

directory npm_git_localation do
  owner WS_USER
  action :create
  recursive true
end

git npm_git_location do
  repository "https://github.com/isaacs/npm.git"
  revision "v#{node_version}"
  action :sync
  user WS_USER
end

execute "compile rvm" do
  command "cd #{npm_git_location} && make clean && make install"
  user WS_USER
  not_if "npm -v | grep #{node_version}"
end
{'fraction_non_alphanumeric': 0.1190893169877408, 'fraction_numerical': 0.010507880910683012, 'mean_word_length': 4.861538461538461, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6299758', 'n_tokens_mistral': 436, 'n_tokens_neox': 412, 'n_words': 106}