@yorha2b-lab/autodev 1.0.19 → 1.0.20

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.
Files changed (2) hide show
  1. package/bin/autodev.js +1 -1
  2. package/package.json +1 -1
package/bin/autodev.js CHANGED
@@ -3,8 +3,8 @@ const fs = require('fs')
3
3
  const path = require('path')
4
4
  const chalk = require('chalk')
5
5
  const figlet = require('figlet')
6
- const pkg = require('../package.json')
7
6
  const { program } = require('commander')
7
+ const pkg = require(path.join(__dirname, '../package.json'))
8
8
 
9
9
  console.log(chalk.cyan(figlet.textSync('AutoDev', { horizontalLayout: 'full' })))
10
10
  console.log(chalk.gray('Booting System...'))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yorha2b-lab/autodev",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "基于视觉大模型的前端(Umi+Antd)全自动 CRUD 代码生成器",
5
5
  "bin": {
6
6
  "autodev": "bin/autodev.js"