@rulemetric/local
v0.11.0
Published
RuleMetric local-mode runtime: bundled API server, web dashboard, and database migrations for fully local (zero cloud contact) deployments. Installed on demand by `rulemetric local up` — not meant to be used directly.
Readme
@rulemetric/local
The opt-in local-mode runtime for RuleMetric: a bundled API server, the web
dashboard, and the database migrations, packaged so rulemetric local up can
assemble a fully local deployment (all data on your machine, zero cloud
contact).
You do not install this package directly. Install the CLI and run:
pnpm add -g @rulemetric/cli
rulemetric local uplocal up downloads this package at the version matching your CLI, starts a
local Supabase stack (Docker), applies the migrations, and runs the server
from dist/server.mjs.
Contents are build artifacts only:
dist/server.mjs— the RuleMetric API + dashboard server (bundled, minified)dist/web/— the dashboard static bundle (config stamped at serve time)dist/supabase/migrations/— the full ordered migration setdist/supabase/config.toml— local stack configuration templatedist/meta.json— version + build metadata (must match the CLI version)
