@aiready/core 0.7.5 → 0.7.9
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/dist/index.d.mts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -85,6 +85,16 @@ interface Report {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
declare const DEFAULT_EXCLUDE: string[];
|
|
88
|
+
/**
|
|
89
|
+
* Scan files in a directory using glob patterns
|
|
90
|
+
*
|
|
91
|
+
* Note: This scanner includes multiple language file types by default (.ts, .tsx, .js, .jsx, .py, .java)
|
|
92
|
+
* to support potential multi-language analysis in the future. Individual tools (like @aiready/consistency)
|
|
93
|
+
* should filter to their supported languages before processing.
|
|
94
|
+
*
|
|
95
|
+
* @param options - Scan configuration
|
|
96
|
+
* @returns Array of absolute file paths matching the patterns
|
|
97
|
+
*/
|
|
88
98
|
declare function scanFiles(options: ScanOptions): Promise<string[]>;
|
|
89
99
|
declare function readFileContent(filePath: string): Promise<string>;
|
|
90
100
|
declare function getFileExtension(filePath: string): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -85,6 +85,16 @@ interface Report {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
declare const DEFAULT_EXCLUDE: string[];
|
|
88
|
+
/**
|
|
89
|
+
* Scan files in a directory using glob patterns
|
|
90
|
+
*
|
|
91
|
+
* Note: This scanner includes multiple language file types by default (.ts, .tsx, .js, .jsx, .py, .java)
|
|
92
|
+
* to support potential multi-language analysis in the future. Individual tools (like @aiready/consistency)
|
|
93
|
+
* should filter to their supported languages before processing.
|
|
94
|
+
*
|
|
95
|
+
* @param options - Scan configuration
|
|
96
|
+
* @returns Array of absolute file paths matching the patterns
|
|
97
|
+
*/
|
|
88
98
|
declare function scanFiles(options: ScanOptions): Promise<string[]>;
|
|
89
99
|
declare function readFileContent(filePath: string): Promise<string>;
|
|
90
100
|
declare function getFileExtension(filePath: string): string;
|
package/dist/index.js
CHANGED
|
@@ -93,6 +93,7 @@ async function scanFiles(options) {
|
|
|
93
93
|
const {
|
|
94
94
|
rootDir,
|
|
95
95
|
include = ["**/*.{ts,tsx,js,jsx,py,java}"],
|
|
96
|
+
// Broad default - tools should filter further
|
|
96
97
|
exclude
|
|
97
98
|
} = options;
|
|
98
99
|
const finalExclude = exclude ? [.../* @__PURE__ */ new Set([...DEFAULT_EXCLUDE, ...exclude])] : DEFAULT_EXCLUDE;
|
package/dist/index.mjs
CHANGED
|
@@ -50,6 +50,7 @@ async function scanFiles(options) {
|
|
|
50
50
|
const {
|
|
51
51
|
rootDir,
|
|
52
52
|
include = ["**/*.{ts,tsx,js,jsx,py,java}"],
|
|
53
|
+
// Broad default - tools should filter further
|
|
53
54
|
exclude
|
|
54
55
|
} = options;
|
|
55
56
|
const finalExclude = exclude ? [.../* @__PURE__ */ new Set([...DEFAULT_EXCLUDE, ...exclude])] : DEFAULT_EXCLUDE;
|