claudekit-cli 3.33.0-dev.12 → 3.33.0-dev.13
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.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45385,7 +45385,7 @@ var package_default;
|
|
|
45385
45385
|
var init_package = __esm(() => {
|
|
45386
45386
|
package_default = {
|
|
45387
45387
|
name: "claudekit-cli",
|
|
45388
|
-
version: "3.33.0-dev.
|
|
45388
|
+
version: "3.33.0-dev.13",
|
|
45389
45389
|
description: "CLI tool for bootstrapping and updating ClaudeKit projects",
|
|
45390
45390
|
type: "module",
|
|
45391
45391
|
repository: {
|
|
@@ -77776,7 +77776,7 @@ async function handleMerge(ctx) {
|
|
|
77776
77776
|
displayConflictSummary(summary);
|
|
77777
77777
|
}
|
|
77778
77778
|
try {
|
|
77779
|
-
const sourceMetadataPath = join77(sourceDir, "metadata.json");
|
|
77779
|
+
const sourceMetadataPath = ctx.options.global ? join77(sourceDir, "metadata.json") : join77(sourceDir, ".claude", "metadata.json");
|
|
77780
77780
|
if (await import_fs_extra20.pathExists(sourceMetadataPath)) {
|
|
77781
77781
|
const metadataContent = await import_fs_extra20.readFile(sourceMetadataPath, "utf-8");
|
|
77782
77782
|
const sourceMetadata = JSON.parse(metadataContent);
|
|
@@ -77792,6 +77792,8 @@ async function handleMerge(ctx) {
|
|
|
77792
77792
|
logger.verbose(`Preserved ${deletionResult.preservedPaths.length} user-owned file(s)`);
|
|
77793
77793
|
}
|
|
77794
77794
|
}
|
|
77795
|
+
} else {
|
|
77796
|
+
logger.debug(`No source metadata found at ${sourceMetadataPath}, skipping deletions`);
|
|
77795
77797
|
}
|
|
77796
77798
|
} catch (error) {
|
|
77797
77799
|
logger.debug(`Cleanup of deprecated files failed: ${error}`);
|