@company-semantics/contracts 59.0.0 → 59.1.0
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/package.json
CHANGED
|
@@ -98,8 +98,16 @@ export interface FileClusterBaseline {
|
|
|
98
98
|
stripSuffixes?: string[];
|
|
99
99
|
/** Role words to strip (e.g., 'Service', 'Handler') */
|
|
100
100
|
stripRoleWords?: string[];
|
|
101
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* Directories to ignore, **in addition to** the guard's always-ignored set
|
|
103
|
+
* (`node_modules`, `dist`, `.git`, `coverage`). This list extends the
|
|
104
|
+
* defaults; it cannot remove one (ADR-CI-215).
|
|
105
|
+
*/
|
|
102
106
|
ignoredDirectories?: string[];
|
|
107
|
+
/** Extensions the directory walk collects (default: `['.ts', '.tsx']`) */
|
|
108
|
+
extensions?: string[];
|
|
109
|
+
/** When true, violations are errors and annotations require a `reason:` suffix */
|
|
110
|
+
strict?: boolean;
|
|
103
111
|
}
|
|
104
112
|
|
|
105
113
|
/**
|
|
@@ -116,6 +124,24 @@ export interface SubdirectoryAffinityBaseline {
|
|
|
116
124
|
excludePatterns?: RegExp[];
|
|
117
125
|
/** Importer patterns to ignore */
|
|
118
126
|
ignoredImporterPatterns?: RegExp[];
|
|
119
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* Directories to ignore, **in addition to** the guard's always-ignored set
|
|
129
|
+
* (`node_modules`, `dist`, `.git`, `coverage`). This list extends the
|
|
130
|
+
* defaults; it cannot remove one (ADR-CI-215).
|
|
131
|
+
*/
|
|
120
132
|
ignoredDirectories?: string[];
|
|
133
|
+
/**
|
|
134
|
+
* Extensions the directory walk collects (default: `['.ts', '.tsx']`).
|
|
135
|
+
* Import RESOLUTION is governed by the guard's own module-graph extension
|
|
136
|
+
* list, not by this one.
|
|
137
|
+
*/
|
|
138
|
+
extensions?: string[];
|
|
139
|
+
/**
|
|
140
|
+
* Import alias prefix to repo-relative root, e.g. `{ '@/': 'src/' }`.
|
|
141
|
+
* Omit it and only relative specifiers resolve, which is what the guard did
|
|
142
|
+
* before ADR-CI-214. The trailing slash on both halves is load-bearing.
|
|
143
|
+
*/
|
|
144
|
+
aliases?: Record<string, string>;
|
|
145
|
+
/** When true, violations are errors and annotations require a `reason:` suffix */
|
|
146
|
+
strict?: boolean;
|
|
121
147
|
}
|