mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 16:46:24 +00:00
CI runs `bun install` (not --frozen-lockfile) and the CLIs' package.json pinned @types/bun, @bunli/core, and @bunli/utils to "latest", so each fresh install could resolve a different version than the lockfile. When a "latest" bun-types resolved that didn't satisfy the tsconfig (lib: ["ESNext"] with no DOM, types: ["bun-types"] as the only source of Response/URL/fetch globals), `bun run typecheck` failed across every .ts file - a transient red on PRs that never touched TypeScript (observed on #207, which changes only SKILL.md). Pin the three previously-floating dev/framework deps to the versions the lockfiles already resolve, so behavior is unchanged and the drift class is gone: - @types/bun: latest -> 1.3.14 (all 6 CLIs) - @bunli/core: latest -> 0.9.1 (jobbank, jobdanmark, jobindex, jobnet) - @bunli/utils: latest -> 0.6.0 (jobbank, jobdanmark, jobindex, jobnet) The ^-ranged deps (node-html-parser, zod, typescript) are left as-is; they are semver-guarded and were not the cause. No lockfiles committed (bun.lock stays gitignored per existing policy). Verified: all 6 CLIs install and `bun run typecheck` clean with the pins. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
25 lines
524 B
JSON
25 lines
524 B
JSON
{
|
|
"name": "jobnet-cli",
|
|
"version": "1.0.0",
|
|
"description": "CLI for the Jobnet.dk Danish government job portal API",
|
|
"type": "module",
|
|
"main": "src/cli.ts",
|
|
"bin": {
|
|
"jobnet": "src/cli.ts"
|
|
},
|
|
"scripts": {
|
|
"start": "bun run src/cli.ts",
|
|
"test": "bun test --timeout 30000",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@bunli/core": "0.9.1",
|
|
"@bunli/utils": "0.6.0",
|
|
"zod": "^3.23.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.4.0",
|
|
"@types/bun": "1.3.14"
|
|
}
|
|
}
|