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: include erp url and mes url in the browser environment
Brad Barbin2a282db7b727
diff --git a/apps/erp/app/root.tsx b/apps/erp/app/root.tsxindex 1c18d903ed..fe52d8b4f5 100644--- a/apps/erp/app/root.tsx+++ b/apps/erp/app/root.tsx@@ -62,8 +62,10 @@ export async function loader({ request, context }: LoaderFunctionArgs) {CARBON_EDITION,CLOUDFLARE_TURNSTILE_SITE_KEY,CONTROLLED_ENVIRONMENT,+ ERP_URL,GOOGLE_PLACES_API_KEY,JIRA_CLIENT_ID,+ MES_URL,NOVU_APPLICATION_ID,ONSHAPE_CLIENT_ID,POSTHOG_API_HOST,@@ -84,8 +86,10 @@ export async function loader({ request, context }: LoaderFunctionArgs) {CARBON_EDITION,CLOUDFLARE_TURNSTILE_SITE_KEY,CONTROLLED_ENVIRONMENT,+ ERP_URL,GOOGLE_PLACES_API_KEY,JIRA_CLIENT_ID,+ MES_URL,NOVU_APPLICATION_ID,ONSHAPE_CLIENT_ID,POSTHOG_API_HOST,diff --git a/apps/mes/app/root.tsx b/apps/mes/app/root.tsxindex 1bb0b7b3e6..6088660802 100644--- a/apps/mes/app/root.tsx+++ b/apps/mes/app/root.tsx@@ -57,6 +57,8 @@ export async function loader({ request }: LoaderFunctionArgs) {const {CARBON_EDITION,CONTROLLED_ENVIRONMENT,+ ERP_URL,+ MES_URL,POSTHOG_API_HOST,POSTHOG_PROJECT_PUBLIC_KEY,SUPABASE_URL,@@ -72,6 +74,8 @@ export async function loader({ request }: LoaderFunctionArgs) {env: {CARBON_EDITION,CONTROLLED_ENVIRONMENT,+ ERP_URL,+ MES_URL,POSTHOG_API_HOST,POSTHOG_PROJECT_PUBLIC_KEY,SUPABASE_URL,diff --git a/packages/auth/src/config/env.ts b/packages/auth/src/config/env.tsindex daf7a8bc27..089475b9df 100644--- a/packages/auth/src/config/env.ts+++ b/packages/auth/src/config/env.ts@@ -354,18 +354,20 @@ export function getMESUrl() {export function getBrowserEnv() {return {CARBON_EDITION,- CONTROLLED_ENVIRONMENT,CLOUDFLARE_TURNSTILE_SITE_KEY,+ CONTROLLED_ENVIRONMENT,+ ERP_URL,GOOGLE_PLACES_API_KEY,JIRA_CLIENT_ID,- POSTHOG_API_HOST,- POSTHOG_PROJECT_PUBLIC_KEY,+ MES_URL,NODE_ENV,NOVU_APPLICATION_ID,ONSHAPE_CLIENT_ID,+ POSTHOG_API_HOST,+ POSTHOG_PROJECT_PUBLIC_KEY,QUICKBOOKS_CLIENT_ID,- SUPABASE_URL,SUPABASE_ANON_KEY,+ SUPABASE_URL,VERCEL_ENV,VERCEL_URL,XERO_CLIENT_ID