devtronic 1.2.1 → 1.2.3
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 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1373,7 +1373,7 @@ Valid addons: ${validAddons.join(", ")}`);
|
|
|
1373
1373
|
p3.log.warn(`Addon "${options.addon}" requires claude-code IDE. Skipping.`);
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
|
-
if (selectedIDEs.includes("claude-code") && !options.addon && !options.yes && !options.
|
|
1376
|
+
if (selectedIDEs.includes("claude-code") && !options.addon && !options.yes && !options.preview) {
|
|
1377
1377
|
const selectedAddons = await promptForAddons();
|
|
1378
1378
|
if (p3.isCancel(selectedAddons)) {
|
|
1379
1379
|
p3.cancel("Operation cancelled");
|
|
@@ -2386,8 +2386,11 @@ async function updateCommand(options) {
|
|
|
2386
2386
|
}
|
|
2387
2387
|
}
|
|
2388
2388
|
const removedFromTemplate = [];
|
|
2389
|
+
const pluginPathPrefix = manifest.pluginPath ? manifest.pluginPath + "/" : null;
|
|
2389
2390
|
for (const [relativePath, fileInfo] of Object.entries(manifest.files)) {
|
|
2390
2391
|
if (fileInfo.ignored) continue;
|
|
2392
|
+
if (pluginPathPrefix && relativePath.startsWith(pluginPathPrefix)) continue;
|
|
2393
|
+
if (manifest.pluginPath && relativePath.startsWith(".claude-plugins/") && relativePath.endsWith("marketplace.json")) continue;
|
|
2391
2394
|
let foundInAnyTemplate = false;
|
|
2392
2395
|
for (const ide of manifest.selectedIDEs) {
|
|
2393
2396
|
const templateDir = join11(TEMPLATES_DIR, IDE_TEMPLATE_MAP[ide]);
|
package/package.json
CHANGED