scala-ts / Scala Ts
Licence: mit
π§ Scala to TypeScript code generator
Stars: β 152
Programming Languages
typescript
32286 projects
scala
5932 projects
Labels
Projects that are alternatives of or similar to Scala Ts
Android Vertical Stepper View
A vertical stepper implementation of the material design specification
Stars: β 87 (-42.76%)
Mutual labels: sbt
Freeacs
(Seeking maintainer) Free TR-069 ACS that can run (mostly) anywhere.
Stars: β 90 (-40.79%)
Mutual labels: sbt
Sbt Unidoc
sbt plugin to create a unified API document across projects
Stars: β 113 (-25.66%)
Mutual labels: sbt
Scala Play Angular Seed
π Scala Play 2.7.x + Angular 8 with Angular CLI seed project with full-fledged build process
Stars: β 85 (-44.08%)
Mutual labels: sbt
Sbt Native Image
Plugin to generate native-image binaries with sbt
Stars: β 128 (-15.79%)
Mutual labels: sbt
Sbt Prompt
An SBT plugin for making your SBT prompt more awesome
Stars: β 107 (-29.61%)
Mutual labels: sbt
Sbt Jib
sbt version of sbt jib: https://github.com/GoogleContainerTools/jib
Stars: β 97 (-36.18%)
Mutual labels: sbt
Sbt Newrelic
New Relic monitoring integration for SBT with sbt-native-packager
Stars: β 87 (-42.76%)
Mutual labels: sbt
Setup Scala
GitHub Action to install any version of Java (GraalVM, Java 8, Java 11, Java 14, ...) via Jabba. Works for any JVM language including Java, Scala and Kotlin.
Stars: β 123 (-19.08%)
Mutual labels: sbt
Scala Ddd Example
π― Ξ» Hexagonal Architecture + DDD + CQRS applied in Scala using Akka HTTP
Stars: β 86 (-43.42%)
Mutual labels: sbt
Gatling Sbt Plugin Demo
Showcase of the Gatling Plugin for SBT
Stars: β 137 (-9.87%)
Mutual labels: sbt
Scala-TS
Scala-TS generate TypeScript from Scala.
Help to integrate REST-ful Scala backend and TypeScript frontend. Having defined Scala types returned by your endpoints you can easily generate TypeScript definitions for consuming these endpoints.
Usage
Scala-TS can be used either standalone or as a SBT plugin.
See:
- Usage details
- Blog post: Scala-ts: Scala to TypeScript code generator at Code with Style.
Build manually
The core library and compiler plugin can be built using SBT.
sbt +core/publishLocal
The SBT plugin can also be built:
sbt '^ sbt-plugin/publishLocal'
The tests for the core library and compiler plugin can be executed.
sbt +core/test
The scripted tests for the SBT plugins can also be executed.
sbt ';^ sbt-plugin/testOnly ;^ sbt-plugin/scripted'
Considering a single scripted tests (e.g. simple
), it can be executed interactively for development purpose.
export SCRIPTED_TEST="simple"
export PLUGIN_VERSION="0.5.6"
export SBT_VERSION="1.4.7"
cd "sbt-plugin/src/sbt-test/sbt-scala-ts/${SCRIPTED_TEST}"
sbt "-J-Dscala-ts.version=${PLUGIN_VERSION}" "-J-Dsbt.version=${SBT_VERSION}"
Publish on Sonatype:
./project/staging.sh
project sbt-plugin
^publishSigned
project sbt-plugin-idtlt
^publishSigned
project idtlt
+publishSigned
project core
+publishSigned
Credits
Many thanks to all the contributors.
-
@nicolasdalsass who create a forked project. Some of his ideas have been integrated back into
scala-ts
. -
@returntocorp for the SBT 1.0,
Either
,Map
support.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].