remix_cli 1.0.0-beta.2
remix_cli: ^1.0.0-beta.2 copied to clipboard
Install editable Remix design-system source into Flutter applications.
1.0.0-beta.2 #
Features #
- Add
remix skills installto copy agent skills from the project's pinned registry revision, record file digests inremix.skills.json, and maintain the project instruction block. Preserve unrelated files and refuse to overwrite locally modified skill files. - Add
remix list, command-specific help, and plain-language errors for discovering and installing registry components.
1.0.0-beta.1 #
Features #
- Read
icons.yamlschemas 1 and 2. Schema 2 permits renamed default glyphs and explicit per-icon fallbacks, with imports and dependencies for the libraries actually used. Existing schema 1 registries remain supported.
Fixes #
- Preserve CRLF line endings and import ordering when a template renders icons from multiple libraries.
- Name the required dependency constraint and migration guidance when a project's existing constraint excludes the registry's requirement.
- Reserve authored and generated target ownership across installs, rejecting conflicting registries before dependency or source mutation in every mode.
- Preserve same-owner edits and disjoint registry additions. Add explicit
--adoptmigration for verified legacy source without ownership metadata; commitremix.ownership.jsonalongside configuration and source.
1.0.0-beta.0 #
First 1.0 pre-release. Stable 0.1.0 stays published; this beta is opt-in,
the same way Remix publishes 1.0.0-beta.
Fixes #
- Make fewer GitHub API requests: a full commit SHA needs none, and a branch or tag needs one instead of two.
0.1.0 #
Initial release of remix_cli: a command-line tool that installs editable Remix
design-system source into Flutter applications. Requires Flutter 3.44 (Dart 3.12)
or later.
Projects and registries #
remix initwrites a schema 3remix.yamlconfiguration file. The file sets the component prefix, preset (vanillaby default, orfortal), UI path, and pins the official@remixregistry to aregistry-stablecommit.- Repeating
remix initwith matching options is safe. The command rejects conflicting configurations without modifying existing files. remix registry addadds an external GitHub registry.remix registry updateadvances a pinned registry to its latest commit.- The CLI resolves all registries in a single dependency graph before writing files. It rejects cycles, conflicting target paths, and incompatible package requirements.
- Optional
iconLibrary: remix|lucideselects the icon package for installed components. Registry templates resolve icon placeholders fromicons.yaml. Omitting the key defaults to Remix icons. - The prefixes
RemixandMixare reserved for runtime dependencies.
Installing items #
remix addinstalls requested components and shared dependencies in a single batch. Dependency resolution, code generation, formatting, and analysis each run once per batch.- Unknown or duplicate items cause the command to fail before writing files.
remix addadds missing compatible dependencies topubspec.yamland preserves existing dependency declarations. Misplaced or duplicate entries cause the command to fail before execution, reporting the package name and target section.- Code generation runs only for declared adapters and preserves existing adapters. New dependencies cannot remove previously generated code.
- Enables Mix's spec-styler builder only when installed components require it.
- Inspection and overwrite flags:
--dry-runpreviews planned changes.--diffcompares local component source against pinned registry source.--overwritereplaces authored files for requested items without modifying shared dependencies.
remix addwarns when the resolvedremixversion is newer than the version recorded in the registry snapshot.- Uses the Flutter SDK's Dart executable on Windows.
- Supports explicit, glob, and nested workspace members in monorepos.
Presets #
vanilla: a neutral, shadcn-style theme set in Geist fromremix_ui_fonts, with light and dark themes and a component recipe for every styled Remix surface.fortal: application-owned source derived from Radix Themes 3.3.0, with a prefixed token theme, the full component catalog, and no direct dependency onremix_fortal,mix, ornaked_ui.- Both presets generate
theme,darkTheme, andmodescope parameters that follow the system appearance by default. - Both presets include
app_bar,sidebar,sidebar_layout,toast,dashboard_shell,dashboard_demo, an opt-iniconsseam, an optionalchartcomponent backed bymix_chart, and unstyled Agent items with opt-in<component>_recipestylers. - Generated adapters require Remix
^1.0.0-beta.11.