scala2ts / scala2ts-sbt

The SBT Plugin for Scala2TS
MIT License
3 stars 1 forks source link

Support publishing to NPM #2

Open halfmatthalfcat opened 4 years ago

halfmatthalfcat commented 4 years ago

To better support publish workflows, it'd be nice to create a task to publish to the npm registry defined in the outputted package.json. I started work on the npm-publish branch, but it's a mess of SbtWeb, SbtJsEngine and other craziness to get it to work.

For now, I'm going to simply npm link for local development and, in a CI/CD context, just move the compiled codebase into an npm container and cd+npm publish from within target/typescript directly.