extension-create 3.9.1 → 3.9.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/module.cjs +7 -10
- package/package.json +1 -1
package/dist/module.cjs
CHANGED
|
@@ -1108,16 +1108,13 @@ async function installOptionalDependencies(developRoot, projectPath, plan) {
|
|
|
1108
1108
|
]);
|
|
1109
1109
|
const installMessage = baseMessage.replace('►►► ', `►►► [${index + 1}/${plan.integrations.length}] `);
|
|
1110
1110
|
console.log(installMessage);
|
|
1111
|
-
if (0
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
});
|
|
1119
|
-
if (0 !== result.code) throw new Error(installingDependenciesFailed(pm, args, result.code));
|
|
1120
|
-
}
|
|
1111
|
+
if (0 === missingDeps.length) continue;
|
|
1112
|
+
const args = buildOptionalInstallArgs(pm, missingDeps, developRoot);
|
|
1113
|
+
const result = await runInstall(pm, args, {
|
|
1114
|
+
cwd: developRoot,
|
|
1115
|
+
stdio
|
|
1116
|
+
});
|
|
1117
|
+
if (0 !== result.code) throw new Error(installingDependenciesFailed(pm, args, result.code));
|
|
1121
1118
|
}
|
|
1122
1119
|
}
|
|
1123
1120
|
async function installInternalDependencies(projectPath) {
|