org.scalablytyped, coursier and polyglot projects
org.scalablytyped, coursier and polyglot projects With a variety of scala compilation targets these days, there is a growing appreciation that CLI tools are an important part of the toolbelt allowing you to integrate scala into polyglot project–projects with more than one programming language. For example, scalablytyped recently introduced an experimental CLI and a new feature to compile typescript types in the same project. For some projects I have in mind, this is an important feature. Here’s a real server project: nodejs app server, say using apollo server for graphql typescript, because there are some parts you may have already coded in typescript, such as data access objects and server startup scala.js, so you can leverage scala and scala based programming approaches You need interop. If your data access objects are written in typescript but need to use them in scala.js, you will have to write interfaces. Writing interfaces is error prone and time cons...