create-cellsweb-rpc-api 1.0.7 → 1.0.8

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/bin/create.js +3 -1
  2. package/package.json +1 -1
package/bin/create.js CHANGED
@@ -213,7 +213,9 @@ async function main() {
213
213
  // ── 8. Install ────────────────────────────────────────────────────────────
214
214
  console.log(` ${dim("Installing dependencies with")} ${bold(pm)} ...\n`);
215
215
  try {
216
- execSync(`${pm} install`, { cwd: targetDir, stdio: "inherit" });
216
+ const installCmd =
217
+ pm === "pnpm" ? "pnpm install --config.onlyBuiltDependencies=esbuild" : `${pm} install`;
218
+ execSync(installCmd, { cwd: targetDir, stdio: "inherit" });
217
219
  } catch {
218
220
  console.log(` ${yellow("⚠")} Install failed — run ${bold(`${pm} install`)} manually.\n`);
219
221
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cellsweb-rpc-api",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },