feat(third_party) Port get-ripgrep. (#8514)

This commit is contained in:
joshualitt
2025-09-19 08:13:28 -07:00
committed by GitHub
parent 2c4f61eca5
commit 6e4236bf76
16 changed files with 308 additions and 129 deletions

View File

@@ -21,7 +21,9 @@ import { execSync } from 'node:child_process';
import { writeFileSync } from 'node:fs';
import { join } from 'node:path';
if (!process.cwd().includes('packages')) {
if (
!(process.cwd().includes('packages') || process.cwd().includes('third_party'))
) {
console.error('must be invoked from a package directory');
process.exit(1);
}

View File

@@ -43,6 +43,7 @@ for (const workspace of rootPackageJson.workspaces) {
for (const pkgPath of packages) {
const pkgDir = dirname(join(root, pkgPath));
rmSync(join(pkgDir, 'dist'), RMRF_OPTIONS);
rmSync(join(pkgDir, 'tsconfig.tsbuildinfo'), RMRF_OPTIONS);
}
}