Skip to content

Add polyglot examples: TypeScript + Scala JVM + Scala.js#1

Merged
arcaputo3 merged 3 commits into
mainfrom
polyglot-examples
Mar 30, 2026
Merged

Add polyglot examples: TypeScript + Scala JVM + Scala.js#1
arcaputo3 merged 3 commits into
mainfrom
polyglot-examples

Conversation

@arcaputo3
Copy link
Copy Markdown
Contributor

@arcaputo3 arcaputo3 commented Mar 30, 2026

Summary

  • Add polyglot examples demonstrating TypeScript, Scala JVM, and Scala.js modules working together via the Mill Bun plugin
  • Fix example date formatting and close index stream properly
  • Add release workflow and docs (CHANGELOG, RELEASING guide, GitHub Actions workflow)

Test plan

  • Review example build configuration in examples/build.mill
  • Verify TypeScript library and tests (examples/tsLib/)
  • Verify Scala JVM backend (examples/backend/)
  • Verify Scala.js client (examples/scalaClient/)
  • Verify TypeScript client (examples/client/)
  • Review release workflow in .github/workflows/release.yml

🤖 Generated with Claude Code

arcaputo3 and others added 3 commits March 29, 2026 12:27
Demonstrate Mill handling the full polyglot stack in one build.mill:

- tsLib: standalone TypeScript library with Bun-native tests (8/8 pass)
- client: TypeScript browser frontend importing tsLib via moduleDeps
- scalaClient: Scala.js browser frontend as alternative client
- backend: Scala/Cask JVM HTTP server wiring client bundle into
  static resources via Mill's task graph

Uses idiomatic Mill layout — directories match module names, zero
path overrides on the polyglot modules. Mill parallelizes TypeScript,
Scala JVM, and Scala.js compilation across cores.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@arcaputo3 arcaputo3 merged commit ce02602 into main Mar 30, 2026
2 checks passed
@arcaputo3 arcaputo3 deleted the polyglot-examples branch March 30, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant