commit-pack 1.2.2 → 1.2.3
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/README.md +1 -1
- package/bin/index.mjs +7 -1
- package/lib/index.mjs +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/bin/index.mjs
CHANGED
|
@@ -360,12 +360,18 @@ try {
|
|
|
360
360
|
fs.writeFileSync(initFlagPath, 'initialized', 'utf8')
|
|
361
361
|
console.log(log.success(' 🎉🎉🎉 完成啦!'))
|
|
362
362
|
console.log('')
|
|
363
|
+
console.log('')
|
|
364
|
+
console.log(
|
|
365
|
+
' 📦 欢迎在仓库中反馈问题或参与改进 https://github.com/Jett191/commit-pack'
|
|
366
|
+
)
|
|
367
|
+
console.log('')
|
|
368
|
+
console.log('')
|
|
363
369
|
if (workspaceName) {
|
|
364
370
|
console.log(
|
|
365
371
|
` 在 ${workspaceName} 工作空间中,运行: git add . && ${packageManager} run commit`
|
|
366
372
|
)
|
|
367
373
|
} else {
|
|
368
|
-
console.log(` 运行 git add
|
|
374
|
+
console.log(` 运行 git add 后 | 运行 ${packageManager} run commit 即可`)
|
|
369
375
|
}
|
|
370
376
|
} catch (error) {
|
|
371
377
|
console.error(log.error('❌ 初始化过程中发生错误,正在执行回滚...'))
|
package/lib/index.mjs
CHANGED
|
@@ -317,10 +317,14 @@ try {
|
|
|
317
317
|
_fs.default.writeFileSync(initFlagPath, 'initialized', 'utf8');
|
|
318
318
|
console.log(_chalkColor.log.success(' 🎉🎉🎉 完成啦!'));
|
|
319
319
|
console.log('');
|
|
320
|
+
console.log('');
|
|
321
|
+
console.log(' 📦 欢迎在仓库中反馈问题或参与改进 https://github.com/Jett191/commit-pack');
|
|
322
|
+
console.log('');
|
|
323
|
+
console.log('');
|
|
320
324
|
if (workspaceName) {
|
|
321
325
|
console.log(` 在 ${workspaceName} 工作空间中,运行: git add . && ${packageManager} run commit`);
|
|
322
326
|
} else {
|
|
323
|
-
console.log(` 运行 git add
|
|
327
|
+
console.log(` 运行 git add 后 | 运行 ${packageManager} run commit 即可`);
|
|
324
328
|
}
|
|
325
329
|
} catch (error) {
|
|
326
330
|
console.error(_chalkColor.log.error('❌ 初始化过程中发生错误,正在执行回滚...'));
|