- TypeScript 54%
- Rust 21%
- CSS 13%
- Astro 12%
ui #
jfalava's shared UI: a Bun workspace of npm packages and a Cargo workspace of Rust crates.
| Package | Folder | What it is |
|---|---|---|
@jfalava/ui-astro |
astro/ |
Nimbus docs components for Astro sites, themed with the brand |
@jfalava/ui-brand |
brand/ |
The brand in plain CSS with no dependencies, plus an optional Tailwind v4 theme |
@jfalava/ui-effect-cli |
effect-cli/ |
Terminal UI for Effect CLIs: styles and glyphs, OSC 7501 status, progress, prompts |
@jfalava/ui-effect-ui |
effect-ui/ |
Web UI for Effect UI apps: Omnibar search, Vellum and Folio writers, Hotkeys |
@jfalava/ui-og |
og/ |
Share cards (OG images) for any site or framework, drawn with Satori and resvg |
jfalava-ui-clap (crates.io) |
clap/ |
Terminal UI for clap CLIs: ui-effect-cli's glyphs and lines, OSC 7501, a live row |
jfalava-ui-rune (git) |
rune/ |
The brand for Rune apps: a rune-kit theme, its fonts, and an update badge and callouts |
Scripts #
bun run check is the read-only gate; bun run fix is the only command that rewrites files. Both
run every package's script of the same name, then the repo-wide format and standard checks. The
crates have their own gate, run through cargo gc: cargo gc fmt --all --check,
cargo gc clippy --all-targets --all-features -- -D warnings and cargo gc test --all-features.
rune/ is a Cargo workspace of its own, built on macOS: run cargo fmt --check,
cargo clippy --all-targets -- -D warnings and cargo test there, and its README says how to
render the gallery.
Releases #
Each package and crate has its own version. To release one, bump the version in its
package.json or Cargo.toml and push to main: release.yml publishes, with npm and crates.io
trusted publishing, each package or crate whose version is not on its registry yet. A first
version is published by hand, since both registries only attach a trusted publisher to a package
that exists.
A package that depends on another one here declares it as workspace:^, which is published as a
caret range (^0.4.1), so a site that uses several of them installs one copy of the shared one.
On 0.x that range covers patch releases only; a new minor of the shared package needs a release
of each package that depends on it. Third-party dependencies are pinned exactly.