Skip to content

Convert remaining .mjs scripts to TypeScript - #549

Merged
AshishKumar4 merged 1 commit into
mainfrom
maximo/mjs-to-ts
Sep 22, 2026
Merged

AshishKumar4 merged 1 commit into
mainfrom
maximo/mjs-to-ts

Conversation

@Maximo-Guk

@Maximo-Guk Maximo-Guk commented Sep 22, 2026

Copy link
Copy Markdown
Member

Converts the four .mjs files #233 left behind (two gatekeeper build-app scripts, workshop-backend's browser-runtime builder, the oxlint plugin) to type-checked TypeScript.

The plugin is typed via a type-only @oxlint/plugins dev dependency pinned to Vite+'s version, with a test guarding the pin.

#233 moved `scripts/` to type-stripped TypeScript but left four `.mjs`
files behind: the two gatekeeper `build-app` scripts, workshop-backend's
browser-runtime builder, and the oxlint plugin. They now run as `.ts`
and are type-checked by `pnpm types:scripts`.

- `build-browser-runtime` moves into `workshop-backend/scripts/`, beside
  the other Node-only tool that `scripts/tsconfig.json` already covers.
- The oxlint plugin is typed against `@oxlint/plugins`, added as a
  type-only dev dependency pinned to the version Vite+ pins; its test
  fails if the two drift. oxlint loads a `.ts` plugin as-is.
- Stale references to already-converted `.mjs` files are corrected.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@github-actions github-actions Bot added kernel Changes to the Workshop kernel gatekeeper Changes to a gatekeeper integration labels Sep 22, 2026
@github-actions

Copy link
Copy Markdown

Preview: pr549-maximo-mjs-to-ts

https://pr549-maximo-mjs-to-ts-router.cloudflare-os-previews.workers.dev

Dashboard · deleted when this PR closes

@ask-bonk

ask-bonk Bot commented Sep 22, 2026

Copy link
Copy Markdown

LGTM!

github run

@Maximo-Guk
Maximo-Guk marked this pull request as ready for review September 22, 2026 15:19

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@AshishKumar4
AshishKumar4 merged commit 3e5dd53 into main Sep 22, 2026
16 of 17 checks passed
@AshishKumar4
AshishKumar4 deleted the maximo/mjs-to-ts branch September 22, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gatekeeper Changes to a gatekeeper integration kernel Changes to the Workshop kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants