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
- "app/**",
76
- // TanStack Start entry files and routes
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("app/routes/")) continue;
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-B4VHLFHH.js").then((m) => m.default),
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 }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-forge-cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "TypeScript stack scaffolding & enforcement CLI for TanStack Start + Convex",
5
5
  "type": "module",
6
6
  "license": "MIT",