create-sparkling-app 2.0.0-rc.8 → 2.0.0
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.
|
@@ -68,16 +68,7 @@ async function initializeGitRepo(distFolder) {
|
|
|
68
68
|
(0, verbose_1.verboseLog)(`Initializing git repository in ${distFolder}`);
|
|
69
69
|
}
|
|
70
70
|
(0, node_child_process_1.execSync)('git init', { cwd: distFolder, stdio: stdioMode });
|
|
71
|
-
|
|
72
|
-
(0, node_child_process_1.execSync)('git add .', { cwd: distFolder, stdio: stdioMode });
|
|
73
|
-
(0, node_child_process_1.execSync)('git commit -m "init: scaffolded by sparkling"', { cwd: distFolder, stdio: stdioMode });
|
|
74
|
-
s.stop('Initialized git repository');
|
|
75
|
-
console.log(ui_1.ui.success('✔ Created initial commit: "init: scaffolded by sparkling"'));
|
|
76
|
-
}
|
|
77
|
-
catch (error) {
|
|
78
|
-
s.stop('Initialized git repository');
|
|
79
|
-
console.warn(ui_1.ui.warn('Warning: Git repository initialized but initial commit failed. Configure git user.name and user.email, then run "git add . && git commit -m \"init: scaffolded by sparkling\"" manually.'));
|
|
80
|
-
}
|
|
71
|
+
s.stop('Initialized git repository');
|
|
81
72
|
}
|
|
82
73
|
catch (error) {
|
|
83
74
|
s.stop('Failed to initialize git repository');
|