-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JS Support #108
Comments
@hsyed Yes, If you have something working, even minimal, I'd love to try it out. I'm wanting to use it on a greenfield project, so my requirements should be minimal, and I want to be as flexible and bazel-idiomatic as I can (I mainly just REALLY don't want to use gradle or maven, which are the only other real choices for multiplatform kotlin projects). I can open issues (and fix if I can) for anything that doesn't work or I don't understand. So, seems like a great fit. Thanks! |
@thewoolleyman basic js support is available. It's not in master yet. |
@hsyed Thanks! I'll start playing with it when I have time, and use this issue to report any problems I can't get past. |
I'm getting the following error when trying to build or fetch any of the node examples:
I'm probably missing something basic due to unfamiliarity with bazel, but I don't know what. Thanks... Edit: It would be helpful to put just a couple of lines in the js README.md with commands of how to run the examples. |
Are you running the commands from the |
Ah ok, it works from the I was confused because |
@hsyed The example works fine for me (if run from the correct directory). I can build it and run the express app successfully. I will try using it in a separate app when I get time. My only suggestion is to add |
node_modules should not be in the workspace. The example relies on rules nodejs to manage the node dependencies. |
JS support exists at this point, but isn't well-maintained. I'm going to close this, as it is technically present, but we could use help from folks who have an interest in this capability. There's also a larger kotlin multiplatform effort we are starting to think about, and this may be subsumed in that. |
I have javascript compilation working, and support in the builder for it. Libs can depend on other local libs. But currently that is it (can't depend on node modules I think).
I am not a JS developer so I don't know what would and wouldn't be idiomatic. I need a JS developer as a client. I need a real world example app using JS modules, rules_nodes and local local Kotlin libraries being used in concert in the example directory.
@thewoolleyman do you want to be this guy ? I can push the existing work after tidying it up in a separate branch.
The text was updated successfully, but these errors were encountered: