create-audora-next 0.1.6 → 0.1.7
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/index.ts +3 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -76,6 +76,9 @@ process.chdir(targetDir);
|
|
|
76
76
|
const gitSpinner = ora("Initializing git repository...").start();
|
|
77
77
|
try {
|
|
78
78
|
execSync("git init", { stdio: "pipe" });
|
|
79
|
+
execSync('git commit --allow-empty -m "chore: initial commit"', {
|
|
80
|
+
stdio: "pipe",
|
|
81
|
+
});
|
|
79
82
|
gitSpinner.succeed("Initialized git repository");
|
|
80
83
|
} catch {
|
|
81
84
|
gitSpinner.warn("Could not initialize git repository. Is git installed?");
|