Code Monkey home page Code Monkey logo

Comments (4)

thewoolleyman avatar thewoolleyman commented on September 27, 2024

Hi @hsyed ,

Just checking in. I made an attempt to just hack this to work by creating a kt_js_library rule, and just define a parallel execution/provider path for js files.

However, with my limited knowledge of Bazel I got stuck on what to do with the KotlinBuilder class and toolchain, which is currently JVM-specific.

Would love to see this working, but I don't know enough about Bazel yet to proceed any further without significant guidance/direction.

So, putting this on the back burner for now and going back to Gradle to build my kotlin/js 😔

Thanks,
-- Chad

from rules_kotlin.

thewoolleyman avatar thewoolleyman commented on September 27, 2024

@hsyed

One main thing that I realized is that in the JS ecosystem, there has to be some core concepts of managing dependencies via npm/yarn, and output bundles.

Other rules libraries implement this in various ways, for example https://github.com/bazelbuild/rules_nodejs or https://github.com/bazelbuild/rules_typescript.

Some of these also implement other features we may or may not want, e.g. building for dev mode, and running local servers (e.g. express).

My main question is: for the core stuff, dependencies and bundles, would we need to reimplement a lot of it, or would it be possible to "compose" or reuse with some of these other sets of rules like the nodejs ones.

If you want make some time to discuss this and give me more context on some of the ideas you outlined and more direction on what to hack on, I'd be happy to. My contact info is on my profile, and I'll include my email here.

Thanks!
-- Chad
[email protected]

from rules_kotlin.

alexeagle avatar alexeagle commented on September 27, 2024

See my last comment in #114 - basically we need a right-shaped JS provider that TypeScript and Kotlin rules both output, then you should have no other work to fit into the JS runtime ecosystem.

from rules_kotlin.

cgruber avatar cgruber commented on September 27, 2024

this is obsolete at this point. We generally need to update overview documentation.

from rules_kotlin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.