neo-cmp-cli 1.7.10 → 1.7.11

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": "neo-cmp-cli",
3
- "version": "1.7.10",
3
+ "version": "1.7.11",
4
4
  "description": "前端脚手架:自定义组件开发工具,支持react 和 vue2.0技术栈。",
5
5
  "keywords": [
6
6
  "neo-cli",
@@ -66,11 +66,12 @@ module.exports = function (projectPath, options = {}) {
66
66
  console.log('\n' + '='.repeat(60));
67
67
  console.log('💡 提示:要切换到新建项目目录,请执行以下命令:');
68
68
  console.log(`\n cd ${projectName} \n`);
69
- console.log(`\n neo open -n ${projectName} \n`);
70
69
  console.log('='.repeat(60));
71
70
  console.log('\n📝 说明1:组件开发工具(neo-cmp-cli)无法直接改变当前命令窗口工作目录,');
72
71
  console.log(` 您需要手动执行上述命令才能进入刚创建的自定义组件项目(${projectName})。`);
73
- console.log(`\n📝 说明2:组件开发工具(neo-cmp-cli)默认自动打开编辑器(neo open -n ${projectName})。\n`);
72
+ console.log(
73
+ `\n📝 说明2:组件开发工具(neo-cmp-cli)默认自动打开编辑器(cursor 或 vscode): neo open -n ${projectName}。\n`
74
+ );
74
75
 
75
76
  // 自动打开 IDE编辑器(异步执行,不需要等待)
76
77
  openProject('auto', projectPath).catch((error) => {
@@ -1,7 +1,7 @@
1
1
  const { execSync } = require('child_process');
2
2
 
3
3
  // 所有需要废弃的版本(1.6.2 之前的所有版本)
4
- const versionsToDeprecate = ["1.7.5", "1.7.5-beta.1", "1.7.5-beta.2", "1.7.6", "1.7.7", "1.7.8", "1.7.9"];
4
+ const versionsToDeprecate = ["1.7.5", "1.7.5-beta.1", "1.7.5-beta.2", "1.7.6", "1.7.7", "1.7.8", "1.7.9", "1.7.10"];
5
5
 
6
6
  const packageName = 'neo-cmp-cli';
7
7
  const deprecateMessage = '此版本为开发中版本(存在 bug),请升级到最新版本。';