8000 stLib on sbt 2, update the ScalablyTyped converter by rleibman · Pull Request #12 · rleibman/chuti · GitHub
[go: up one dir, main page]

Skip to content

stLib on sbt 2, update the ScalablyTyped converter - #12

Merged
rleibman merged 2 commits into
mainfrom
update-scalablytyped-converter
Sep 14, 2026
Merged

rleibman merged 2 commits into
mainfrom
update-scalablytyped-converter

Conversation

@rleibman
Copy link
Copy Markdown
Owner

Summary

  • stLib on sbt 2 (2.0.8), with the same plugin versions as the other projects' stLibs.
  • Converter switched to a build with Identify React components behind aliased intersections and generic default exports ScalablyTyped/Converter#768, #772 and #773.
  • The converter replaced the sbt-scalajs-bundler keys with its own, so useYarn → stUseYarn and npmDependencies → stNpmDependencies.
  • %% instead of %%% (platform aware in sbt 2). The scalajs-react 2.1.3 → 3.0.0 eviction is declared: the converter pins 2.1.3 in every facade, and sbt 2 turns that eviction into an error.

chuti has no hand-written facades, so nothing changes in web.

⚠️ Before merging

sbt-converter 1.0.0-beta45-local769-SNAPSHOT only exists in a local Ivy cache, so CI can't resolve it. It needs a converter release containing those PRs, then a one-line version change.

Testing

stLib compile/publishLocal pass. web/compile and web/fastLinkJS pass (web has no tests).

🤖 Generated with Claude Code

https://claude.ai/code/session_01WLJ6KPxFVco7fXsDVT2FhF

rleibman and others added 2 commits September 13, 2026 09:28
- sbt 2.0.8, with the same plugin versions as dmscreen's stLib
- `%%` instead of `%%%`, which is platform aware in sbt 2
- declare the scalajs-react 2.1.3 -> 3.0.0 eviction: the converter pins
  2.1.3 in every facade, sbt 2 turns that into an error
- `stUseYarn`/`stNpmDependencies`: the converter replaced the
  sbt-scalajs-bundler keys (`useYarn`/`npmDependencies`) with its own
- sbt-converter 1.0.0-beta45-local769-SNAPSHOT, a local build with
  ScalablyTyped/Converter#768, #772 and #773. Needs to be replaced with a
  released version before CI can resolve it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WLJ6KPxFVco7fXsDVT2FhF
The locally published converter now also includes ScalablyTyped/Converter#774 and #775:
MUI components like Button, Box, IconButton and TablePagination get a typed `component` setter.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WLJ6KPxFVco7fXsDVT2FhF
@rleibman
rleibman merged commit eddb653 into main Sep 14, 2026
1 check failed
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

0