Use-case: publishing npm packages #531
Replies: 2 comments 1 reply
-
Hello @armanbilge, thank you for sharing your use case. We have an issue for missing (where I also included
We would like to avoid syncing our releases with other pieces in the Scala ecosystem including Scala.js. Most likely, we will need to use / develop some kind of stable API over scala-js, similar how we integrate with Scala Native. |
Beta Was this translation helpful? Give feedback.
-
Update on this: I just published a new version of http4s-cli against scala-cli 0.1.1. All the updates/changes in scala-cli.js are fantastic and I was able to cleanup my build and remove the hacks. Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
Here's a simple project demonstrating how to setup and publish a Scala.js app to npm using scala-cli.
https://github.com/armanbilge/http4s-cli
https://www.npmjs.com/package/http4s-cli
How scala-cli can better support this use-case:
jsHeader
option to add the#!/usr/bin/env node
to the beginning of the scriptFix #4596: Allow hashbang comments at the beginning of the jsHeader. scala-js/scala-js#4597
using
directivesBeta Was this translation helpful? Give feedback.
All reactions