All Projects β†’ scala-ts β†’ Scala Ts

scala-ts / Scala Ts

Licence: mit
πŸ”§ Scala to TypeScript code generator

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
Sbt Native Packager
sbt Native Packager
Stars: ✭ 1,480 (+873.68%)
Mutual labels:  sbt
Mqperf
Stars: ✭ 122 (-19.74%)
Mutual labels:  sbt
Freeacs
(Seeking maintainer) Free TR-069 ACS that can run (mostly) anywhere.
Stars: ✭ 90 (-40.79%)
Mutual labels:  sbt
Flyway Sbt
Flyway SBT plugin
Stars: ✭ 101 (-33.55%)
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
Stryker4s
Mutation testing for Scala. Work in progress...
Stars: ✭ 118 (-22.37%)
Mutual labels:  sbt
Sbt Jib
sbt version of sbt jib: https://github.com/GoogleContainerTools/jib
Stars: ✭ 97 (-36.18%)
Mutual labels:  sbt
Skeleton
Simple Scala project template
Stars: ✭ 100 (-34.21%)
Mutual labels:  sbt
Sbt Jacoco
JaCoCo Code Coverage plug-in for sbt.
Stars: ✭ 115 (-24.34%)
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
Sbt S3 Resolver
☁️Amazon S3-based resolver for sbt
Stars: ✭ 112 (-26.32%)
Mutual labels:  sbt
Gatling Sbt Plugin Demo
Showcase of the Gatling Plugin for SBT
Stars: ✭ 137 (-9.87%)
Mutual labels:  sbt
Sbt Multi Project Example
sbt multi-project example
Stars: ✭ 124 (-18.42%)
Mutual labels:  sbt
Scalafx Ensemble
scalafx ensemble
Stars: ✭ 116 (-23.68%)
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:

Maven javadoc

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'

Running tests: CI:

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.

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].