mikepenz / AboutLibraries

AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments
http://mikepenz.github.io/AboutLibraries/
Apache License 2.0
3.62k stars 419 forks source link

Add support for js in compose module #937

Closed DRSchlaubi closed 8 months ago

mikepenz commented 8 months ago

Thank you very much for the PR.

We already have an experimental wasm based build available, which you can find here: https://github.com/mikepenz/AboutLibraries/releases/tag/v10.9.2-wasm1

mikepenz commented 8 months ago

With wasm now being available in more dependencies. wasm support was merged: https://github.com/mikepenz/AboutLibraries/pull/940

DRSchlaubi commented 8 months ago

I need a JS build however

mikepenz commented 8 months ago

@DRSchlaubi I am not sure how that would work, compose for js target without wasm. can you link me to the documentation explaining this?

The core module already has a js target which allows you to build any visualisation you would like: https://github.com/mikepenz/AboutLibraries/blob/develop/aboutlibraries-core/build.gradle.kts#L118

DRSchlaubi commented 8 months ago

It works exactly how I prred it, you just add the js target and add the canvas flag

could not find any specific documentation, except for the wasm sample

mikepenz commented 8 months ago

Merged into dev (did a rebase for clean history, thus the auto close didn't function) https://github.com/mikepenz/AboutLibraries/commit/77469d905d690ebe7e9df6a4f0f932f162fff90a

mikepenz commented 8 months ago

In the process now to release 10.10.0-rc02

mikepenz commented 8 months ago

looks sonatype has some issues at this time: https://github.com/mikepenz/AboutLibraries/actions/runs/7252679539/job/19757656507#step:11:155