feat: add notification microservices and transactional outbox
Deploy To Ghaymah / quality (push) Has been cancelled
Deploy To Ghaymah / deploy (push) Has been cancelled

This commit is contained in:
boutmoun123
2026-08-05 14:46:12 +03:00
parent 2fd5322ef7
commit 8147f3b191
62 changed files with 2212 additions and 126 deletions
+13
View File
@@ -0,0 +1,13 @@
const { copyFileSync, existsSync } = require('node:fs');
const { join } = require('node:path');
const projectRoot = join(__dirname, '..');
const legacyBundle = join(projectRoot, 'dist', 'legacy', 'src', 'main.js');
const legacyShim = join(projectRoot, 'scripts', 'legacy-main.js');
const legacyEntry = join(projectRoot, 'dist', 'main.js');
if (!existsSync(legacyBundle)) {
throw new Error(`Legacy monolith bundle not found: ${legacyBundle}`);
}
copyFileSync(legacyShim, legacyEntry);
+3
View File
@@ -0,0 +1,3 @@
const { bootstrap } = require('./legacy/src/main');
void bootstrap();