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
fix: generate script
Sidwebworksfe06a71a10fd
diff --git a/.husky/pre-commit b/.husky/pre-commitindex 46a2cb621e..a9d5d17401 100755--- a/.husky/pre-commit+++ b/.husky/pre-commit@@ -6,20 +6,20 @@ npx lint-staged# Compile lingui translations if any relevant files were modifiedif git diff --cached --name-only | grep -qE '\.(tsx?|jsx?)$|\.po$'; thenecho "Compiling translations..."- npm run lingui:check-+ pnpm lingui:check+# Strip `#:` origin refs before committing — they shift on any upstream# code edit and are the biggest PR-conflict source. They're kept in the# working dir during the translate flow (linguito needs them for LLM# context) and only stripped right before commit.- node scripts/strip-po-headers.mjs-+ pnpm lingui:clean+# Add compiled locale files to the commitgit add packages/locale/locales/**/*.pofi# Regenerate MCP tools if any .service.ts file was modifiedif git diff --cached --name-only | grep -q '\.service\.ts$'; then- npx tsx scripts/generate-mcp.ts- git add apps/erp/app/routes/api+/mcp+/lib/tools/ apps/erp/app/routes/api+/mcp+/lib/server.ts apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json llm/cache/mcp-tools-reference.md+ npx tsx scripts/generate-mcp.ts+ git add apps/erp/app/routes/api+/mcp+/lib/tools/ apps/erp/app/routes/api+/mcp+/lib/server.ts apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json llm/cache/mcp-tools-reference.mdfi\ No newline at end of filediff --git a/package.json b/package.jsonindex 4d106987fd..a250fcdc5c 100755--- a/package.json+++ b/package.json@@ -56,6 +56,7 @@"lingui:check": "pnpm run lingui:extract && pnpm run lingui:compile","lingui:compile": "lingui compile --namespace es","lingui:extract": "lingui extract --clean",+ "lingui:clean": "node ./scripts/strip-po-headers.mjs","novu:sync": "pnpm dlx novu@latest sync --bridge-url https://app.carbon.ms/api/novu --secret-key $NOVU_SECRET_KEY --api-url https://api.novu.co","prepare": "pnpm exec husky install","test": "turbo run test",