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: compile lingui files to mjs
Brad Barbind5e0cec3ac83
diff --git a/apps/erp/Dockerfile b/apps/erp/Dockerfileindex fa7270bd81..fe37d03850 100644--- a/apps/erp/Dockerfile+++ b/apps/erp/Dockerfile@@ -14,7 +14,7 @@ FROM deps AS buildARG NODE_OPTIONSENV NODE_OPTIONS=${NODE_OPTIONS:-"--max-old-space-size=8192"}# Build only ERP and its deps-RUN npx lingui compile+RUN npx lingui compile --namespace esRUN npx turbo run build --filter=./apps/erpFROM node:20-slimdiff --git a/apps/erp/package.json b/apps/erp/package.jsonindex 69572426c7..cbaa53eeba 100644--- a/apps/erp/package.json+++ b/apps/erp/package.json@@ -130,7 +130,7 @@},"private": true,"scripts": {- "build": "lingui compile --config ../../lingui.config.js && react-router build",+ "build": "lingui compile --config ../../lingui.config.js --namespace es && react-router build","clean": "rimraf .cache .turbo node_modules dist build","dev": "react-router dev","dev:novu": "npx novu@latest dev --port 3000",diff --git a/apps/mes/Dockerfile b/apps/mes/Dockerfileindex 91a6c57567..3d15fe23f0 100644--- a/apps/mes/Dockerfile+++ b/apps/mes/Dockerfile@@ -14,7 +14,7 @@ FROM deps AS buildARG NODE_OPTIONSENV NODE_OPTIONS=${NODE_OPTIONS:-"--max-old-space-size=4096"}# Build only MES and its deps-RUN npx lingui compile+RUN npx lingui compile --namespace esRUN npx turbo run build --filter=./apps/mesFROM node:20-slimdiff --git a/apps/mes/package.json b/apps/mes/package.jsonindex 11f9899d38..c6fc3c45cc 100644--- a/apps/mes/package.json+++ b/apps/mes/package.json@@ -68,7 +68,7 @@},"private": true,"scripts": {- "build": "lingui compile --config ../../lingui.config.js && react-router build",+ "build": "lingui compile --config ../../lingui.config.js --namespace es && react-router build","clean": "rimraf .cache .turbo node_modules dist build","dev": "react-router dev","lint": "biome lint --write ",diff --git a/package.json b/package.jsonindex e7d8ff84f2..da09f760f7 100755--- a/package.json+++ b/package.json@@ -68,7 +68,7 @@"generate:types": "tsx scripts/generate-db-types.ts","lint": "turbo run lint","lingui:check": "npm run lingui:extract && npm run lingui:compile",- "lingui:compile": "lingui compile",+ "lingui:compile": "lingui compile --namespace es","lingui:extract": "lingui extract --clean","novu:sync": "npx novu@latest sync --bridge-url https://app.carbon.ms/api/novu --secret-key $NOVU_SECRET_KEY --api-url https://api.novu.co","postdb:build": "run-s generate:types generate:swagger",