Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
build: upgrade novu package for better eu support
Brad Barbine0b662b4b33c
diff --git a/apps/erp/app/hooks/useNotifications.tsx b/apps/erp/app/hooks/useNotifications.tsxindex e24f2a9767..8755ed70a9 100644--- a/apps/erp/app/hooks/useNotifications.tsx+++ b/apps/erp/app/hooks/useNotifications.tsx@@ -129,12 +129,11 @@ export function useNotifications({useEffect(() => {if (subscriberId && !headlessServiceRef.current) {+ const isEu = NOVU_API_URL.includes("eu.");const headlessService = new HeadlessService({applicationIdentifier: NOVU_APPLICATION_ID!,- backendUrl: NOVU_API_URL,- socketUrl: NOVU_API_URL.includes("eu.")- ? "wss://eu.socket.novu.co"- : undefined,+ backendUrl: isEu ? "https://eu.api.novu.co" : "https://api.novu.co",+ socketUrl: isEu ? "wss://eu.socket.novu.co" : undefined, // ← base only, no /socket.iosubscriberId});diff --git a/apps/erp/package.json b/apps/erp/package.jsonindex 84802ec1e6..a299dc28ac 100644--- a/apps/erp/package.json+++ b/apps/erp/package.json@@ -31,9 +31,9 @@"@marsidev/react-turnstile": "^1.1.0","@monaco-editor/react": "^4.6.0","@nanostores/react": "^0.7.1",- "@novu/framework": "^2.3.0",- "@novu/headless": "^2.0.0",- "@novu/node": "^2.0.1",+ "@novu/framework": "^2.10.0",+ "@novu/headless": "^2.7.0",+ "@novu/node": "^2.6.6","@react-aria/i18n": "^3.11.0","@react-email/components": "0.3.3","@react-router/dev": "7.12.0",