@aiready/context-analyzer 0.21.10 → 0.21.12

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.
@@ -59,6 +59,11 @@ export function getClassificationRecommendations(
59
59
  'Next.js App Router page detected - metadata/JSON-LD/component pattern is cohesive',
60
60
  'Multiple exports (metadata, faqJsonLd, default) serve single page purpose',
61
61
  ];
62
+ case 'spoke-module':
63
+ return [
64
+ 'Spoke module detected - intentional monorepo separation is good for modularity',
65
+ 'Ensure this spoke only exports what is necessary for the hub or other spokes',
66
+ ];
62
67
  case 'mixed-concerns':
63
68
  return [
64
69
  'Consider splitting this file by domain',
package/src/types.ts CHANGED
@@ -88,6 +88,7 @@ export type FileClassification =
88
88
  | 'email-template' // Email templates/layouts with structural cohesion
89
89
  | 'parser-file' // Parser/transformer files with single transformation purpose
90
90
  | 'nextjs-page' // Next.js App Router page with SEO/structured data exports
91
+ | 'spoke-module' // Intentional monorepo spoke package file
91
92
  | 'mixed-concerns' // Multiple domains, potential refactoring candidate
92
93
  | 'unknown'; // Unable to classify
93
94