This commit is contained in:
2026-07-26 18:11:57 +02:00
parent d408e01ab5
commit 21a3b34471
139 changed files with 32872 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
/**
* @deprecated Nutze `npm run generate:suggestions`
* (extract-phrases.mjs → clean-phrases.mjs → build-real-suggestions.mjs).
*/
import { spawnSync } from "child_process";
import { dirname, join } from "path";
import { fileURLToPath } from "url";
const dir = dirname(fileURLToPath(import.meta.url));
const steps = ["extract-phrases.mjs", "clean-phrases.mjs", "build-real-suggestions.mjs"];
for (const step of steps) {
const r = spawnSync(process.execPath, [join(dir, step)], { stdio: "inherit" });
if (r.status) process.exit(r.status ?? 1);
}
process.exit(0);