@convex-localfirst/cli
v0.1.1
Published
CLI for convex-localfirst: codegen (client manifest from lf.table), check (catch direct LF-table writes), dev.
Readme
@convex-localfirst/cli
Command-line tooling for convex-localfirst:
codegen— derive the client manifest from yourlf.tableDSL.check— statically catch directctx.db.insert/replacewrites to local-first tables (a security guard; these must go through the generated wrappers).dev— run the codegen + check pipeline.
npm install -D @convex-localfirst/cli
# run under a TS loader so it can read your TypeScript Convex modules:
node --import tsx node_modules/@convex-localfirst/cli/dist/index.js codegenPeer dependency: typescript. MIT
