Thanks - Waddler is great. I've been using it ([email protected]) with a postgresql project (using [email protected]), which uses pglite (@electric-sql/[email protected]) for testing, under node 23.6.0 and npm 10.9.2.
Use case
To inspect the database under test, and for prototyping I've been using "@electric-sql/pglite-socket. This allows me to run the usual psql client program to connect to the PgLite database.
Problem
The problem is that it will not install with the peer dependency the above version of Waddler has on @electric-sql/pglite. I think the version of pglite set as a peer dependency of Waddler is too old (^0.2.17), the pglite-socket module v0.0.16 needs v0.3.11.
Workarounds
The only way I got psql to work at all is to install pglite-socket in a separate subfolder with its own package.json, and run the pglite-server script from there.