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.
@@ -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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gridsum-vue3-pc",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Gridsum Vue3 Vite PC Template Generator - 快速生成基于 Vue3 + Vite + TypeScript 的企业级 PC 端项目",
5
5
  "type": "module",
6
6
  "sideEffects": false,