mirror of
https://github.com/prdlk/jobyssey.git
synced 2026-11-04 05:57:48 +00:00
feat(worker): add weekly job scrape worker with portal integrations, scoring, and Twenty CRM sync
This commit is contained in:
1 parent
f9daa06aa1
commit
f0190dba41
22 files changed
+2706
No files matched your search
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bun
|
||||
// Copies the profile/rubric files the scorer bundles into src/profile/ (gitignored).
|
||||
// Run before dev/deploy/typecheck (package.json scripts do). The repo files stay
|
||||
// the single source of truth; this is a build artifact, never edited by hand.
|
||||
import { mkdirSync, copyFileSync } from "node:fs";
|
||||
import { join, resolve } from "node:path";
|
||||
|
||||
const worker = resolve(import.meta.dir, "..");
|
||||
const repo = resolve(worker, "../..");
|
||||
const out = join(worker, "src/profile");
|
||||
|
||||
const files: Record<string, string> = {
|
||||
"candidate-profile.md": ".claude/skills/job-application-assistant/01-candidate-profile.md",
|
||||
"job-evaluation.md": ".claude/skills/job-application-assistant/04-job-evaluation.md",
|
||||
"search-queries.md": ".claude/skills/job-scraper/search-queries.md",
|
||||
};
|
||||
|
||||
mkdirSync(out, { recursive: true });
|
||||
for (const [dest, src] of Object.entries(files)) {
|
||||
copyFileSync(join(repo, src), join(out, dest));
|
||||
}
|
||||
console.log(`bundled ${Object.keys(files).length} profile files into src/profile/`);
|
||||
Reference in new issue
Block a user