@yorha2b-lab/autodev 2.0.4 → 2.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yorha2b-lab/autodev",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "基于视觉大模型的前端(react+Antd)全自动 CRUD 代码生成器",
5
5
  "bin": {
6
6
  "autodev": "bin/autodev.js"
@@ -40,10 +40,10 @@ module.exports = async (filePath, context) => {
40
40
 
41
41
  let pageConfig
42
42
  if (config.useDemo) {
43
- spinner.text = chalk.yellow(language(
44
- `🤖 Pod 042: [警告] 拦截到实弹请求。正在空投标准模拟包: example.json`,
45
- `🤖 Pod 042: [Warning] Real-fire request intercepted. Dropping simulation package: example.json`
46
- ))
43
+ console.log(chalk.yellow(language(
44
+ `\n🤖 Pod 042: [报告] 拦截到实弹请求。正在空投标准模拟包: example.json\n`,
45
+ `\n🤖 Pod 042: [Report] Real-fire request intercepted. Dropping simulation package: example.json\n`
46
+ )))
47
47
  pageConfig = require(path.join(__dirname, '../../../example/example.json'))
48
48
  } else {
49
49
  spinner.text = chalk.cyan(language(
@@ -94,6 +94,7 @@ const matrixEffect = (duration = 1500) => {
94
94
  if (Date.now() > endTime) {
95
95
  clearInterval(interval)
96
96
  console.log(chalk.white(' [System] ') + chalk.green(language('所有构筑数据已同步至 Bunker 存储节点。', 'All data synced to Bunker storage nodes.')))
97
+ console.log(chalk.cyan(language('如果它能帮您节省时间,请在 GitHub 上给它点个赞 ⭐。', 'If it saves you time, feel free to give it a ⭐ on GitHub.')))
97
98
  console.log(chalk.cyan('\n[System] Signal Lost. Glory to Mankind.\n'))
98
99
  process.exit(0)
99
100
  return