gridsum-vue3-pc 1.0.0 → 1.0.2
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/bin/create-vue3-pc.mjs +2 -1
- package/package.json +1 -1
package/bin/create-vue3-pc.mjs
CHANGED
|
@@ -171,6 +171,7 @@ function runCommandAsync(command, options = {}) {
|
|
|
171
171
|
...options,
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
+
child.stdout.on('data', () => {});
|
|
174
175
|
let stderr = '';
|
|
175
176
|
child.stderr.on('data', (chunk) => { stderr += chunk.toString(); });
|
|
176
177
|
|
|
@@ -203,7 +204,7 @@ function tryGitInit(root) {
|
|
|
203
204
|
try {
|
|
204
205
|
spawn.sync('git', ['init'], { cwd: root, stdio: 'ignore' });
|
|
205
206
|
spawn.sync('git', ['add', '.'], { cwd: root, stdio: 'ignore' });
|
|
206
|
-
spawn.sync('git', ['commit', '-m', 'Initial project scaffolded by gridsum-vue3-pc'], {
|
|
207
|
+
spawn.sync('git', ['-c', 'user.name=gridsum-vue3-pc', '-c', 'user.email=gridsum-vue3-pc@local', 'commit', '-m', 'Initial project scaffolded by gridsum-vue3-pc'], {
|
|
207
208
|
cwd: root,
|
|
208
209
|
stdio: 'ignore',
|
|
209
210
|
});
|