@fiberfx/mercury
v0.1.1
Published
Mercury: the mx toolchain with the Mercury modules in its cache, so `mx new <name>` starts an app with no network.
Readme
@fiberfx/mercury
Mercury's toolchain, mx, with the Mercury modules already in its cache, so a new app starts with no network:
npm install -g @fiberfx/mercury
mx new hello
cd hello && mx devmx new <name> writes a small app (an index.html, src/main.tsx on @fiberfx/hyperscript and @fiberfx/ui,
mx.mod and mx.sum) and installs it from the module cache. mx dev serves it with hot reload.
Installing the package runs mx mod cache once, filling ~/.mercury/modules (%LOCALAPPDATA%\Mercury\modules on
Windows, or MXCACHE) with the latest Mercury modules from mx.jonnify.com. Package managers
that skip install scripts (pnpm and bun by default) fill it the first time mx new runs. Running mx mod cache
again fetches only what changed.
The mx command is @fiberfx/mx's launcher: it runs the native mx for
your platform and keeps it current from mx.jonnify.com (set MX_NO_UPDATE=1 to stop that). Without Node:
curl -fsSL https://mx.jonnify.com/install | bash # macOS, Linuxirm https://mx.jonnify.com/install.ps1 | iex # WindowsDocumentation: mercury.jonnify.com.
