refactor: organize source web and tests by business module

This commit is contained in:
abaishu0730 committed 2026-10-19 08:45:51 +08:00
1 parent 9854d2d5c2
commit 2aed328774
113 files changed
+189 -183

No files matched your search

+3 -3
View File
@@ -3,9 +3,9 @@ const crypto=require('node:crypto');
const fs=require('node:fs');
const os=require('node:os');
const path=require('node:path');
const {Store}=require('../src/dashboard-store.cjs');
const {WorkspaceStore}=require('../src/workspace-store.cjs');
const {createDashboard}=require('../src/dashboard.cjs');
const {Store}=require('../src/modules/dashboard/store.cjs');
const {WorkspaceStore}=require('../src/modules/workspace/store.cjs');
const {createDashboard}=require('../src/app/dashboard.cjs');
async function startPreview({stateDir=path.join(process.env.LOCALAPPDATA || os.homedir(),'OrderNotificationAutomation','preview'),port=18776}={}) {
fs.mkdirSync(stateDir,{recursive:true});