@betterstart/cli 0.1.66 → 0.1.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -15681,7 +15681,7 @@ function getAllComponentNames() {
|
|
|
15681
15681
|
const templateKeys = Object.keys(TEMPLATE_REGISTRY);
|
|
15682
15682
|
return [.../* @__PURE__ */ new Set([...staticUi, ...templateKeys, "tiptap"])].sort();
|
|
15683
15683
|
}
|
|
15684
|
-
var updateComponentCommand = new Command7("update-component").description("Update
|
|
15684
|
+
var updateComponentCommand = new Command7("update").alias("update-component").description("Update CMS components from the latest CLI templates").argument("[components...]", "Component names to update (e.g., media-upload-field button)").option("--list", "List all available components").option("--all", "Update all components").option("--cwd <path>", "Project root path").action(async (components, options) => {
|
|
15685
15685
|
const cwd = options.cwd ? path49.resolve(options.cwd) : process.cwd();
|
|
15686
15686
|
if (options.list) {
|
|
15687
15687
|
const all = getAllComponentNames();
|