aiblueprint-cli 1.4.35 → 1.4.36
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/cli.js +9 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -34921,6 +34921,10 @@ async function copyConfigFromCache(cacheConfigDir, targetDir, onProgress) {
|
|
|
34921
34921
|
for (const entry of entries) {
|
|
34922
34922
|
const sourcePath = path11.join(dir, entry.name);
|
|
34923
34923
|
const relativePath = path11.relative(baseDir, sourcePath);
|
|
34924
|
+
if (entry.isDirectory() && entry.name === ".claude" && dir === baseDir) {
|
|
34925
|
+
await walk(sourcePath, sourcePath);
|
|
34926
|
+
continue;
|
|
34927
|
+
}
|
|
34924
34928
|
const targetPath = path11.join(targetDir, relativePath);
|
|
34925
34929
|
if (entry.isDirectory()) {
|
|
34926
34930
|
await import_fs_extra9.default.ensureDir(targetPath);
|
|
@@ -35014,6 +35018,11 @@ async function installProConfigs(options) {
|
|
|
35014
35018
|
if (!success) {
|
|
35015
35019
|
throw new Error("Failed to download premium configurations");
|
|
35016
35020
|
}
|
|
35021
|
+
const dotClaudeDir = path11.join(tempDir, ".claude");
|
|
35022
|
+
if (await import_fs_extra9.default.pathExists(dotClaudeDir)) {
|
|
35023
|
+
await import_fs_extra9.default.copy(dotClaudeDir, tempDir, { overwrite: true });
|
|
35024
|
+
await import_fs_extra9.default.remove(dotClaudeDir);
|
|
35025
|
+
}
|
|
35017
35026
|
await import_fs_extra9.default.copy(tempDir, claudeFolder, {
|
|
35018
35027
|
overwrite: true
|
|
35019
35028
|
});
|