Skip to content

feat: js bindings#240

Merged
psteinroe merged 29 commits intomainfrom
feat/wasm-try-2
Mar 17, 2025
Merged

feat: js bindings#240
psteinroe merged 29 commits intomainfrom
feat/wasm-try-2

Conversation

@psteinroe
Copy link
Copy Markdown
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
psteinroe and others added 6 commits March 15, 2025 18:28
Co-authored-by: Julian Domke <68325451+juleswritescode@users.noreply.github.com>
Comment thread docs/index.md Outdated
Comment thread justfile Outdated
Comment thread justfile
Comment thread packages/@pglt/pglt/bin/pglt
Comment thread packages/@pglt/backend-jsonrpc/package.json Outdated
Comment thread packages/@pglt/backend-jsonrpc/src/command.ts Outdated
Comment thread packages/@pglt/backend-jsonrpc/src/socket.ts Outdated
Comment thread packages/@pglt/backend-jsonrpc/src/socket.ts Outdated
Comment thread packages/@pglt/backend-jsonrpc/src/workspace.ts
Copy link
Copy Markdown
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 <68325451+juleswritescode@users.noreply.github.com>

* add unit tests

* fix: replace_secion

---------

Co-authored-by: Julian Domke <68325451+juleswritescode@users.noreply.github.com>
@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
@juleswritescode juleswritescode deleted the feat/wasm-try-2 branch October 28, 2025 15:25
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