Skip to content

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.

fix: precommit and turbo config

Sidwebworks941a8edc8b84
diff --git a/.husky/pre-commit b/.husky/pre-commit
index a49b292e6d..678f2a7e61 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -9,7 +9,7 @@ if git diff --cached --name-only | grep -qE '\.(tsx?|jsx?)$|\.po$'; then
npm run lingui:compile
# Add compiled locale files to the commit
- git add packages/locale/locales/**/*.mjs packages/locale/locales/**/*.po
+ git add packages/locale/locales/**/*.po
fi
# Regenerate MCP tools if any .service.ts file was modified
diff --git a/turbo.json b/turbo.json
index b74c37abe3..151a39ea29 100644
--- a/turbo.json
+++ b/turbo.json
@@ -2,6 +2,7 @@
"$schema": "https://turborepo.org/schema.json",
"tasks": {
"build": {
+ "dependsOn": ["^build", "//#lingui:compile"],
"outputs": [
"dist/**",
"build/**",
@@ -9,12 +10,7 @@
"public/build/**",
".next/**",
"!.next/cache/**"
- ],
- "dependsOn": ["^build", "//#lingui:compile"]
- },
- "carbon#build": {
- "dependsOn": ["^build", "//#lingui:compile"],
- "outputs": ["api/index.js", "api/build/**", "public/build/**"]
+ ]
},
"//#lingui:compile": {
"inputs": [