Skip to content

feat: js bindings #240

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

Merged
merged 29 commits into from
Mar 17, 2025
Merged

feat: js bindings #240

merged 29 commits into from
Mar 17, 2025

Conversation

psteinroe
Copy link
Collaborator

@psteinroe psteinroe commented Mar 14, 2025

wasm won't work easily because of the db connection… instead, I added the js bindings. the bindings implement a transport and provide a client for our workspace api server.

had to adapt generate-packages to also update the mangiest for the backend-jsonrpc package.

we still need to integrate into the publish workflow (or is it already?)

added bun as package manager, test runner and to build the package.

added biome to format and lint our ts code.

we should add a nix dev shell at some point with all these tools 🥲

@psteinroe psteinroe changed the title feat: wasm attempt 2 feat: js bindings Mar 15, 2025
@psteinroe psteinroe marked this pull request as ready for review March 15, 2025 17:25
Copy link
Collaborator

@juleswritescode juleswritescode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice nice nice

* chore: add our own text-size

* fix: test

* chore: cleanup feature gates

* chore: cleanup remaining feature gates

* refactor: migrate to json config

* fix: lint

* feat: add schema field

* migrate to jsonc config

* fix: run docs codegen

* Update configuration.rs

Co-authored-by: Julian Domke <[email protected]>

* add unit tests

* fix: replace_secion

---------

Co-authored-by: Julian Domke <[email protected]>
@psteinroe psteinroe changed the base branch from refactor/json to main March 17, 2025 10:55
@psteinroe psteinroe merged commit 7266ef8 into main Mar 17, 2025
7 checks passed
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.

2 participants