This commit is contained in:
2025-12-05 01:34:06 +08:00
parent b6bdfd872a
commit c018ffd422
6 changed files with 8 additions and 240 deletions

View File

@@ -1,4 +1,4 @@
import { Manager } from '@kevisual/local-app-manager/manager';
import { Manager } from '../../local-apps/src/modules/manager.ts';
import type { AssistantConfig } from '@/module/assistant/index.ts';
import { parseIfJson } from '@/module/assistant/index.ts';
import path from 'node:path';

View File

@@ -0,0 +1,3 @@
export { Pm2Manager, Pm2Opts } from "./src/modules/pm2.ts";
export { Manager } from "./src/modules/manager.ts";

View File

@@ -7,6 +7,9 @@ import './routes/list.ts';
export { app, manager, loadManager };
// @ts-ignore
const DEV_SERVER = import.meta.env?.DEV_SERVER || false;
if (DEV_SERVER) {
app
.route({

View File

@@ -28,6 +28,6 @@
},
"include": [
"typings.d.ts",
"src/**/*.ts",
"src/**/*.ts", "mod.ts",
],
}