ai-forge-cli 0.4.6 → 0.4.7
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/{add-component-AQPCXQ4O.js → add-component-B3O3RZWD.js} +1 -1
- package/dist/{add-feature-VEY62Y5M.js → add-feature-TYLPV3DB.js} +1 -1
- package/dist/{add-hook-OE4BKE6B.js → add-hook-VJC6P6AP.js} +1 -1
- package/dist/{add-integration-NJ56UXSY.js → add-integration-ESA7JFY7.js} +1 -1
- package/dist/{add-layout-2KQPPTJX.js → add-layout-IVTJUG6G.js} +1 -1
- package/dist/{add-page-GIC2ZXJI.js → add-page-G75JUU77.js} +1 -1
- package/dist/{add-util-T5JXAV4G.js → add-util-V5SQRVJC.js} +1 -1
- package/dist/index.js +7 -7
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ import { join } from "path";
|
|
|
17
17
|
var add_component_default = defineCommand({
|
|
18
18
|
meta: {
|
|
19
19
|
name: "add:component",
|
|
20
|
-
description: "Create a
|
|
20
|
+
description: "Create a React component. Creates: <target>/<Name>.tsx, updates index.ts. Default: src/components/ui/. Use --feature, --page, or --layout to target specific folders."
|
|
21
21
|
},
|
|
22
22
|
args: {
|
|
23
23
|
name: {
|
|
@@ -24,7 +24,7 @@ import { join } from "path";
|
|
|
24
24
|
var add_feature_default = defineCommand({
|
|
25
25
|
meta: {
|
|
26
26
|
name: "add:feature",
|
|
27
|
-
description: "Create a
|
|
27
|
+
description: "Create a full-stack feature. Creates: convex/features/<name>/ (schema, queries, mutations), src/features/<name>/ (hooks, components), src/routes/<name>/ (index, $id). Use for data-driven features with backend."
|
|
28
28
|
},
|
|
29
29
|
args: {
|
|
30
30
|
name: {
|
|
@@ -17,7 +17,7 @@ import { join } from "path";
|
|
|
17
17
|
var add_hook_default = defineCommand({
|
|
18
18
|
meta: {
|
|
19
19
|
name: "add:hook",
|
|
20
|
-
description: "Create a
|
|
20
|
+
description: "Create a React hook. Without --feature: creates src/hooks/<useName>.ts. With --feature: appends to src/features/<name>/hooks.ts. Auto-prefixes 'use' if needed."
|
|
21
21
|
},
|
|
22
22
|
args: {
|
|
23
23
|
name: {
|
|
@@ -34,7 +34,7 @@ function runCommand(cmd, args, cwd) {
|
|
|
34
34
|
var add_integration_default = defineCommand({
|
|
35
35
|
meta: {
|
|
36
36
|
name: "add:integration",
|
|
37
|
-
description: "Add
|
|
37
|
+
description: "Add infrastructure. auth: creates convex/auth.ts, src/components/auth/ (LoginForm, SignupForm, AuthGuard, UserMenu), routes. storage: creates convex/lib/storage.ts, src/components/storage/ (FileUpload, FilePreview)."
|
|
38
38
|
},
|
|
39
39
|
args: {
|
|
40
40
|
name: {
|
|
@@ -20,7 +20,7 @@ var LAYOUT_PRESETS = ["dashboard", "auth", "marketing"];
|
|
|
20
20
|
var add_layout_default = defineCommand({
|
|
21
21
|
meta: {
|
|
22
22
|
name: "add:layout",
|
|
23
|
-
description: "Create a layout
|
|
23
|
+
description: "Create a layout wrapper for grouped routes. Creates: src/routes/<name>/_layout.tsx, index.tsx. Dashboard preset adds Sidebar/Header in src/components/layout/. Use for shared navigation."
|
|
24
24
|
},
|
|
25
25
|
args: {
|
|
26
26
|
name: {
|
|
@@ -17,7 +17,7 @@ import { join } from "path";
|
|
|
17
17
|
var add_page_default = defineCommand({
|
|
18
18
|
meta: {
|
|
19
19
|
name: "add:page",
|
|
20
|
-
description: "Create a
|
|
20
|
+
description: "Create a standalone page without backend. Creates: src/routes/<name>.tsx, src/components/<name>/<Name>Content.tsx. Use for static pages like about, pricing, settings."
|
|
21
21
|
},
|
|
22
22
|
args: {
|
|
23
23
|
name: {
|
|
@@ -17,7 +17,7 @@ import { join } from "path";
|
|
|
17
17
|
var add_util_default = defineCommand({
|
|
18
18
|
meta: {
|
|
19
19
|
name: "add:util",
|
|
20
|
-
description: "Create a
|
|
20
|
+
description: "Create a utility function. Creates: src/lib/<name>.ts, updates src/lib/index.ts. Use for shared helpers like formatDate, cn, validators."
|
|
21
21
|
},
|
|
22
22
|
args: {
|
|
23
23
|
name: {
|
package/dist/index.js
CHANGED
|
@@ -20,13 +20,13 @@ var main = defineCommand({
|
|
|
20
20
|
},
|
|
21
21
|
subCommands: {
|
|
22
22
|
init: () => import("./init-C4FFZDSP.js").then((m) => m.default),
|
|
23
|
-
"add:feature": () => import("./add-feature-
|
|
24
|
-
"add:integration": () => import("./add-integration-
|
|
25
|
-
"add:page": () => import("./add-page-
|
|
26
|
-
"add:layout": () => import("./add-layout-
|
|
27
|
-
"add:component": () => import("./add-component-
|
|
28
|
-
"add:hook": () => import("./add-hook-
|
|
29
|
-
"add:util": () => import("./add-util-
|
|
23
|
+
"add:feature": () => import("./add-feature-TYLPV3DB.js").then((m) => m.default),
|
|
24
|
+
"add:integration": () => import("./add-integration-ESA7JFY7.js").then((m) => m.default),
|
|
25
|
+
"add:page": () => import("./add-page-G75JUU77.js").then((m) => m.default),
|
|
26
|
+
"add:layout": () => import("./add-layout-IVTJUG6G.js").then((m) => m.default),
|
|
27
|
+
"add:component": () => import("./add-component-B3O3RZWD.js").then((m) => m.default),
|
|
28
|
+
"add:hook": () => import("./add-hook-VJC6P6AP.js").then((m) => m.default),
|
|
29
|
+
"add:util": () => import("./add-util-V5SQRVJC.js").then((m) => m.default),
|
|
30
30
|
check: () => import("./check-YMGJNKME.js").then((m) => m.default),
|
|
31
31
|
version: () => import("./version-VO3LHLDO.js").then((m) => m.default)
|
|
32
32
|
},
|