befly 3.4.1 → 3.4.2
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/commands/syncMenu.ts +2 -2
- package/package.json +2 -2
package/commands/syncMenu.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { Logger } from '../lib/logger.js';
|
|
|
18
18
|
import { Database } from '../lib/database.js';
|
|
19
19
|
import { join } from 'pathe';
|
|
20
20
|
import { existsSync } from 'node:fs';
|
|
21
|
-
import {
|
|
21
|
+
import { coreDir, projectDir } from '../paths.js';
|
|
22
22
|
|
|
23
23
|
interface SyncMenuOptions {
|
|
24
24
|
plan?: boolean;
|
|
@@ -296,7 +296,7 @@ export async function syncMenuCommand(options: SyncMenuOptions = {}) {
|
|
|
296
296
|
// 1. 读取两个配置文件
|
|
297
297
|
Logger.info('=== 步骤 1: 读取菜单配置文件 ===');
|
|
298
298
|
const projectMenuPath = join(projectDir, 'menu.json');
|
|
299
|
-
const coreMenuPath = join(
|
|
299
|
+
const coreMenuPath = join(coreDir, 'menu.json');
|
|
300
300
|
|
|
301
301
|
Logger.info(` 项目路径: ${projectMenuPath}`);
|
|
302
302
|
Logger.info(` core 路径: ${coreMenuPath}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "befly",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.2",
|
|
4
4
|
"description": "Befly - 为 Bun 专属打造的 TypeScript API 接口框架核心引擎",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"ora": "^9.0.0",
|
|
82
82
|
"pathe": "^2.0.3"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "62974502c25562f83b840c5fe1d831dbf6476255"
|
|
85
85
|
}
|