observablehq / database-proxy

A proxy to connect Observable notebooks to databases on private networks
https://observablehq.com/@observablehq/self-hosted-database-proxies
ISC License
51 stars 21 forks source link

Add standalone option #85

Closed wiltsecarpenter closed 1 year ago

wiltsecarpenter commented 1 year ago

This PR adds a --standalone option to the add and reset commands. The standalone option bypasses the Observable settings UI for generating the database proxy secret value. Instead, the secret is generated by the observable-database-proxy command and echoed to the console so it can be copied to standalone tools.

This PR also fixes an issue with the reset option when used with databricks or Oracle and updates the ES lint configuration to match current usage.