Skip to main content

Crate superui_cli

Crate superui_cli 

Source

Structs§

ProjectedModule
One editor-types module projected by cargo superui install.

Constants§

GITIGNORE_ENTRY
The .gitignore line that hides the derived module tree.
SUPERSOLID_PATH_MARKER
Marker substring identifying the projected supersolid module in a tsconfig.
TSCONFIG_TEMPLATE
tsconfig written verbatim when an app dir has none. Makes import ... from "supersolid" resolve to the projected module.

Functions§

find_module_dts
Given cargo metadata JSON, locate package and return the path to filename bundled alongside its Cargo.toml.
find_supersolid_dts
Locate the supersolid package’s bundled supersolid.d.ts.
gitignore_needs_entry
True if .gitignore source lacks a line ignoring the module tree. A bare superui_modules (no trailing slash) counts as present — git matches the directory either way.
projected_modules
The modules cargo superui install projects, in order. supersolid is the primary (required) module; superui/test types are optional.
tsconfig_has_path
True if the tsconfig source already contains a paths marker substring. Substring check (not a JSONC parse) — sufficient because markers are unique.
tsconfig_has_supersolid_path
True if the tsconfig maps the supersolid module (back-compat wrapper).