GithubHelp home page GithubHelp logo

Comments (7)

hfhbd avatar hfhbd commented on September 21, 2024 2

Please make it clear in the Readme. Kotlin does support other targets than the JVM and it would be nice, if others targets could benefit from a binary validator plugin too, although without a built in notation this would be a challenge, I know...

from binary-compatibility-validator.

amal avatar amal commented on September 21, 2024 2

I’ve created a Gradle plugin that adds support for JS APIs to the KotlinX Binary Compatibility Validator.
Originally made for the Fluxo state management framework, now released for general use.

  • Uses generated TypeScript definitions to do so.
  • Can be used with any Gradle module with Kotlin/JS target. Either multiplatform or Kotlin/JS.
  • Will be supported until the official Kotlin/JS support is added to BCV itself.

Compatibility tested with:

BCV  Kotlin  Gradle
0.8 — 0.13  1.6.20+  7.4+

See how to use with the JitPack here:
https://github.com/fluxo-kt/fluxo-bcv-js#readme
Publication on Gradle Plugin Portal is in progress.

Please try to use the plugin. I’d appreciate any feedback.

from binary-compatibility-validator.

cortinico avatar cortinico commented on September 21, 2024

To add to this, I believe that's the same for native() targets

from binary-compatibility-validator.

qwwdfsad avatar qwwdfsad commented on September 21, 2024

Binary-compatibility-validator is intended to be used only with JVM targets.

There is no public notion of "binary compatibility" in either JS or K/N, so they are not supported

from binary-compatibility-validator.

qwwdfsad avatar qwwdfsad commented on September 21, 2024

Good point, I will update the readme

from binary-compatibility-validator.

amal avatar amal commented on September 21, 2024

@qwwdfsad Nowadays TS declarations can work as a good public ABI for JS.

Already generated in some setups, maybe you can consider supporting it in the binary-compatibility-validator?

from binary-compatibility-validator.

qwwdfsad avatar qwwdfsad commented on September 21, 2024

JS is completely of our focus now, we are working on K2 release and stabilization of KMM, so unfortunately I'm neither ready to accept a contribution for that nor to even do my due diligence and see if that's a reasonable addition for the future

from binary-compatibility-validator.

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.