Skip to content
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

support wasmJS target #376

Open
wants to merge 2 commits into
base: main-3.3.0-alpha02
Choose a base branch
from

Conversation

ahna92
Copy link

@ahna92 ahna92 commented Dec 25, 2024

Closes

#232

Changes

  • add wasmJs support
  • I had to change jvm toolchain to 17 for local development and publish, if pipeline can pass with 11 only I can try downgrade back (ladybug comes with java 21)

Snapshot

Can check published version 3.3.0-alpha02-0.6.0-wasm.1

make sure to add maven repo

// settings.build.kts
maven {
    url = uri("https://maven.pkg.github.com/edna-aa/sqldelight")
    credentials {
        username = "<username>"
        password = "<pat-with-read-packages>"
    }
    // Restrict this repository to specific versions containing "-wasm"
    content {
        includeGroup("app.cash.sqldelight") // Restrict to the group
        includeGroup("app.cash.paging") // Restrict to the group
        includeVersionByRegex("app.cash.sqldelight", ".*", ".*-wasm.*") // Match any artifact in the group with versions containing "-wasm"
        includeVersionByRegex("app.cash.paging", ".*", ".*-wasm.*") // Match any artifact in the group with versions containing "-wasm"
    }
}

Tested on a personal project working fine so far

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant