ai-forge-cli 0.3.2 → 0.3.3
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.
|
@@ -72,8 +72,11 @@ var componentLocationValidator = {
|
|
|
72
72
|
"node_modules/**",
|
|
73
73
|
"dist/**",
|
|
74
74
|
".vinxi/**",
|
|
75
|
-
"
|
|
76
|
-
|
|
75
|
+
".output/**",
|
|
76
|
+
"src/routes/**",
|
|
77
|
+
// Route files (allowed JSX)
|
|
78
|
+
"src/router.tsx",
|
|
79
|
+
// Router config
|
|
77
80
|
"src/features/*/components/**",
|
|
78
81
|
// Valid location
|
|
79
82
|
"src/components/**",
|
|
@@ -115,7 +118,7 @@ var hookLocationValidator = {
|
|
|
115
118
|
]
|
|
116
119
|
});
|
|
117
120
|
for (const file of potentialHookFiles) {
|
|
118
|
-
if (file.startsWith("
|
|
121
|
+
if (file.startsWith("src/routes/")) continue;
|
|
119
122
|
errors.push({
|
|
120
123
|
file,
|
|
121
124
|
message: "Hook file outside valid location (should be in src/features/*/hooks.ts or src/hooks/)"
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ var main = defineCommand({
|
|
|
21
21
|
subCommands: {
|
|
22
22
|
init: () => import("./init-OYJP5QCZ.js").then((m) => m.default),
|
|
23
23
|
"add:feature": () => import("./add-feature-MU65GMUK.js").then((m) => m.default),
|
|
24
|
-
check: () => import("./check-
|
|
24
|
+
check: () => import("./check-7FR4TAME.js").then((m) => m.default),
|
|
25
25
|
version: () => import("./version-VO3LHLDO.js").then((m) => m.default)
|
|
26
26
|
},
|
|
27
27
|
run({ args }) {
|