@deneb-ui/cli

中文文档
2.0.131发布于 2026/11/09MIT构建来源已验证近 30 天下载 2254

Official DENEB CLI — scaffold, convert, validate, and package Fivora-ready storefront templates.

原始使用文档
文档目录6 节
  1. Quick start
  2. Editable icons in Local Lab
  3. Commands
  4. Local preview before upload
  5. What deneb init does (ARC)
  6. Authors

DENEB CLI

npm version npm downloads Node.js MIT License

Scaffold, convert, validate, and ship Fivora-ready storefront templates.

CLI Reference · Installation · GitHub


Quick start

# Convert an existing Next.js app (Deneb ARC — default engine)
npx @deneb-ui/cli init

# Preview the transformation plan without writing files
npx @deneb-ui/cli init --explain

# Validate Fivora contract compliance
npx @deneb-ui/cli validate .

# Package a clean upload ZIP
npx @deneb-ui/cli validate --zip

Install as a dev dependency:

npm install -D @deneb-ui/cli
# Command: deneb

Editable icons in Local Lab

Bridge v54 also recognizes style-only card targets and sends their styleType without treating container contents as editable text. Padding/margin values of zero and container gap are supported by the live style updater.

Bridge v53 preserves control in element-click messages. Icon targets also send iconType and iconName from the existing EditableIcon attributes. An icon name is still stored as schema type text; the parent editor must use control: 'icon-picker' to select its existing icon picker rather than its text editor. That parent UI is maintained in the Fivora developer-panel repository. This bridge metadata does not implement or replace the parent picker UI.

Preview bridge v52 recognizes EditableIcon SVG targets, including clicks on their child paths. Icon updates are rendered through the site-data provider; the generic text updater must not replace SVG children with the icon name. Restart an existing Lab process and refresh its preview after upgrading the bridge. Verify icon selection, saving, and reloading in the connected editor.

Commands

CommandDescription
deneb initRun Deneb ARC — AST conversion of React/Next.js apps into Fivora-editable templates
deneb init --legacyUse the legacy regex converter instead of ARC
deneb init --dry-runSimulate conversion; print field paths without writing
deneb init --explainShow transformation plan with confidence scores
deneb validatePreflight manifest + visual editing contract checks
deneb zipCreate upload-ready fivora-template.zip
deneb doctorEnvironment, dependency, and export diagnostics
deneb add <component>Copy DENEB UI components into your project
deneb labLaunch the local visual editor, preview changes, and save them to the declared siteDataFile
deneb updateUpdate @deneb-ui/* packages and synced components

Full reference: deneb.fivora.site/docs/cli

Local preview before upload

Run deneb lab . in a template project, then paste the printed controller URL and token into Developer Portal → Local Test Lab. Content and style edits are applied to the preview immediately. Use Save local to persist the current editor state to the siteDataFile declared in fivora-template.json; the write stays on your machine and no template files are uploaded. Run Test after saving to perform the same local preflight checks used before packaging.


What deneb init does (ARC)

  1. Scans your Next.js project — routes, dependencies, reachable pages
  2. Analyzes JSX for editable text, images, URLs, collections, CTAs
  3. Transforms source via AST — injects preview markers and site-data bindings
  4. Generates fivora-template.json + site-data.json with strict self-validation
  5. Backs up changed files to .deneb-backup-* for safe rollback

Authors

Created and maintained by Chamika Gayashan and Induranga Kawishwara.

MIT © DENEB UI

版本与发布记录

@deneb-ui/cli 共发布 131 个版本,首次发布于 2026/09/07;过去 12 个月发布了 131 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
2.0.131latest2026/11/094 天前
2.0.1302026/10/2618 天前
2.0.1292026/10/2321 天前
2.0.1282026/10/2123 天前
2.0.1272026/10/2123 天前
2.0.1262026/10/2123 天前

关于 @deneb-ui/cli 的常见问题

@deneb-ui/cli 是什么?

Official DENEB CLI — scaffold, convert, validate, and package Fivora-ready storefront templates.

如何安装 @deneb-ui/cli?

在项目目录运行 npm install @deneb-ui/cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 deneb、denebui、deneb-cli,可以用 npx deneb 直接运行。

@deneb-ui/cli 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/deneb-ui__cli 是否存在。

@deneb-ui/cli 可以商用吗?

@deneb-ui/cli 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@deneb-ui/cli 的下载量有多少?

根据 npm 官方下载统计,@deneb-ui/cli 在 2026/10/12 – 2026/11/10 这 30 天内被下载 2,254 次,日均约 75 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@deneb-ui/cli 还在维护吗?

最新版本 2.0.131 发布于 2026/11/09(4 天前);至今共发布 131 个版本,其中过去 12 个月发布了 131 个;首次发布于 2026/09/07。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。