You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build(scripts): convert the last 14 standalone .mjs scripts to real .ts
Closes out the scripts/ TypeScript migration this branch's base commit
started: every remaining scripts/*.mjs file that had no paired .d.mts
(so wasn't covered by the prior "convert every .mjs/.d.mts pair"
commit) is now real .ts, type-checked against its actual behavior
instead of running untyped. Covers the actionlint/build-selfhost/
check-migrations/compute-test-shards/rees-coverage/smoke-observability-
{metrics,traces}/smoke-ui-browser/check-{mcp,miner}-package/
check-mcp-release-candidate/check-orb-{release,stable-release}-due/
check-changelog families.
Every consumer updated to match: package.json scripts, GitHub
workflows (orb-beta-release, orb-stable-release-pr, publish-miner,
release-selfhost, selfhost, test-timing-refresh), the Dockerfile and
.dockerignore, deploy-selfhost-prebuilt.sh, and comment-only references
across src/queue/processors.ts, packages/loopover-engine's deny-hooks,
the selfhost stub files, and the self-hosting docs pages. A script
invoked directly as a subprocess (not a same-directory .ts import)
keeps plain `node --experimental-strip-types`; one that imports another
local .ts file (e.g. check-orb-release-due.ts importing
orb-release-core.ts) needs tsx instead, since only tsx -- not node's
native strip-types -- resolves a `.js`-suffixed specifier to a sibling
.ts transitively.
Real invocations verified for every converted script against this
repo's own state (migrations, git tags, the packed npm tarballs, a
live loopover.ai smoke check, actionlint/composite-action lint), not
just typecheck -- including reproducing rees-coverage.ts's one
pre-existing, already-tolerated (`|| true` in ci.yml) analyzer-metadata
ENOENT quirk against the original .mjs to confirm it predates this
conversion rather than being introduced by it.
# Conflicts:
# scripts/check-changelog.ts
0 commit comments