@rdna/create
v0.2.0
Published
Create RDNA package install plans and starter import surfaces
Readme
@rdna/create
RDNA app setup helper. It exposes importable install/scaffold plan APIs and the
rdna-create CLI.
import { createRdnaInstallPlan, createRdnaProjectPlan } from "@rdna/create";
const plan = createRdnaInstallPlan();
const projectPlan = createRdnaProjectPlan({
projectName: "my-rdna-app",
template: "iframe",
});The CLI is non-destructive. It prints the install command by default and can
print the full scaffold plan with rdna-create --json.
rdna-create --template iframe --project-name my-rdna-app --json
rdna-create --template rados --project-name my-rados-app --jsonWriting is explicit and requires an empty output directory:
rdna-create --template iframe --project-name my-rdna-app --out-dir ./my-rdna-app --writeTemplates:
iframecreates a standalone Next app shell with Radiants CSS/theme imports, Ctrl and Pixel starter surfaces, mock profile context, app descriptor, and an iframe bridge helper.radosincludes the same app shell plus a candidate RadOS descriptor packet inrados-migration/. It does not mutate the standalone RadOS catalog athttps://github.com/Radiants-DAO/RadOS.
