@aspruyt/xfg 1.10.6 → 1.10.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.
|
@@ -167,12 +167,10 @@ export class RepositoryProcessor {
|
|
|
167
167
|
// Step 5c: Handle orphaned file deletion (manifest-based tracking)
|
|
168
168
|
const existingManifest = loadManifest(workDir);
|
|
169
169
|
// Build map of files with their deleteOrphaned setting
|
|
170
|
+
// Include ALL files from config, even skipped ones (createOnly + exists),
|
|
171
|
+
// so they aren't incorrectly treated as orphaned (issue #199)
|
|
170
172
|
const filesWithDeleteOrphaned = new Map();
|
|
171
173
|
for (const file of repoConfig.files) {
|
|
172
|
-
// Skip files that were excluded (createOnly + exists)
|
|
173
|
-
if (skippedFileNames.has(file.fileName)) {
|
|
174
|
-
continue;
|
|
175
|
-
}
|
|
176
174
|
filesWithDeleteOrphaned.set(file.fileName, file.deleteOrphaned);
|
|
177
175
|
}
|
|
178
176
|
// Update manifest and get list of files to delete
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aspruyt/xfg",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.9",
|
|
4
4
|
"description": "CLI tool to sync JSON, JSON5, YAML, or text configuration files across multiple Git repositories via pull requests or direct push",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|