wyt-cli 1.0.23 → 1.0.24

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.
@@ -267,7 +267,7 @@ function runDocsProjects(commandEnv) {
267
267
  'VitePress Docs', // 新终端窗口的标题
268
268
  'cmd',
269
269
  '/k',
270
- `cd ${docsPath} && vitepress dev --port 7000`, // 在新窗口中执行的命令
270
+ `cd ${docsPath} && npm run dev`, // 在新窗口中执行的命令
271
271
  ];
272
272
  } else {
273
273
  // macOS / Linux:
@@ -281,7 +281,7 @@ function runDocsProjects(commandEnv) {
281
281
  terminalArgs = [
282
282
  '-e',
283
283
  `tell application "Terminal"
284
- do script "cd ${docsPath} && vitepress dev --port 7000"
284
+ do script "cd ${docsPath} && npm run dev"
285
285
  activate
286
286
  end tell`,
287
287
  ];
package/bin/main.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  import { require } from './lib/utils.js';
3
3
  import { LOWEST_NODE_VERSION } from './lib/const.js';
4
4
  import { log_error, log_warning } from './lib/logger.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wyt-cli",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "HRP3.0 项目命令行工具",
5
5
  "main": "index.js",
6
6
  "bin": {