create-apexjs 0.6.11 → 0.6.12

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/index.js +12 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -162,6 +162,18 @@ var main = defineCommand({
162
162
  `
163
163
  );
164
164
  }
165
+ if (applied.length) {
166
+ console.log(` Installing feature dependencies with ${c.cyan(pm)}\u2026
167
+ `);
168
+ const installArgs = pm === "npm" ? ["install", "--no-audit", "--no-fund"] : ["install"];
169
+ if (!run(pm, installArgs, target)) {
170
+ console.log(
171
+ `
172
+ ${c.yellow("\u26A0")} Feature dependency install failed \u2014 run ${c.cyan(`${pm} install`)} in the app.
173
+ `
174
+ );
175
+ }
176
+ }
165
177
  } else {
166
178
  console.log(
167
179
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-apexjs",
3
- "version": "0.6.11",
3
+ "version": "0.6.12",
4
4
  "description": "Scaffold a new Apex JS app",
5
5
  "type": "module",
6
6
  "license": "MIT",