Skip to content

v0.1.34

Choose a tag to compare

@reggie-db reggie-db released this 10 Jun 20:56
· 7 commits to main since this release

The diff stat shows a package rename and a new create-app.ts. Let me inspect the new file and the demo wiring to describe behavior.Let me confirm the release.ts and tag.ts script changes warrant an entry.The release.ts rework changed publish mechanics (staging dir .publish, default/enforced manifest templates, Verdaccio integration). The commit log is empty so I'll rely on the diff. The headline is the package rename and new createApp wrapper.

Features

  • @dbx-tools/appkit-config ships a createApp wrapper. A drop-in replacement for AppKit's createApp that runs capability auto-config before delegating to the real one, preserving the exact signature and per-plugin export inference. Lakebase Postgres env resolution (autopg) now fires automatically whenever a lakebase plugin is present, so apps no longer call autopg() by hand. Each step is self-gating, so apps pay nothing for capabilities they don't use.

Internals

  • Renamed @dbx-tools/appkit-autopg to @dbx-tools/appkit-config. The package is now scoped to grow beyond Postgres: future capability auto-config slots in behind its own signal in createApp. The address module moves to pgaddress.ts and its test follows. autopg() remains a callable standalone export for resolution without the wrapper.
  • Demo wiring uses the new wrapper. demo/server/server.ts imports createApp from @dbx-tools/appkit-config and drops the manual top-level autopg() call; lakebase() presence drives resolution.
  • Reworked scripts/release.ts publish flow. Publishing now stages each package into a gitignored .publish/ dir and runs from there, keeping the working tree clean instead of mutating source manifests. Publishable manifest shape is composed from root package.default.json (fills gaps) and package.enforced.json (forces org-wide constants), with workspace:* / catalog: specifiers pre-resolved. Uploads use npm publish so the README lands in the registry manifest. tag.ts now also lands freshly-tagged versions on a local Verdaccio registry.