@imksh/create 1.0.7 → 1.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imksh/create",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "A production-ready create for scaffolding modern applications.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,6 +16,6 @@ export async function installPackages(targetDir) {
16
16
  stdio: "inherit"
17
17
  });
18
18
  } catch (err) {
19
- throw new Error(`Failed to run ${packageManager} install`);
19
+ throw new Error(`Failed to run ${packageManager} install: ${err.message}`);
20
20
  }
21
21
  }
@@ -6,7 +6,7 @@ export async function runGit(targetDir) {
6
6
  execSync("git add .", { cwd: targetDir, stdio: "ignore" });
7
7
  execSync("git commit -m \"Initial commit from @imksh/cli\"", { cwd: targetDir, stdio: "ignore" });
8
8
  } catch (err) {
9
- throw new Error("Git initialization failed");
9
+ throw new Error(`Git initialization failed: ${err.message}`);
10
10
  }
11
11
  }
12
12