<commit_before>import { dist, es, lib } from "./constants";
import { clean as remove, glob } from "./utils";

export async function clean(): Promise<void> {
  const pattern = `packages/!(dev-utils|documentation)/@(${es}|${lib}|${dist}|*.tsbuildinfo)`;
  const files = await glob(pattern);

  return remove(files);
}<commit_msg>chore(dev-utils): fixed clean command to remove old type files<commit_after>import { dist, es, lib, types } from "./constants";
import { clean as remove, glob } from "./utils";

export async function clean(): Promise<void> {
  const pattern = `packages/!(dev-utils|documentation)/@(${es}|${lib}|${dist}|${types}|*.tsbuildinfo)`;
  const files = await glob(pattern);

  return remove(files);
}
{'fraction_non_alphanumeric': 0.18497913769123783, 'fraction_numerical': 0.0, 'mean_word_length': 5.486486486486487, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3807038', 'n_tokens_mistral': 218, 'n_tokens_neox': 214, 'n_words': 63}