@soulbatical/tetra-dev-toolkit 1.10.0 → 1.10.2

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.
@@ -78,6 +78,10 @@ export async function run(config, projectRoot) {
78
78
  const files = await glob('**/*.ts', {
79
79
  cwd: projectRoot,
80
80
  ignore: [
81
+ '**/node_modules/**',
82
+ '**/.next/**',
83
+ '**/dist/**',
84
+ '**/build/**',
81
85
  ...config.ignore,
82
86
  '**/*.test.ts',
83
87
  '**/*.spec.ts',
@@ -171,5 +175,5 @@ function getFixSuggestion(file, content) {
171
175
  if (content.includes('AuthenticatedRequest') || content.includes('req.userToken')) {
172
176
  return `User context available — use adminDB(req) or userDB(req) instead of createClient()`
173
177
  }
174
- return `Use one of: adminDB(req), userDB(req), publicDB(), superadminDB(req), or systemDB(context)`
178
+ return `Use one of: adminDB(req), userDB(req), publicDB(), superadminDB(req), or systemDB(context). See: stella_howto_get slug="tetra-architecture-guide"`
175
179
  }
@@ -154,7 +154,7 @@ export async function run(config, projectRoot) {
154
154
  severity: 'critical',
155
155
  message: `BLOCKED: Frontend code has direct Supabase ${pattern.desc}. Move to backend API endpoint.`,
156
156
  snippet: line.trim().substring(0, 120),
157
- fix: `Create a backend API endpoint and call it via fetch() or your API client instead.`
157
+ fix: `Create a backend route+controller+service, use adminDB(req), and call via apiClient.get() from frontend. See: stella_howto_get slug="tetra-architecture-guide" for the complete migration pattern.`
158
158
  })
159
159
  results.summary.critical++
160
160
  results.summary.total++
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soulbatical/tetra-dev-toolkit",
3
- "version": "1.10.0",
3
+ "version": "1.10.2",
4
4
  "publishConfig": {
5
5
  "access": "restricted"
6
6
  },