fix(portal-clis): pin @types/node in the four @bunli/core CLIs so typecheck passes on a clean install (closes #765) (#768)

* fix(portal-clis): pin @types/node in the @bunli/core CLIs

image-q pins @types/node 16.9.1 exactly, and with bun 1.4.4 a clean
install hoists it, so fetch/Response/URL/Headers vanish from typecheck.
Declare @types/node 26.6.5 as a devDependency in jobbank-search,
jobdanmark-search, jobindex-search and jobnet-search, and add a guard
test that checks every @bunli/core CLI does so.

Closes #765

Generated by NightShift

* docs(changelog): note the @types/node pin for the @bunli/core CLIs (#768)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Mads Lorentzen <madslorentzen_17@hotmail.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
authored and GitHub committed 2026-10-26 15:56:54 +01:00
1 parent 7f9edf54c1
commit 4b109c20c3
6 files changed
+56 -6

No files matched your search

@@ -19,7 +19,8 @@
"zod": "^3.23.0"
},
"devDependencies": {
"typescript": "^5.4.0",
"@types/bun": "1.3.14"
"@types/bun": "1.3.14",
"@types/node": "26.6.5",
"typescript": "^5.4.0"
}
}