Umbraco.Community.BellaBoot
1.1.0
dotnet tool install --global Umbraco.Community.BellaBoot --version 1.1.0
dotnet new tool-manifest
dotnet tool install --local Umbraco.Community.BellaBoot --version 1.1.0
#tool dotnet:?package=Umbraco.Community.BellaBoot&version=1.1.0
nuke :add-package Umbraco.Community.BellaBoot --version 1.1.0
Umbraco.Community.BellaBoot
CLI tool for scaffolding and developing Umbraco Bellissima (v14+) packages and full Umbraco site projects.
dotnet tool install -g Umbraco.Community.BellaBoot
To update to the latest version:
dotnet tool update -g Umbraco.Community.BellaBoot
Commands
bellaboot new package <name>
Scaffolds a new package project in the current directory.
Creates <name>.Backend/ (net10.0 NuGet package targeting Umbraco 17/18, with an example backoffice API + OpenAPI document), <name>.Extension/ (Vite + TypeScript with an example section calling that API), <name>.slnx, and AGENTS.md/CLAUDE.md describing the project for AI agents.
Pass --backend-only (-b) for packages with no backoffice UI (integrations, background services, phone-home style packages): the Extension, ui/ folder, npm build hook, and example API are all skipped — you get a lean class library with a composer, an example service, and the appsettings schema, still packing cleanly to NuGet. dev detects the missing Extension and runs dotnet watch alone.
bellaboot new project <name> [version]
Scaffolds a full Umbraco site solution — an agency-style base for client work. The name is normalized to a valid namespace (my-project → My.Project), and the folder My.Project/ gets:
My.Project.slnx+AGENTS.md/CLAUDE.mddescribing the project.My.Project.Umbraco/—dotnet new umbracoin IDEDevelopment mode (production-modeappsettings.json, SourceCodeAuto only in development — commandment-5 compliant), SQLite dev database, unattended install, and uSync pinned to the matching Umbraco major. ModelsBuilder writes toModels/ModelsBuilder/with namespaceMy.Project.Umbraco.Models. A migration plan enforces the UmbraCommandments on first boot: six document-type folders (Pages, Blocks, Compositions, Data, Repositories, Repository Items), an emptysiteRootrepository document type (the only thing allowed at the content root), a published WWW root node, and every data type organized into/Umbraco/<editor>or/Custom/<editor>folders — kept that way by aDataTypeSavednotification handler.My.Project.Frontend/— MVC-first: Tailwind 4 for Razor views (site.cssscans bothViews/**/*.cshtmland the Vue sources) plus Vue 3 for sprinkled interactivity. Everysrc/components/*.ce.vueauto-registers as a native custom element (<myproject-hello-world>) usable directly in Razor views — props via attributes, styles in shadow DOM, no mount scripts.npm run watch/buildoutputsite.css+main.jstowwwroot/dist/.My.Project.BackofficeExtensions/— TypeScript + Vite backoffice entry point with@umbraco-cms/backofficepinned to the CMS major. Outputs toApp_Plugins/my.project.extensions/; logs to the browser console on boot so you can verify the pipeline instantly..mcp.json+ MCPUSER — the Umbraco MCP server (@umbraco-cms/mcp-dev, pinned to the CMS major) configured out of the box. On first boot in Development/Local the site auto-creates an admin API user (MCPUSER) with a committed local-only client secret, so every developer who pulls the repo has working MCP immediately; on any other environment that user is auto-deleted if found..gitleaksignoredocuments why the committed secret is intentional.UMBRACO-RULES.md— the ten project rules (short-form UmbraCommandments), referenced fromAGENTS.md, which also prescribes the ViewComponent-per-block rendering pattern (adapter partial → plain model → ViewComponent) so block markup renders and tests without Umbraco.
bellaboot target [version]
Spins up an Umbraco test instance at Umbraco/<version>/ with uSync installed (the latest uSync release matching the Umbraco major, so an Umbraco 17 instance gets uSync 17.x) and a project reference to the backend. Installs the matching Umbraco.Templates version so an explicit version (e.g. 17.3.5) gives you exactly that release. Accepts Latest, LTS, or an explicit version.
Targeting a prerelease (e.g. 19.0.0-rc)? BellaBoot inspects the Umbraco.Cms package on NuGet for its required .NET version and automatically adds that TargetFramework (plus a matching Umbraco.Cms reference) to your backend, so the project reference just works.
bellaboot dev [version]
The development loop. Starts dotnet watch run on the selected Umbraco instance and vite build --watch on the extension, with vite output pointed directly at that Umbraco's wwwroot/App_Plugins/.
- Shows a filtered event log: listening URL, file changes, rebuild times, errors and warnings — instead of two raw interleaved streams. Raw output is always written to
.bellaboot/logs/, and--verbosestreams it live. - Auto-regenerates the typed API client: after every restart or hot reload the OpenAPI spec is fetched and, if the contract changed, the client in
src/api/is regenerated (--no-generateto disable). - If either process dies, the other is stopped and the last log lines are shown.
--frontend-onlyskips dotnet watch (e.g. when debugging Umbraco in Visual Studio);--openlaunches the backoffice in your browser.
bellaboot generate [version]
Regenerates the typed API client in <name>.Extension/src/api/ from a running instance's OpenAPI spec (/umbraco/swagger/<name>-api-v1/swagger.json) using @hey-api/openapi-ts.
bellaboot nuget [version]
Increments the backend patch version, packs it to nuget/, and spins up a fresh Umbraco instance at Umbraco/<version>-nuget/ with the package installed from the local feed. Re-running against an existing instance just installs the newly packed version — a fast "test as a real package" loop.
bellaboot list (alias: ls)
Lists all Umbraco test instances with their Umbraco.Cms version, type, uSync presence and size on disk.
bellaboot dist-usync [source]
Copies a uSync folder to all other instances — from the named instance, or from the one with the most recently modified uSync files.
bellaboot delete <version> (alias: del)
Removes Umbraco/<version>/ and Umbraco/<version>-nuget/ from disk and strips their entries from the .slnx solution file. Asks for confirmation unless --yes.
Backoffice AI skills
The scaffolded extension project includes npm scripts to install Umbraco backoffice AI skills for your editor of choice:
npm run skills:claude
npm run skills:copilot
npm run skills:cursor
npm run skills:windsurf
Tips
- Add
.bellaboot/to your.gitignore— it holds dev logs and the last-generated swagger hash. - The example section registered by the scaffold only appears after enabling it for your user group (Users → Groups → sections).
- Projects scaffolded before 0.3 keep working with all commands; to opt into the dev-loop improvements, add
Condition="'$(BELLABOOT_DEV)' != 'true'"to theBuildExtensiontarget in your backend csproj and copy thegeneratescript +openapi-ts.config.jssetup from a fresh scaffold.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.