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.
Files changed (2) hide show
  1. package/dist/module.cjs +7 -10
  2. 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 !== missingDeps.length) for (const dep of missingDeps){
1112
- const args = buildOptionalInstallArgs(pm, [
1113
- dep
1114
- ], developRoot);
1115
- const result = await runInstall(pm, args, {
1116
- cwd: developRoot,
1117
- stdio
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) {
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "dist"
25
25
  ],
26
26
  "name": "extension-create",
27
- "version": "3.9.1",
27
+ "version": "3.9.3",
28
28
  "description": "The standalone extension creation engine for Extension.js",
29
29
  "author": {
30
30
  "name": "Cezar Augusto",