@rayburst/cli 0.4.5 → 0.4.6
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.
|
@@ -944,8 +944,12 @@ async function analyzeProject(projectPath, projectId, onLog) {
|
|
|
944
944
|
edges
|
|
945
945
|
};
|
|
946
946
|
log(" Checking for changed files vs remote...");
|
|
947
|
-
const
|
|
948
|
-
log(` Found ${
|
|
947
|
+
const allChangedFiles = getChangedFilesVsRemote(projectPath);
|
|
948
|
+
log(` Found ${allChangedFiles.length} changed files`);
|
|
949
|
+
const changedFiles = allChangedFiles.filter((filePath) => {
|
|
950
|
+
return !filePath.includes("node_modules") && !filePath.includes(".test.") && !filePath.includes(".spec.") && (filePath.endsWith(".ts") || filePath.endsWith(".tsx") || filePath.endsWith(".js") || filePath.endsWith(".jsx"));
|
|
951
|
+
});
|
|
952
|
+
log(` Filtered to ${changedFiles.length} analyzed source files`);
|
|
949
953
|
const changedFilesMetadata = [];
|
|
950
954
|
for (const filePath of changedFiles) {
|
|
951
955
|
try {
|
package/dist/index.js
CHANGED
package/dist/vite-plugin.js
CHANGED